Dec 2, 2008
Post comments count0
Post likes count0
Get-Everyone
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...