Set-SCNetworkConnection
修改網路服務連線。
Syntax
Set-SCNetworkConnection
[-VMMServer <ServerConnection>]
[-NetworkServiceConnection] <NetworkServiceConnection>
[-LogicalNetworkDefinition <LogicalNetworkDefinition>]
[-IPv4Address <String>]
[-IPv6Address <String>]
[-Description <String>]
[-Name <String>]
[-NetworkAdapter <NetworkServiceAdapterInfo>]
[-Force]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Set-SCNetworkConnection
[-VMMServer <ServerConnection>]
[-NetworkServiceConnection] <NetworkServiceConnection>
[-VMSubnet <VMSubnet>]
[-IPv4Address <String>]
[-IPv6Address <String>]
[-Description <String>]
[-Name <String>]
[-NetworkAdapter <NetworkServiceAdapterInfo>]
[-Force]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Description
Set-SCNetworkConnection Cmdlet 會修改網路服務連線。
參數
-Description
指定網路連線的描述。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
強制執行命令而不要求使用者確認。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IPv4Address
指定 IPv4 位址。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IPv6Address
指定 IPv6 位址。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
指定追蹤工作進度,並將工作進度存放在這個參數命名的變數中。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LogicalNetworkDefinition
指定邏輯網路定義 (也稱為網站) ,其中包含 IP 位址池由 Subnet 參數指定的 子網 。
Type: | LogicalNetworkDefinition |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定網路物件的名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NetworkAdapter
指定網路介面卡資訊物件。
Type: | NetworkServiceAdapterInfo |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NetworkServiceConnection
指定網路服務連線物件。
Type: | NetworkServiceConnection |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PROTipID
指定觸發此動作 (PRO 提示) 效能和資源優化提示的識別碼。 此參數可讓您稽核 PRO 秘訣。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsynchronously
表示作業會以非同步方式執行,讓控制項立即返回命令殼層。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
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 |
-VMSubnet
指定虛擬機器子網物件。
若要取得 VMSubnet 物件,請使用 Get-SCVMSubnet Cmdlet。
Type: | VMSubnet |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |