Shay Levy has a review of the latest/greatest IIS PowerShell provider CTP2 HERE.
In that review, he shows how you can use Get-Command to show all the cmdlets in a snapin. That works great but produces a linear list of cmdlets. I think the following produces a easier way to digest the information:
function Show-SnapinCmdlet ($snapin, $column=6)
{
Get-Command -PSSnapin $snapin | sort Noun,Verb | Format-Wide -GroupBy Noun -Property Verb -Column $Column
}
Give it a try and see if you like it.
Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
0 comments