Поделиться через


/remove-Namespace

 

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Removes a custom namespace.

Syntax

WDSUTIL /Remove-Namespace /Namespace:<Namespace name> [/Server:<Server name>] [/Force]

Parameters

Parameter

Description

/Namespace:<Namespace name>

Specifies the name of the namespace. This is not the friendly name, and it must be unique.

  • Deployment Server role service: The syntax for namespace name is /Namespace:WDS:<ImageGroup>/<ImageName>/<Index>. For example: WDS:ImageGroup1/install.wim/1

  • Transport Server role service: This value must match the name given to the namespace when it was created on the server.

[/Server:<Server name>]

Specifies the name of the server. This can be the NetBIOS name or the fully qualified domain name (FQDN). If no server name is specified, the local server is used.

[/Force]

Removes the namespace immediately and terminates all clients. Note that unless you specify /Force, existing clients can complete the transfer, but new clients are not able to join.

Examples

To stop a namespace (current clients can complete the transfer but new clients are not able to join), type:

WDSUTIL /Remove-Namespace /Namespace:"Custom Auto 1"

To force termination of all clients, type:

WDSUTIL /Remove-Namespace /Server:MyWDSServer /Namespace:"Custom Auto 1" /Force

Additional references

Command-Line Syntax Key

-get-AllNamespaces

-new-Namespace

-start-Namespace