This function is part of my AADSites module, which can be downloaded here. For more info on the module see here.
This function returns all attributes of an AD site.
This function returns all attributes of an AD site.
NAME
Get-AADsite
SYNOPSIS
Returns the AD site object that matches the name supplied
SYNTAX
Get-AADsite [-Identity][ ]
DESCRIPTION
Returns the AD site object, if one exists, that matches the name given
Returns $null if nothing found
PARAMETERS
-Identity
Mandatory - The name of the object you want to return.
Position 0.
-------------------------- EXAMPLE 1 --------------------------
Simple usage
get-AADSite -identity Sitename
Comments
Post a Comment