Previous object in a pipe


hi,

is possible name of group in table:

get-distributiongroup | get-distributiongroupmember |ft alias, @{label='test1';expression={$_.($_.name)}}

thx , best regards

christian

my fault.  try this:

foreach ($group in get-distributiongroup) {
get-distributiongroupmember $group | 
 ft alias, @{label='test1';expression={$group.name)}}
}



[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS