Install-ContainerOSImage
Install-ContainerOSImage
Installs the base container operating system image.
構文
Parameter Set: Default
Install-ContainerOSImage [-WimPath] <String> [-Force] [ <CommonParameters>]
詳細説明
The Install-ConstainerOSImage cmdlet installs the base container operating system image, which allows you to build containers.
パラメーター
-Force
ユーザーの確認を求めることなく、コマンドを強制的に実行します。
Aliases |
none |
必須/オプション |
false |
位置 |
named |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
-WimPath<String>
Specifies the path to the Windows image (.wim) file.
Aliases |
none |
必須/オプション |
true |
位置 |
1 |
既定値 |
none |
パイプライン入力の受け入れ |
false |
ワイルドカード文字の受け入れ |
false |
<CommonParameters>
このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットが出力するオブジェクトの型です。
使用例
Example 1: Install a container operating system image from a file
This command installs the container operating system image from the .wim file C:\Images\CBaseOs_ServerDataCenterCore_en-us.wim.
PS C:\> Install-ContainerOSImage -WimPath "C:\Images\CBaseOs_ServerDataCenterCore_en-us.wim"