Ogranizational Units Via Powershell - CameronProvost/Tech-Journal GitHub Wiki

Creating an OU via PowerShell PS C:> New-ADOrganizationalUnit -Name "Name of OU Here"

Remove and OU via PowerShell

Remove-ADOrganizationalUnit -Identity "The GUID of the Ou here" -Confirm:$False

-Confirm:$False bypasses the confirmation prompt

Search Event Log

Get-WinEvent -LogName 'Deploy SW'