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

Counting all objects in AD is not updated after adding a user

$
0
0

Hi

I am running the command to count all of my AD objects

The question is, why when running the command after adding a user, it does not get updated in the following command:

 Get-ADObject -Filter {name -like '*'} -SearchBase 'CN=Schema,CN=Configuration,DC=Fabrikam,DC=local' -ResultSetSize $null | Measure-Object

While if running the following command there is an update

Get-ADObject -Filter {name -like '*'}  -SearchBase 'DC=Fabrikam,DC=local' -ResultSetSize $null | Measure-Object

Thanks

Itamar




Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles


Pregnant woman released on bail


Waves Complete v2019.02.14 Incl Emulator-R2R


It’s Kind of a Funny Story 2010 Dual Audio 720p BRRip [Hindi – English] ESubs


CalCen


Serial child killer David Threinen’s reign of terror


Pumped up UDA chief ordered teen to be shot


MCGEE, SAMUEL O., DECEASED, OF...


Alison Moyet - Alf (Deluxe Edition) (2016) flac


Shawn Ogrodnik


WordPress: Reverse Shell



Latest Images

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