Windows Deployment Services Cmdlets in Windows PowerShell

Windows PowerShell® 是基于任务的命令行 shell 和脚本语言,专为系统管理而设计。本参考主题面向信息技术 (IT) 专业人员,可在利用 Windows PowerShell cmdlet 编写脚本和对任务实施自动化时提供协助。

Windows Deployment Services Cmdlets

This reference provides cmdlet descriptions and syntax for all Windows Deployment Services cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Cmdlet Description

Add-WdsDriverPackage

Adds an existing driver package to a driver group or injects it into a boot image.

Approve-WdsClient

Approves clients.

Copy-WdsInstallImage

Copies install images within an image group.

Deny-WdsClient

Denies approval for clients.

Disable-WdsBootImage

Disables a boot image.

Disable-WdsDriverPackage

Disables a driver package in the Windows Deployment Services driver store.

Disable-WdsInstallImage

Disables an install image.

Disconnect-WdsMulticastClient

Disconnects a multicast client from a transmission or namespace.

Enable-WdsBootImage

Enables a boot image.

Enable-WdsDriverPackage

Enables a driver package in the Windows Deployment Services driver store.

Enable-WdsInstallImage

Enables an install image.

Export-WdsBootImage

Exports an existing boot image from an image store.

Export-WdsInstallImage

Exports an existing install image from an image store.

Get-WdsBootImage

Gets properties of boot images from the image store.

Get-WdsClient

Gets client devices from the pending device database, or pre-staged devices from Active Directory or the standalone server device database.

Get-WdsDriverPackage

Gets properties of driver packages from the Windows Deployment Services driver store.

Get-WdsInstallImage

Gets properties of install images from an image store.

Get-WdsInstallImageGroup

Gets properties of install image groups.

Get-WdsMulticastClient

Gets a list of clients connected to a multicast transmission or namespace.

Import-WdsBootImage

Imports a boot image to the image store.

Import-WdsDriverPackage

Imports a driver package into the Windows Deployment Services driver store.

Import-WdsInstallImage

Imports an install image to an image store.

New-WdsClient

Creates a pre-staged client.

New-WdsInstallImageGroup

Creates an install image group.

Remove-WdsBootImage

Removes a boot image from the image store.

Remove-WdsClient

Removes a pre-staged client from AD DS or the stand-alone server device database, or clears the Pending Devices database.

Remove-WdsDriverPackage

Removes a driver package from a driver group or removes it from all driver groups and deletes it.

Remove-WdsInstallImage

Removes an install image from an image store.

Remove-WdsInstallImageGroup

Removes an install image group.

Set-WdsBootImage

Modifies settings of a boot image.

Set-WdsClient

Modifies a pre-staged client device.

Set-WdsInstallImage

Modifies the properties of an install image.

Set-WdsInstallImageGroup

Modifies the name and access permissions of an install image group.

备注

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

有关任何 cmdlet 或其语法的详细信息,请使用 Get-Help <cmdlet 名称> cmdlet,其中 *<cmdlet 名称>*是你要搜索的 cmdlet 的名称。若需了解详细信息,可以运行以下任一 cmdlet:

Get-Help <cmdlet 名称> -Detailed
Get-Help <cmdlet 名称> -Examples
Get-Help <cmdlet 名称> -Full