Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

A More Flexible Active Directory One-Liner

$
0
0

Last month, in "Going Further with ForEach," I showed you how to recast any Active Directory (AD) one-liner into a mildly more complex form based on the pipeline variable $_ and PowerShell's ForEach command to enable more flexibility. This month, I'll show you a less trivial ForEach example and assemble it in "slow motion" to help clarify how you can build your own one-liners.

Read More


Viewing all articles
Browse latest Browse all 6937

Trending Articles