Last active
November 19, 2018 06:54
-
-
Save hclpandv/815939292111a0a81b288926e61c6cb4 to your computer and use it in GitHub Desktop.
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 InvokeScript-FromGitHub ($github_script_raw_uri){ | |
| $github_script_raw_uri = "https://gist.githubusercontent.com/hclpandv/76739cc615f3eee0d4722243379d324f/raw/9573fa17aadee9f0b5fb71d38cccefde8b4a220b/CheckSumCalc.ps1" | |
| $temp_script_file = "$pwd\temp.ps1" | |
| Invoke-RestMethod -Uri $github_script_raw_uri -Method GET | Out-File $temp_script_file | |
| & $temp_script_file | |
| Remove-Item $temp_script_file -Force | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment