Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

Re: Export of ErrorRecord Category Information

$
0
0

Maybe the following commands could be a starting point?

I guess all information are there somehow, but it is not that easy to dig into it.

 

 

(([appdomain]::currentdomain.GetAssemblies()).Modules  | where {$_.Name -match "vmware.vimautomation*"}).Assembly.modules.gettypes() | where {$_.Namespace -eq "VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException"} | select Name

 

((([appdomain]::currentdomain.GetAssemblies()).Modules  | where {$_.Name -match "vmware.vimautomation*"}).Assembly.modules.gettypes() | where {$_.Namespace -eq "VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException"} | where {$_.Name -eq "ViServerConnectionException"}).getmembers() | select name

 

#To be launched from a PowerCLI promt.


Viewing all articles
Browse latest Browse all 168455

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>