PowerShell for Windows Admins

Oct 14 2012   4:07AM GMT

CDXML modules and nouns



Posted by: Richard Siddaway
PowerShell 3, Windows 8

CDXML modules don’t expose the verb and the noun of the cmdlets they publish.  If you want to discover the set of nouns in a CDXML module you need a bit of brute force:

Get-Command -Module DhcpServer |
foreach {
  ($_.Name -split "-")[1]
}  | sort | group -NoElement | sort count –Descending

Comment on this Post

Leave a comment: