Description
Here we can see how to create an OU in a domain.
Source Code
$Domain= New-Object DirectoryServices.DirectoryEntry "LDAP://DC=powershellscripts,DC=blogspot,DC=com"
$OU = $Domain.Create("organizationalUnit", "ou=PowerShell")
$OU.SetInfo()
Source Code and Samples
Thursday, 8 February 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment