How can I find what Static Classes and Methods there is available in PowerShell 2.0?
Mr driis, you are the man !!! Totally made my day !
I just took the liberty to modify it a little bit so it returns the whole list without duplicates:
PS C:\Users\Administrator> [AppDomain]::CurrentDomain.GetAssemblies() | foreach { $_.GetTypes() } | foreach { $_.GetMethods() } | where { $_.IsStatic } | select DeclaringType | Out-File assemblies.txt
and then read the assemblies.txt file but only get unique rows :
cat .\assemblies.txt Get-Unique