Created
May 26, 2017 13:02
-
-
Save bobalob/1ef5c147c96dff645ffd28a7911c7fec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$connectionStringPri = @{ | |
"Username"="admin"; | |
"Password"="password"; | |
"SpaIpAddress"="192.168.50.1"; | |
"SpbIpAddress"="192.168.50.2"; | |
"Port"="443"; | |
"UserFriendlyName"="Primary SAN" | |
}; | |
$connectionStringSec = @{ | |
"Username"="admin"; | |
"Password"="password"; | |
"SpaIpAddress"="192.168.51.1"; | |
"SpbIpAddress"="192.168.51.2"; | |
"Port"="443"; | |
"UserFriendlyName"="Secondary SAN" | |
}; | |
[Array]$sanArray = ( | |
$connectionStringPri, | |
$connectionStringSec | |
) | |
[Array]$targetLuns = ( | |
"LUN1", | |
"LUN2", | |
"LUN3" | |
) | |
. .\VNX-Snaps.PS1 -expireDays 3 -targetLuns $targetLuns -sanArray $sanArray |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment