Chris Beams’s Blog

Active Directory and more….

Archive for March, 2010

AD Recovery doc updated

Posted by chrisbeams on March 15, 2010

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=afe436fa-8e8a-443a-9027-c522dee35d85

Advertisements

Posted in Active Directory | Tagged: , | Leave a Comment »

PowerShell – Create Server Account in Specific OU

Posted by chrisbeams on March 13, 2010

Another easy one

New-ADComputer -Name “LDNSRV1” -Path “OU=Servers,DC=W2K8R2,DC=NET” -enabled $True

Posted in PowerShell | Tagged: , | Leave a Comment »

PowerShell – Create OU

Posted by chrisbeams on March 13, 2010

So starting to try and use PowerShell… the AD CmdLets that come with Windows 2008 R2 look pretty good.

new-ADOrganizationalUnit “Workstations”

Simple as that 🙂

Posted in PowerShell | Tagged: | Leave a Comment »

PowerShell – protect objects from accidental deletion

Posted by chrisbeams on March 10, 2010

Using PowerShell V2 and the new AD Cmdlets

in the below example on an OU

Get-ADOrganizationalUnit  -filter * | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true

and to do the reverse to one OU

Set-ADOrganizationalUnit “OU=London,DC=W2K8R2,DC=NET -ProtectedFromAccidentalDeletion $False

Posted in Active Directory, PowerShell | Tagged: , | 1 Comment »

Disable IE Enhanced Security Configuration Windows 2008

Posted by chrisbeams on March 9, 2010

its not in control panel anymore but can be turned off in server manager from the root of the console

and then turn on or off for different types of users.

Posted in Windows 2008, Windows 2008R2 | Tagged: , | Leave a Comment »