Initial Commit to Dedicated Repo

This commit is contained in:
Wes Carroll
2019-02-19 15:53:30 -05:00
parent e9773caa10
commit ae28fddec2
48 changed files with 5188 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
function New-ZertoApiFilter {
[cmdletbinding()]
param(
[Parameter( Mandatory = $true )]
[hashtable]$filterTable
)
[string]$returnString = "?"
foreach ( $key in $filterTable.Keys ) {
if ($returnString.Length -gt 1) {
$returnString = "{0}&{1}={2}" -f $returnString, $key, $filterTable[$key]
} else {
$returnString = "{0}{1}={2}" -f $returnString, $key, $filterTable[$key]
}
}
return $returnString
}