Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

What is -ge ?

$
0
0

Hey Guys,

 

First time listener, long time caller...I'm new at created ps1 scripts and was searching for a way to get a list of newly created AD users.

I found this code which does what I need but I wasnt sure of what the -ge is supposed to do. My question is as simple as that, I just couldn't find the answer through joogling. Anyway can some help out? and also is this a property, alias or what?

$When= ((Get-Date).AddDays(-30)).Date
Get-ADUser-Filter {whenCreated -ge$When} -Properties whenCreated

You guys are awesome for responding if you do, I hate you quietly if you don't

-Stan


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles



Latest Images