Last active
April 5, 2017 09:07
-
-
Save chelnak/3c8f01642c0c4a2beb43d7da5047bc8c to your computer and use it in GitHub Desktop.
Escape URI String with PowerShell
This file contains 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
$EscapedBusinessGroupName = [URI]::EscapeDataString($BusinessGroupName) | |
$URI = "/identity/api/tenants/$($TenantId)/subtenants?`$filter=name%20eq%20'$($EscapedBusinessGroupName)'" | |
$Response = Invoke-vRARestMethod -Method GET -URI $URI -Verbose:$VerbosePreference |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment