Get-Domain
Gets all available domains or the specified domain.

Syntax

Get-Domain [-Name <String>]

Detailed Description

The Get-Domain command returns all the domains or the specified domain.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions

Parameters

-Name <String>

The name of the domai
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.
  • Sitecore.Security.Domains.Domai

Notes

Help Author: Adam Najmanowicz, Michael West

Examples

EXAMPLE 1

1
PS master:\> Get-Domain -Name sitecore
2
Name AccountPrefix EnsureAnonymousUser LocallyManaged
3
---- ------------- ------------------- --------------
4
sitecore sitecore\ False False
Copied!

EXAMPLE 2

1
PS master:\> Get-Domain
2
3
Name AccountPrefix EnsureAnonymousUser LocallyManaged
4
---- ------------- ------------------- --------------
5
sitecore sitecore\ False False
6
extranet extranet\ True False
7
default default\ True False
Copied!

Related Topics