Containers Cmdlets

Letzte Aktualisierung: August 2015

Betrifft: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview

Windows PowerShell® ist eine speziell für die Systemverwaltung entwickelte taskbasierte Befehlszeilenshell und Skriptsprache. In diesem Referenzthema für IT-Experten wird die Verwendung der Windows PowerShell-Cmdlets zum Erstellen von Skripts für Tasks und Automatisieren von Tasks erläutert.

Containers Cmdlets

This topic displays help topics for the Windows Server® – Technische Vorschau 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.

Hinweis

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

Weitere Informationen zu den einzelnen Cmdlets (bzw. deren Syntax) erhalten Sie, wenn Sie das Cmdlet Get-Help <Cmdlet-Name> verwenden. Dabei ist <Cmdlet-Name> der Name des Cmdlets, zu dem Informationen gewünscht werden. Führen Sie eines der folgenden Cmdlets aus, um ausführlichere Informationen zu erhalten:

Get-Help <Cmdlet-Name> -Detailed
Get-Help <Cmdlet-Name> -Examples
Get-Help <Cmdlet-Name> -Full