This project is read-only.

Get-LocalGroups

function global:Get-LocalGroups([string]$computername)
This function gets the local group names with ADSI.

Parameters
Name Necessary Summary
computername No target computer. If it's not inputted, the target will be the local computer.


Returns
an array of group names.

ex)
Get-LocalGroups;

# for remote operation
Get-LocalGroups -computername $env:computername;

Last edited Mar 2, 2013 at 12:22 PM by Tom__S, version 3

Comments

No comments yet.