Remove-Domain

Removes the specified domain.

Syntax

Remove-Domain [-Name] <String> [-Force]

Detailed Description

The Remove-Domain command removes the specified domain.

© 2010-2017 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

Parameters

-Name  <String>

The name of the domain.

Aliases
Required? true
Position? 1
Default Value
Accept Pipeline Input? false
Accept Wildcard Characters? false

-Force  <SwitchParameter>

Indicates that the domain should be removed although it contains users in that domain.

Aliases
Required? false
Position? named
Default Value
Accept Pipeline Input? false
Accept Wildcard Characters? false

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String Represents the name of a domain.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None.

Notes

Help Author: Adam Najmanowicz, Michael West

Examples

EXAMPLE


PS master:\> Remove-Domain -Name "domainName"

results matching ""

    No results matching ""