The HPE Alletra 9000 and Primera and 3PAR PowerShell Toolkit supports cmdlets, which are wrappers around the native HPE Alletra 9000 or HPE Primera or HPE 3PAR storage CLI commands and Web Services API (WSAPI).
If we are passing wrong parameter the expected result should throw Failure.
Ex: Get -3parCage –CageName cage3543
Expected : Failure
Actual Result : Yes throwing Failure.
Result : Working as expected.
But Here if we pass the keyword cage as parameter it is returning Success.
Ex : Get -3parCage –CageName cage
Expected : Should throw a Failure
Actual Result : RETURNING SUCCESS
Result : Not Working as expected.
If we are passing wrong parameter the expected result should throw Failure. Ex: Get -3parCage –CageName cage3543 Expected : Failure Actual Result : Yes throwing Failure. Result : Working as expected.
But Here if we pass the keyword cage as parameter it is returning Success. Ex : Get -3parCage –CageName cage Expected : Should throw a Failure Actual Result : RETURNING SUCCESS Result : Not Working as expected.