Books
Translate This Blog
-
Recent Posts
Top Posts
- Querying UDP Ports with PowerShell
- Changing Ownership of File or Folder Using PowerShell
- Quick Hits: Finding Exception Types with PowerShell
- Using PowerShell Parameter Validation to Make Your Day Easier
- Sharing Variables and Live Objects Between PowerShell Runspaces
- Speedy Ping using PowerShell
- Avoiding System.Object[] (or Similar Output) when using Export-Csv
- Quick Hits: Ping Sweep One Liner
- Use PowerShell to remove local profiles
- Building a TCP Server Using PowerShell
Archives
Categories
- .net
- api
- array
- background jobs
- binary
- book
- c#
- clock
- codeplex
- com object
- convert
- CTP
- database
- deep dive
- excel
- Favorites
- function
- groups
- guest blog
- hash table
- Internet Explorer
- ise
- mcpmag
- module
- MVP
- network
- news
- parameter
- patches
- performance
- pinvoke
- podcast
- port
- PoshChat
- poshpaig
- PoshRSJob
- poshwsus
- powercli
- powerscripting
- Powershell
- printers
- quickhits
- reflection
- regex
- registry
- Regular Expressions
- report
- resolution
- runspace
- runspaces
- scripting games 2012
- scripting games 2013
- scripting guy
- scripts
- SMO
- Speaker
- speaking
- SQL
- tcp
- tips
- tsql
- updates
- user group
- V3
- V4
- v5
- weather
- widget
- win32API
- winter scriting games 2014
- wmi
- word
- WPF
- wsus
- xaml
Tag Archives: domain groups
Get All Members of a Local Group Using PowerShell
I wrote a function a while back that is used to query a local group on a remote or local system (or systems) and based on the –Depth parameter, will perform a recursive query for all members of that group … Continue reading
Posted in powershell, scripts
Tagged active directory, domain groups, groups, local groups, Powershell, runspace
40 Comments