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

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source