Get-SCNetworkService
取得網路服務。
Syntax
Get-SCNetworkService
[-VMMServer <ServerConnection>]
[-All]
[-ServiceType <NetworkServiceType>]
[<CommonParameters>]
Get-SCNetworkService
[-VMMServer <ServerConnection>]
[-Name <String>]
-ID <Guid>
[<CommonParameters>]
Get-SCNetworkService
[-VMMServer <ServerConnection>]
-Name <String>
[<CommonParameters>]
Description
Get-SCNetworkService 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
指定網路物件的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServiceType
指定網路服務的類型。 此參數可接受的值為:
- [未指定]
- 閘道
- LoadBalancer
- NetworkVirtualizationPolicy
- NetworkManager
- VirtualSwitchExtensionManager
- NetworkSwitch
Type: | NetworkServiceType |
Accepted values: | Unspecified, Gateway, LoadBalancer, NetworkVirtualizationPolicy, NetworkManager, VirtualSwitchExtensionManager, NetworkSwitch |
Position: | Named |
Default value: | None |
Required: | False |
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 |