Set-SCNetworkService
修改網路服務。
Syntax
Set-SCNetworkService
[-ProvisionSelfSignedCertificatesForNetworkService <Boolean>]
[-VMMServer <ServerConnection>]
[-NetworkService] <NetworkService>
[-Name <String>]
[-Description <String>]
[-ConnectionString <String>]
[-Manufacturer <String>]
[-Model <String>]
[-Version <String>]
[-RunAsAccount <RunAsAccount>]
[-ConfigurationProvider <ConfigurationProvider>]
[-BandwidthCapacityKBps <UInt64>]
[-RemoveBandwidthCapacity]
[-Certificate <ClientCertificate[]>]
[-AddVMHostGroup <HostGroup[]>]
[-RemoveVMHostGroup <HostGroup[]>]
[-Force]
[-AddLogicalNetworkVIP <LogicalNetwork[]>]
[-RemoveLogicalNetworkVIP <LogicalNetwork[]>]
[-AddLogicalNetworkDedicatedIP <LogicalNetwork[]>]
[-RemoveLogicalNetworkDedicatedIP <LogicalNetwork[]>]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Description
Set-SCNetworkService Cmdlet 會修改網路服務。
參數
-AddLogicalNetworkDedicatedIP
指定此 Cmdlet 新增至現有邏輯網路陣列的邏輯網路私人 IP 位址陣列。
Type: | LogicalNetwork[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AddLogicalNetworkVIP
指定此 Cmdlet 新增至現有邏輯網路陣列的邏輯網路虛擬 IP 位址陣列。
Type: | LogicalNetwork[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AddVMHostGroup
指定此 Cmdlet 新增至現有主機群組陣列或私人雲端的主機群組陣列。
Type: | HostGroup[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BandwidthCapacityKBps
指定網路服務的頻寬容量,以每秒 KB 為單位, (KBps) 。
Type: | UInt64 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Certificate
指定安全性憑證物件的陣列。
Type: | ClientCertificate[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConfigurationProvider
指定組態提供者物件。 組態提供者是 VMM 的外掛程式,可將 VMM PowerShell 命令轉譯為負載平衡器類型專屬的 API 呼叫。 如果未指定任何設定提供者,VMM 會使用製造商和型號資訊來選擇可用的組態提供者。 如果找不到組態提供者,將不會新增負載平衡器。
Type: | ConfigurationProvider |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConnectionString
指定連線至虛擬交換器擴充功能管理員所需的資訊。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-JobVariable
指定追蹤工作進度,並將工作進度存放在這個參數命名的變數中。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Manufacturer
指定制造實體裝置的公司名稱。 此參數可接受的值為:
- a-z) (字母
- 數字 (0-9)
- 底線 (_)
- 連字號 (-)
- Dot (.)
- 單引號 (')
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Model
指定實體裝置的模型。
Type: | String |
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 |
-NetworkService
指定網路服務物件。
Type: | NetworkService |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PROTipID
指定觸發此動作之 PRO 提示 (PRO 提示的識別碼) 。 此參數可讓您稽核 PRO 秘訣。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProvisionSelfSignedCertificatesForNetworkService
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveBandwidthCapacity
移除頻寬容量。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveLogicalNetworkDedicatedIP
指定此 Cmdlet 移除的邏輯網路私人 IP 位址陣列。
Type: | LogicalNetwork[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveLogicalNetworkVIP
移除邏輯網路虛擬網路虛擬網路 IP 位址。
Type: | LogicalNetwork[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveVMHostGroup
從主機群組陣列或私人雲端移除一或多個主機群組。
Type: | HostGroup[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunAsAccount
指定執行身分帳戶,其中包含具有執行此動作許可權的認證。
Type: | RunAsAccount |
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 |
-Version
指定版本。
Type: | String |
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 |