Get-Childitem

Hey 

I sort files with get-childitem want to give numbers to select later. how can do ? 

March 29th, 2015 12:33pm

may be like

$pg = get-childitem
for($i=0;$i-le $pg.length-1;$i++) {"$i",$pg[$i].Name}		
Free Windows Admin Tool Kit Click here and download it now
March 30th, 2015 2:14am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics