Created
August 7, 2018 23:38
-
-
Save MIchaelMainer/4b70a6d57856845d34d8d69bf89e1c32 to your computer and use it in GitHub Desktop.
Download and save file 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
$url = "https://graph.microsoft.com/beta/`$metadata" | |
$liveMetadataSavePath = "beta_2018_08_07.xml" | |
$client = new-object System.Net.WebClient | |
$client.Encoding = [System.Text.Encoding]::UTF8 | |
$client.DownloadFile($url, $liveMetadataSavePath) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment