What I am trying to do.
$list = Get-ADComputer -Filter ‘WhenCreated -ge $recently’ -Properties whenCreated | Format-Table Name -Autosize -Wrap
for i in $list { # do something with $i }
how do I do that?
submitted by /u/juniorsysadmin1
[link] [comments]
The post Looping through the output for get-adcomputer appeared first on How to Code .NET.