Set-CMVhd
Set-CMVhd
Modifies VHD images.
構文
Parameter Set: SetById
Set-CMVhd -PackageID <String[]> [-Description <String> ] [-DistributionPointServerNames <String[]> ] [-NewName <String> ] [-Path <String> ] [-SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} ] [-SecurityScopeName <String> ] [-TaskSequencePackageId <String> ] [-Version <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetByName
Set-CMVhd -Name <String[]> [-Description <String> ] [-DistributionPointServerNames <String[]> ] [-NewName <String> ] [-Path <String> ] [-SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} ] [-SecurityScopeName <String> ] [-TaskSequencePackageId <String> ] [-Version <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetByValue
Set-CMVhd -InputObject <IResultObject> [-Description <String> ] [-DistributionPointServerNames <String[]> ] [-NewName <String> ] [-Path <String> ] [-SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} ] [-SecurityScopeName <String> ] [-TaskSequencePackageId <String> ] [-Version <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSecurityScopeById
Set-CMVhd -SecuredScopeNames <String[]> [-Description <String> ] [-DistributionPointServerNames <String[]> ] [-NewName <String> ] [-PackageID <String[]> ] [-Path <String> ] [-SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} ] [-SecurityScopeName <String> ] [-TaskSequencePackageId <String> ] [-Version <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetSecurityScopeByName
Set-CMVhd -SecuredScopeNames <String[]> [-Description <String> ] [-DistributionPointServerNames <String[]> ] [-Name <String[]> ] [-NewName <String> ] [-Path <String> ] [-SecurityScopeAction <SecurityScopeActionType> {AddMembership | RemoveMembership} ] [-SecurityScopeName <String> ] [-TaskSequencePackageId <String> ] [-Version <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-CMVhd cmdlet modifies one or more virtual hard disk (VHD) images that were created through the operating system deployment feature.
パラメーター
-Description<String>
Specifies a description for the VHD.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DistributionPointServerNames<String[]>
Specifies an array of names of distribution point servers, which contain content that the task sequence requires.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InputObject<IResultObject>
Specifies a VHD image. To obtain a VHD image, use the Get-CMVhd cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue, ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Name<String[]>
Specifies an array of names of VHD images.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-NewName<String>
Specifies a new name for the VHD image.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PackageID<String[]>
Specifies an array of IDs of packages.
エイリアス |
Id |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Path<String>
Specifies a path for the VHD image.
エイリアス |
PackageSourcePath |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SecuredScopeNames<String[]>
Specifies an array of names of security scopes. A security scope name can be Default or the name of a custom-created security scope.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SecurityScopeAction<SecurityScopeActionType>
Specifies an action for a security scope. Valid values are: AddMembership and RemoveMembership.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SecurityScopeName<String>
Specifies the name of a security scope. A security scope name can be Default or the name of a custom security scope.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-TaskSequencePackageId<String>
Specifies an ID for a task sequence package.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Version<String>
Specifies a version for the VHD. Use any string.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。