You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling Get-SFImageStoreContent, if a match is found it is returned to the caller.
If no match is found an exception is thrown, which is probably a bug in itself.
However, the exception is still thrown when -ErrorAction Ignore is passed to the cmdlet causing the calling script to exit.
To Reproduce
Create a script that connects to a cluster, then calls: $result = Get-SFImageStoreContent -ContentPath "ContentNotThere" -ErrorAction Ignore
then continues processing in the script.
Expected behavior
The script continues executing.
The text was updated successfully, but these errors were encountered:
Describe the bug
When calling Get-SFImageStoreContent, if a match is found it is returned to the caller.
If no match is found an exception is thrown, which is probably a bug in itself.
However, the exception is still thrown when -ErrorAction Ignore is passed to the cmdlet causing the calling script to exit.
To Reproduce
Create a script that connects to a cluster, then calls:
$result = Get-SFImageStoreContent -ContentPath "ContentNotThere" -ErrorAction Ignore
then continues processing in the script.
Expected behavior
The script continues executing.
The text was updated successfully, but these errors were encountered: