Containers Cmdlets

適用対象: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview

Windows PowerShell® は、特にシステム管理用に設計されている、タスク ベースのコマンド ライン シェルとスクリプト言語です。IT プロフェッショナルを対象としたこのリファレンス トピックは、Windows PowerShell コマンドレットを活用してタスクをスクリプト化および自動化する場合に役立ちます。

Containers Cmdlets

This topic displays help topics for the Windows Server® Technical Preview Containers Cmdlets.

For more information about containers, see Windows Server Containers.

Name Description

Add-ContainerNetworkAdapter

Adds a virtual network adapter to a container.

Connect-ContainerNetworkAdapter

Connects a virtual network adapter to a virtual switch.

Disconnect-ContainerNetworkAdapter

Disconnects a virtual network adapter from a virtual switch.

Export-ContainerImage

Exports a container image to a file.

Get-Container

Gets information about containers.

Get-ContainerHost

Gets information about the host.

Get-ContainerImage

Gets local container images.

Get-ContainerNetworkAdapter

Gets the virtual network adapter of a container.

Import-ContainerImage

Imports a container image from a file.

Install-ContainerOSImage

Installs the base container operating system image.

Move-ContainerImageRepository

Moves the local container image repository.

New-Container

Creates a container image from an existing container.

New-ContainerImage

Creates a container image from an existing container image.

Remove-Container

Deletes a container.

Remove-ContainerImage

Removes a container image.

Remove-ContainerNetworkAdapter

Removes one or more virtual network adapters from a container.

Set-ContainerNetworkAdapter

Configures features of the virtual network adapter in a container.

Start-Container

Starts a container, which allows you to run commands and enter the container session.

Stop-Container

Stops a container, which allows you to use it to build a new container image.

Test-ContainerImage

Tests for problems with a container image.

Uninstall-ContainerOSImage

Uninstalls the container operating system image.

注意

To list all the cmdlets that are available, use the Get-Command –Module StorageQoS cmdlet.

コマンドレットの詳細や構文を確認するには、Get-Help <コマンドレット名> コマンドレットを使用します。<コマンドレット名> には、調査対象のコマンドレットの名前を指定します。さらに詳しい情報については、次のコマンドレットを実行してください。

Get-Help <コマンドレット名> -Detailed
Get-Help <コマンドレット名> -Examples
Get-Help <コマンドレット名> -Full