Sitecore PowerShell Extensions
Slack
YouTube
Stack Exchange
Donate
Search…
Introduction
Disclaimer
Installation
Training
Community
Interfaces
Working with Items
Modules
Remoting
Security
Releases
Troubleshooting
Code Snippets
Appendix
Common
Indexing
Packaging
Presentation
Provider
Security
Add-ItemAcl
Add-RoleMember
Clear-ItemAcl
Disable-User
Enable-User
Export-Role
Export-User
Get-Domain
Get-ItemAcl
Get-Role
Get-RoleMember
Get-User
Import-Role
Import-User
Lock-Item
Login-User
Logout-User
New-Domain
New-ItemAcl
New-Role
New-User
Protect-Item
Remove-Domain
Remove-Role
Remove-RoleMember
Remove-User
Set-ItemAcl
Set-User
Set-UserPassword
Test-Account
Test-ItemAcl
Unlock-Item
Unprotect-Item
Unlock-User
Session
Powered By
GitBook
Remove-Domain
Removes the specified domain.
Syntax
Remove-Domain [-Name] <String> [-Force]
Detailed Description
The Remove-Domain command removes the specified domain.
© 2010-2019 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
1
PS master:\> Remove-Domain -Name "domainName"
Copied!
Related Topics
​
https://github.com/SitecorePowerShell/Console/
Previous
Protect-Item
Next
Remove-Role
Last modified
2yr ago
Export as PDF
Copy link
Contents
Syntax
Detailed Description
Parameters
-Name <String>
-Force <SwitchParameter>
Inputs
Outputs
Notes
Examples
EXAMPLE
Related Topics