Last active
April 5, 2017 09:07
Escape URI String with PowerShell
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
$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