Converts a hashtable to a URL query-string fragment.
ConvertTo-AtlassianQueryString [-InputObject] <Hashtable> [<CommonParameters>]
Builds a query-string value prefixed with ? from keys and values in a
hashtable. Keys and values are URL-encoded before joining.
ConvertTo-AtlassianQueryString -InputObject @{
jql = 'project=TEST'
max = 25
}
Returns a query string such as ?jql=project%3dTEST&max=25.
Hashtable of key/value pairs to convert into query-string parameters.
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
System.Collections.Hashtable
System.String