Treffer: From One-Liner to ForEach One-Liner.

Title:
From One-Liner to ForEach One-Liner.
Authors:
Source:
Windows IT Pro; Feb2014, Vol. 20 Issue 2, p14-17, 4p
Database:
Complementary Index

Weitere Informationen

The article discusses how to put together two essential building blocks, pipeline and ForEach to build one-liners. It notes that those who want to go beyond the fairly basic one-liner and squeeze more automation power out of PowerShell need to consider how they may accomplish the disable-inactive-accounts task in a way that is uglier but ultimately proves more flexible. It indicates that no name was offered to disable-adaccount since the cmdlet's author built some intelligence into it.