Remove-WdsBootImage

Remove-WdsBootImage

Removes a boot image from the image store.

语法

Parameter Set: BootImageName
Remove-WdsBootImage -Architecture <Architecture> -ImageName <String> [-AsJob] [-CimSession <CimSession[]> ] [-FileName <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

详细说明

The Remove-WdsBootImage cmdlet removes a boot image from the Windows Deployment Services image store. When you remove a boot image, the boot image is not available in the Windows Deployment Services image store, and you cannot use the image to boot a client computer into to perform an operating system installation After you remove a boot image, you cannot recover the image unless you import it to the Windows Deployment Services image store from its original source.

Specify the boot image by using the ImageName and Architecture parameters. If the image name and architecture do not uniquely identify the image, also specify the FileName parameter.

参数

-Architecture<Architecture>

Specifies an architecture. This is the architecture of the boot image. Because you can use the same image name for boot images in different architectures, specify this this parameter to ensure that you remove the correct image. 此参数可接受的值如下:

-- ARM
-- ia64
-- x64
-- x86

别名

是否为必需?

true

位置?

named

默认值

是否接受管道输入?

True (ByPropertyName)

是否接受通配符?

false

-AsJob

别名

是否为必需?

false

位置?

named

默认值

是否接受管道输入?

false

是否接受通配符?

false

-CimSession<CimSession[]>

在远程会话中或在远程计算机上运行 cmdlet。输入计算机名称或会话对象,例如 New-CimSessionGet-CimSession cmdlet 的输出。默认为本地计算机上的当前会话。

别名

Session

是否为必需?

false

位置?

named

默认值

是否接受管道输入?

false

是否接受通配符?

false

-FileName<String>

Specifies a file name. This is the file name of the boot image. Use this parameter to specify the file name for the boot image if the boot image name does not uniquely identify the image.

别名

是否为必需?

false

位置?

named

默认值

是否接受管道输入?

True (ByPropertyName)

是否接受通配符?

false

-ImageName<String>

Specifies the name of an image. This is the name of the image to remove.

别名

是否为必需?

true

位置?

named

默认值

是否接受管道输入?

True (ByPropertyName)

是否接受通配符?

false

-ThrottleLimit<Int32>

指定可建立的用于运行此 cmdlet 的并发操作的最大数目。如果省略了此参数或输入了值 0,那么 Windows PowerShell® 将基于正在计算机上运行的 CIM cmdlet 的数目,计算 cmdlet 的最佳中止值。中止值仅适用于当前 cmdlet,而不适用于会话或计算机。

别名

是否为必需?

false

位置?

named

默认值

是否接受管道输入?

false

是否接受通配符?

false

-Confirm

运行 cmdlet 之前提示你进行确认。

是否为必需?

false

位置?

named

默认值

false

是否接受管道输入?

false

是否接受通配符?

false

-WhatIf

显示如果运行 cmdlet 则会发生什么情况。cmdlet 未运行。

是否为必需?

false

位置?

named

默认值

false

是否接受管道输入?

false

是否接受通配符?

false

<CommonParameters>

此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

输入

输入类型是指可通过管道传送给 cmdlet 的对象的类型。

输出

输出类型是 cmdlet 所发出对象的类型。

示例

Example 1: Remove a boot image

This command removes the boot image named Fabrikam LOB setup (x86) for the x86 architecture.

PS C:\> Remove-WdsBootImage -Architecture x86 -ImageName "Fabrikam LOB setup (x86)"

相关主题

Get-WdsBootImage

Set-WdsBootImage

Enable-WdsBootImage

Disable-WdsBootImage

Import-WdsBootImage

Export-WdsBootImage