Get-SbecForwarding
Get-SbecForwarding is accessible with the help of BootEventCollector module. To configure BootEventCollector, go through this link.
Synopsis
Gets the current connections and how data is forwarded.
Description
The Get-SbecForwarding cmdlet get the current connections and how data is forwarded from the Setup and Boot Event Collector. It returns one object for each connection.
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-SbecForwarding [[-ComputerName] <String[]>] [[-CimSession] <CimSession[]>] [<CommonParameters>]
—————–Example 1—————–
Get how data is forwarded
PS C:\> $x = @(Get-SbecForwarding)
This command gets the forwarding information, and then stores it in the $x variable.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Get-SbecForwarding
You can also read about
- Get-SbecDestination
- Get-SbecHistory
To know more PowerShell cmdlets(Commands) on BootEventCollector click here