Get-SCNetworkConnection
获取网络连接。
语法
Get-SCNetworkConnection
[-VMMServer <ServerConnection>]
[-All]
[<CommonParameters>]
Get-SCNetworkConnection
[-VMMServer <ServerConnection>]
-Service <NetworkService>
[<CommonParameters>]
Get-SCNetworkConnection
[-VMMServer <ServerConnection>]
-ID <Guid>
[<CommonParameters>]
说明
Get-SCNetworkConnection cmdlet 获取一个或多个网络服务连接。
参数
-All
指示此 cmdlet 获取与父对象无关的所有从属对象。
例如,该命令 Get-SCVirtualDiskDrive -All
获取所有虚拟磁盘驱动器对象,而不考虑每个虚拟磁盘驱动器对象关联的虚拟机对象或模板对象。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ID
将数字标识符指定为特定对象的全局唯一标识符或 GUID。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Service
指定网络服务对象。
Type: | NetworkService |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
指定 Virtual Machine Manager (VMM) 服务器对象。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |