Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6c0b29d
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
6294614
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
686c198
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
6a04da4
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
1d5f83d
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
6d55f70
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
7d46715
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
e906c44
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
c714ce3
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
f000ef7
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
0472325
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
9ec46c1
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
03ccb96
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
1f59504
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
96d3cca
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
232525d
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
c93d1f2
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
928c51f
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
f47fe65
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
4b3c3a0
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
53d3949
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
f8b6f8f
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
d5845ce
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 21, 2020
2966eba
Update Post-NB-create-cloud-storage-unit.ps1
kenogden May 21, 2020
ae00060
Revert "Update Post-NB-create-cloud-storage-unit.ps1"
kenogden May 22, 2020
74699f3
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 22, 2020
8772d7f
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 22, 2020
11048c8
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 22, 2020
d80c4b0
Changed SecurityProtocol assignment from "+=" to Bitwise OR
kenogden May 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion snippets/powershell/Get-NB-Alerts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notmatch 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down
4 changes: 2 additions & 2 deletions snippets/powershell/Get-NB-Images.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notmatch 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -125,4 +125,4 @@ $properties =
@{Label = "Client"; Expression = { $_.attributes.clientName }},
@{Label = "Backup Time"; Expression = { $_.attributes.backupTime }}

$content.data | Format-Table -AutoSize -Property $properties
$content.data | Format-Table -AutoSize -Property $properties
2 changes: 1 addition & 1 deletion snippets/powershell/Get-NB-Jobs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notmatch 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down
4 changes: 2 additions & 2 deletions snippets/powershell/Post-NB-Cleanup-Assets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notmatch 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -169,4 +169,4 @@ if (!$content_get.data){
{
throw "Unable to delete Assets " + $assetIds
}
}
}
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Delete-NB-delete-disk-pool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -117,4 +117,4 @@ if ($response_delete.StatusCode -ne 204 )
Write-Host "Disk pool deleted successfully.`n"
Write-Host $response_delete

$response_delete = (ConvertFrom-Json -InputObject $response_delete)
$response_delete = (ConvertFrom-Json -InputObject $response_delete)
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -117,4 +117,4 @@ if ($response_delete.StatusCode -ne 204)
Write-Host "storage server deleted successfully.`n"
Write-Host $response_delete

$response_delete = (ConvertFrom-Json -InputObject $response_delete)
$response_delete = (ConvertFrom-Json -InputObject $response_delete)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Delete-NB-delete-storage-unit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -117,4 +117,4 @@ if ($response_delete.StatusCode -ne 204)
Write-Host "storage unit deleted successfully.`n"
Write-Host $response_delete

$response_delete = (ConvertFrom-Json -InputObject $response_delete)
$response_delete = (ConvertFrom-Json -InputObject $response_delete)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Get-NB-get-disk-pool-by-id.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -117,4 +117,4 @@ if ($response_get.StatusCode -ne 200)
Write-Host "Disk pool fetched successfully.`n"
Write-Host $response_get

$response_get = (ConvertFrom-Json -InputObject $response_get)
$response_get = (ConvertFrom-Json -InputObject $response_get)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Get-NB-get-disk-pool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -116,4 +116,4 @@ if ($response_getAll.StatusCode -ne 200)
Write-Host "disk pools fetched successfully.`n"
Write-Host $response_getAll

$response_getAll = (ConvertFrom-Json -InputObject $response_getAll)
$response_getAll = (ConvertFrom-Json -InputObject $response_getAll)
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -117,4 +117,4 @@ if ($response_get.StatusCode -ne 200)
Write-Host "storage server fetched successfully.`n"
Write-Host $response_get

$response_get = (ConvertFrom-Json -InputObject $response_get)
$response_get = (ConvertFrom-Json -InputObject $response_get)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Get-NB-get-storage-server.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -116,4 +116,4 @@ if ($response_getAll.StatusCode -ne 200)
Write-Host "storage servers fetched successfully.`n"
Write-Host $response_getAll

$response_getAll = (ConvertFrom-Json -InputObject $response_getAll)
$response_getAll = (ConvertFrom-Json -InputObject $response_getAll)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Get-NB-get-storage-unit-by-id.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -117,4 +117,4 @@ if ($response_get.StatusCode -ne 200)
Write-Host "storage unit fetched successfully.`n"
Write-Host $response_get

$response_get = (ConvertFrom-Json -InputObject $response_get)
$response_get = (ConvertFrom-Json -InputObject $response_get)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Get-NB-get-storage-unit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -116,4 +116,4 @@ if ($response_getAll.StatusCode -ne 200)
Write-Host "storage units fetched successfully.`n"
Write-Host $response_getAll

$response_getAll = (ConvertFrom-Json -InputObject $response_getAll)
$response_getAll = (ConvertFrom-Json -InputObject $response_getAll)
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -133,4 +133,4 @@ Write-Host "storage server updated successfully.`n"
echo $response_update
Write-Host $response_update

$response_update = (ConvertFrom-Json -InputObject $response_update)
$response_update = (ConvertFrom-Json -InputObject $response_update)
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -141,4 +141,4 @@ Write-Host "storage server updated successfully.`n"
echo $response_update
Write-Host $response_update

$response_update = (ConvertFrom-Json -InputObject $response_update)
$response_update = (ConvertFrom-Json -InputObject $response_update)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Patch-NB-update-disk-pool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -133,4 +133,4 @@ Write-Host "disk pool updated successfully.`n"
echo $response_update
Write-Host $response_update

$response_update = (ConvertFrom-Json -InputObject $response_update)
$response_update = (ConvertFrom-Json -InputObject $response_update)
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -132,4 +132,4 @@ Write-Host "storage server updated successfully.`n"
echo $response_update
Write-Host $response_update

$response_update = (ConvertFrom-Json -InputObject $response_update)
$response_update = (ConvertFrom-Json -InputObject $response_update)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Patch-NB-update-storage-unit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -131,4 +131,4 @@ Write-Host "storage units updated successfully.`n"
echo $response_update
Write-Host $response_update

$response_update = (ConvertFrom-Json -InputObject $response_update)
$response_update = (ConvertFrom-Json -InputObject $response_update)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Post-NB-create-ad-disk-pool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -148,4 +148,4 @@ Write-Host "Disk Pool created successfully.`n"
echo $response_create_dp
Write-Host $response_create_dp

$response_create_dp = (ConvertFrom-Json -InputObject $response_create_dp)
$response_create_dp = (ConvertFrom-Json -InputObject $response_create_dp)
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -136,4 +136,4 @@ Write-Host "storage server created successfully.`n"
echo $response_create_sts
Write-Host $response_create_sts

$response_create_sts = (ConvertFrom-Json -InputObject $response_create_sts)
$response_create_sts = (ConvertFrom-Json -InputObject $response_create_sts)
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -139,4 +139,4 @@ Write-Host "storage unit created successfully.`n"
echo $response_create_stu
Write-Host $response_create_stu

$response_create_stu = (ConvertFrom-Json -InputObject $response_create_stu)
$response_create_stu = (ConvertFrom-Json -InputObject $response_create_stu)
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -147,4 +147,4 @@ Write-Host "Disk Pool created successfully.`n"
echo $response_create_dp
Write-Host $response_create_dp

$response_create_dp = (ConvertFrom-Json -InputObject $response_create_dp)
$response_create_dp = (ConvertFrom-Json -InputObject $response_create_dp)
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -149,4 +149,4 @@ Write-Host "storage server created successfully.`n"
echo $response_create_sts
Write-Host $response_create_sts

$response_create_sts = (ConvertFrom-Json -InputObject $response_create_sts)
$response_create_sts = (ConvertFrom-Json -InputObject $response_create_sts)
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -139,4 +139,4 @@ Write-Host "storage unit created successfully.`n"
echo $response_create_stu
Write-Host $response_create_stu

$response_create_stu = (ConvertFrom-Json -InputObject $response_create_stu)
$response_create_stu = (ConvertFrom-Json -InputObject $response_create_stu)
4 changes: 2 additions & 2 deletions snippets/powershell/storage/Post-NB-create-msdp-disk-pool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function InitialSetup()
# Force TLS v1.2
try {
if ([Net.ServicePointManager]::SecurityProtocol -notcontains 'Tls12') {
[Net.ServicePointManager]::SecurityProtocol += [Net.SecurityProtocolType]::Tls12
[Net.ServicePointManager]::SecurityProtocol = ([Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12)
}
}
catch {
Expand Down Expand Up @@ -146,4 +146,4 @@ Write-Host "Disk Pool created successfully.`n"
echo $response_create_dp
Write-Host $response_create_dp

$response_create_dp = (ConvertFrom-Json -InputObject $response_create_dp)
$response_create_dp = (ConvertFrom-Json -InputObject $response_create_dp)
Loading