Partager via


/get-AllNamespaces

Applies To: Windows Server 2008, Windows Server 2008 R2

Displays information about all namespaces on a server.

Syntax

Windows Server 2008:

WDSUTIL /Get-AllNamespaces [/Server:<Server name>] [/ContentProvider:<name>] [/Show:Clients] [/ExcludeDeletePending]

Windows Server 2008 R2:

WDSUTIL /Get-AllNamespaces [/Server:<Server name>] [/ContentProvider:<name>] [/Details:Clients] [/ExcludeDeletePending]

Parameters

Parameter Windows Server 2008 Windows Server 2008 R2

[/Server:<Server name>]

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

[/ContentProvider:<name>]

Displays the namespaces for the specified content provider only.

[/Show:Clients]

Only supported for Windows Server 2008. Displays information about client computers that are connected to the namespace.

[/Details:Clients]

Only supported for Windows Server 2008 R2. Displays information about client computers that are connected to the namespace.

[/ExcludeDeletePending]

Excludes any deactivated transmissions from the list.

Examples

To view all namespaces, type:

WDSUTIL /Get-AllNamespaces

To view all namespaces except those that are deactivated, type:

  • Windows Server 2008

    WDSUTIL /Get-AllNamespaces /Server:MyWDSServer /ContentProvider:"MyContentProv" /Show:Clients /ExcludeDeletePending
    
  • Windows Server 2008 R2

    WDSUTIL /Get-AllNamespaces /Server:MyWDSServer /ContentProvider:"MyContentProv" /Details:Clients /ExcludeDeletePending
    

Additional references

Command-Line Syntax Key

/new-Namespace

/remove-Namespace

/start-Namespace