By default the ActiveEfficiency web service Locations resource is located using the following string:
http://localhost/ActiveEfficiency/Locations |
and this is set as a default in the script. However, if the ActiveEfficiency Web Service URL has been customized, then the script must be modified by changing the $url
variable to the correct URL.
The following download link provides the Active Directory example script: PostADSitesandSubnets.ps1
The Script can be run on the powershell command line as:
.\PostADSitesandSubnets.ps1 |
The Active Directory environment scanned is for the domain containing the machine where the script is run from.