Uninstall-ContainerOSImage

Uninstall-ContainerOSImage

Uninstalls the container operating system image.

構文

Parameter Set: ByContainerImage
Uninstall-ContainerOSImage [-ContainerImage] <Object> [-Force] [ <CommonParameters>]

Parameter Set: ByName
Uninstall-ContainerOSImage [-ImageName] <String> [-Force] [ <CommonParameters>]

詳細説明

The Uninstall-ContainerOSImage cmdlet uninstalls the container operating system image.

パラメーター

-ContainerImage<Object>

Specifies the operating system image that this cmdlet uninstalls.

Aliases

none

必須/オプション

true

位置

1

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-Force

ユーザーの確認を求めることなく、コマンドを強制的に実行します。

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-ImageName<String>

Specifies the name of the operating system image that this cmdlet uninstalls.

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: Remove a base operating system image

This command removes the base operating system image named WindowsServerCore.

PS C:\> Uninstall-ContainerOSImage -ContainerImageName "WindowsServerCore"                        

関連項目

Install-ContainerOSImage