Removes the specified domain.
Remove-Domain [-Name] <String> [-Force]
The Remove-Domain command removes the specified domain.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
The name of the domain.
| Aliases | |
|---|---|
| Required? | true |
| Position? | 1 |
| Default Value | |
| Accept Pipeline Input? | false |
| Accept Wildcard Characters? | false |
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 |
The input type is the type of the objects that you can pipe to the cmdlet.
-
System.String
Represents the name of a domain.
The output type is the type of the objects that the cmdlet emits.
- None.
Help Author: Adam Najmanowicz, Michael West
PS master:\> Remove-Domain -Name "domainName"