This commit is contained in:
2023-11-29 16:39:09 +01:00
parent 9f02aa3a91
commit d82954d30c
3 changed files with 491 additions and 106 deletions

View File

@ -13,7 +13,6 @@ Import-Module ActiveDirectory
$Fichier = "OU-Standard.csv"
$OUs = Import-Csv -Path $Fichier -Delimiter ";"
$dNC = (Get-ADRootDSE).defaultNamingContext
$OUs | ForEach-Object {