Active IQ Unified Manager Discussions

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

kailas
1,961 Views

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

raj_shrivastava11
1,861 Views

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

kailas
1,833 Views

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"

Public