mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 14:07:21 +00:00
only get OU
This commit is contained in:
1 parent
bbbc45fb80
commit
3abe6268e0
1 file changed
+1
-1
@@ -14,7 +14,7 @@ $RDSServer = $DC01
|
|||||||
#Workbench OU
|
#Workbench OU
|
||||||
$DomainOU = $DomainInfo.DistinguishedName
|
$DomainOU = $DomainInfo.DistinguishedName
|
||||||
$domainID = $DomainInfo.DNSRoot
|
$domainID = $DomainInfo.DNSRoot
|
||||||
$workbenchOU = (Get-ADOrganizationalUnit -Identity "OU=Workbench,$DomainOU").DistinguishedName
|
$workbenchOU = (Get-ADOrganizationalUnit -Identity "OU=Workbench,$DomainOU")
|
||||||
|
|
||||||
$computersOU = $DomainInfo.ComputersContainer
|
$computersOU = $DomainInfo.ComputersContainer
|
||||||
$domaincontrollersOU = $DomainInfo.DomainControllersContainer
|
$domaincontrollersOU = $DomainInfo.DomainControllersContainer
|
||||||
|
|||||||
Reference in new issue
Block a user