Summary: Learn the easy way to use Where or ForEach in Windows PowerShell 4.0. I am running Windows PowerShell 4.0 and I want to know the easy way to use Where or ForEach. In Windows PowerShell 4.0, object arrays have a built-in .Where() and .ForEach() methods.  ...
Summary: Guest blogger, Trevor Sullivan, compares Windows PowerShell PSSessions and CIM sessions.
Microsoft Scripting Guy, Ed Wilson, is here. Today we have the exciting conclusion to Honorary Scripting Guy, Trevor Sullivan’s guest blog series on CIM. To see more of Trevor’s guest posts, see these Hey, Scripting Guy! Blog posts. You can ...
Summary: Learn how to use Windows PowerShell to retrieve CIM methods.
How can I use Windows PowerShell to dynamically obtain a list of CIM methods?
Use the following script:
Clear-Host;
$ClassList = Get-CimClass;
foreach ($CimClass in $ClassList) { foreach ($CimMethod in $CimClass.CimClassMethods) {&...
Summary: Guest blogger, Trevor Sullivan, talks about invoking CIM methods via Windows PowerShell.
Microsoft Scripting Guy, Ed Wilson, is here. Today we have another guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy, and a recognized Microsoft Community Contributor (MCC). To see more of Trevor’s guest posts, see these Hey...
Summary: Learn how to easily copy information to the clipboard by using Windows PowerShell.
How can I use Windows PowerShell to copy WMI information to the Windows Clipboard so I can use it in another application?
Use the external clip.exe utility to copy Windows PowerShell pipeline output to your...