Site icon TOSS

Get-SbecDestination

powershell

Get-SbecDestination is accessible with the help of BootEventCollector module. To configure BootEventCollector, go through this link.

Synopsis

Get destination data files.

Description

The Get-SbecDestination cmdlet gets the known (per the status log) destination data files.

As the forwarders create the destination files with the data, this information is recorded in the status log, if the status log is enabled. This information can then be used to present the list of all the known destination data files along with the information of who and when created then.

The status log may contain more than one entry per destination file, if this file has been overwritten more than once and the log has not been compacted since. However, this function always returns the compacted view, with only one entry per file. Some of the returned files might not exist any longer if the administrator has deleted them since the time of the last status log compaction.

If the status log is not enabled in the collector configuration, no data is returned.

Parameters

-CimSession

Runs the cmdlet on the remote computers through a remote session. Enter a session object, such as the output of a New-CimSession or Get-CimSession cmdlet, or an array of these objects. The default is to run the cmdlet on the local computer. For more information, see About_CimSession.

Type:CimSession[]
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-ComputerName

Specifies the names of the computers on which you want to perform the operation. You can specify a fully qualified domain name (FQDN), a NetBIOS name, or an IP address for each computer. For more information see Invoke-CimMethod on MSDN.

Type:String[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Syntax

Get-SbecDestination [[-ComputerName] <String[]>] [[-CimSession] <CimSession[]>] [<CommonParameters>]

—————–Example 1—————–
Get destination files
PS C:\> $x = @(Get-SbecDestination)
This command gets the destination files, and then stores them in the $x variable.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Get-SbecDestination

You can also read about

To know more PowerShell cmdlets(Commands) on BootEventCollector click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Exit mobile version