NTP Server Configuration


Manage Windows Time Service via free GUI

DSquery command


Site name:

dsquery subnet -name 10.1.0.0/24 | dsget subnet -site

Check the subnet available or not:

dsquery subnet -name 10.1.0.0/24

List empty OU’s


Get-ADOrganizationalUnit -Filter * -SearchBase “DC=test,DC=me,DC=com” | Where-Object {-not ( Get-ADObject -Filter * -SearchBase $_.Distinguishedname -SearchScope OneLevel -ResultSetSize 1 )} | Select Name,DistinguishedName

%d bloggers like this: