Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- param($salles)
- $OU="OU=Salles,DC=domaine,DC=local"#OU où se trouvent les salles/PC
- dsquery computer "OU=$salles,$OU" -o rdn |% {$_ -replace '"', ""} > TEMP\computers.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement