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

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html