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
Function Encode-LogAnalyticsQuery{ | |
<# | |
.SYNOPSIS | |
This function is used by the Write-LogAnalyticsURL Function to encode the query string for the URL. | |
.DESCRIPTION | |
This function outputs a compressed Base64 string based in the QueryString value passed to it. | |
.PARAMETER QueryString | |
The query you want to create a URL for. |