Thursday, 29 October 2015

Installing .NET 3.5 on Windows 2012

There are two ways to install .NET 3.5 onto Windows 2012, this is also required if you want to install SQL Studio Manager.

1. Powershell (As Admin)
Install-WindowsFeature Net-Framework-Core -source \\network\share\sxs

2. Old Fashion Command Line (As Admin)
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

Protecting All OUs in the Domain from Accidental Deletion

You can issue this line of PoSh at a domain controller to prevent any accidental deletion of AD OUs

Get-ADOrganizationalUnit -Filter 'Name -like "*"' | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true