Containers Cmdlets

Se aplica a: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview

Windows PowerShell® es un shell de línea de comandos basado en tareas y un lenguaje de scripting diseñado especialmente para la administración del sistema. Este tema de referencia para los profesionales de tecnología de la información (TI) proporciona ayuda para utilizar los cmdlets de Windows PowerShell para crear scripts y automatizar tareas.

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.

Nota

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

Para obtener más información sobre los cmdlets o para obtener la sintaxis de los mismos, use el comando Get-Help <nombre del cmdlet> cmdlet, donde <nombre del cmdlet> es el nombre del cmdlet que desea investigar. Para obtener información más detallada, puede ejecutar cualquiera de los siguientes cmdlets:

Get-Help <nombre del cmdlet> -Detailed
Get-Help <nombre del cmdlet> -Examples
Get-Help <nombre del cmdlet> -Full