Get-SCNetworkGateway
取得網路閘道物件。
Syntax
Get-SCNetworkGateway
[-VMMServer <ServerConnection>]
[-All]
[<CommonParameters>]
Get-SCNetworkGateway
[-VMMServer <ServerConnection>]
-Name <String>
[<CommonParameters>]
Get-SCNetworkGateway
[-VMMServer <ServerConnection>]
-ID <Guid>
[<CommonParameters>]
Description
Get-SCNetworkGateway 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 |
-Name
指定 Virtual Machine Manager (VMM) 物件的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
指定 VMM 伺服器物件。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |