Showing results for Get-Everyone - PowerShell Team

Dec 2, 2008
0
0

Get-Everyone

PowerShell Team
PowerShell Team

Jeffery Snover just posted a Get-Me script.  The Get-Me script finds out the principal of the user running PowerShell.  In case you ever wanted to know how to get all of the users on a machine (or from a domain), here's a quick function that queries WMI for users. function Get-Everyone([switch]$fromDomain) { #.Synopsis # Gets...

Get-Everyone