Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Syntax

$cs.UsrMgr_EnumMembersOfLocalGroup(string groupName)

Parameters

groupName

Group to enumerate

Example

$groupmembers=$cs.UsrMgr_EnumMembersOfLocalGroup('administrators')
foreach ($item in $groupmembers){
  $cs.Job_WriteLog("Members found: $($item)")
}

returns PSObject collection

  • No labels