Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Get-ADOrganizationalUnit

$
0
0
> Get-ADOrganizationalUnit -filter * -Properti es ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion - eq $false} | ft

When I run the above command in powershell, I get this error:

Get-ADOrganizationalUnit : Unable to find a default server with Active Directory Web Services running. At line:1 char:1 + Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | ...

running server 2012 R2 and server 2003, both as DC's.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>