Data Infrastructure Management Software Discussions

Highlighted

Command throwing exception, even if power-shell code is working fine

Facing issue with custome volume creation command i.e. command is throwing an exception , I checked the powershell code logs , code is executing successfully, after code execution command is throwing an exception , without any details.

 

Please find attched screenshot.WFA_Command_Exception.png

2 REPLIES 2

Re: Command throwing exception, even if power-shell code is working fine

Hi Kailas,

 

Could you please tell us which exact step it is failing. You can also try in logging each step via Get-WFALogger -Info -message to see where it is failing?

 

BR

Raj

Re: Command throwing exception, even if power-shell code is working fine

I already tried putting checkpoints in script using Get-WFALogger -Info -message , powershell script is woring fine, till last line of code , after that the command is throwing anexception, if you see the screenshot last line is the msg , "Flexvol created successfully"

Forums