Blog 2020/5/7
<- previous | index | next ->
EDIT 2024/12/1: I updated a few of these commands to work with qemu 9.x.
| #The resource URI | |
| $resource = "https://westus2.api.loganalytics.io" | |
| #Your Client ID and Client Secret obtained when registering your WebApp | |
| $clientid = "yourAADAppClientID" | |
| $clientSecret = "yourAADAppClientSecret" | |
| #Your Reply URL configured when registering your WebApp | |
| $redirectUri = "https://localhost" | |
| #Scope | |
| $scope = "Data.Read" | |
| Add-Type -AssemblyName System.Web |
Blog 2020/5/7
<- previous | index | next ->
EDIT 2024/12/1: I updated a few of these commands to work with qemu 9.x.
| # βββββββ ββββββββββββ ββββ βββββββ βββ βββββββββββ βββ ββββββββββ | |
| # βββββββββββββββββββββ βββββββββββββββββ βββββββββββ βββ βββββββββββ | |
| # ββββββββββββββ ββββββββββββββ ββββββ βββββββββ ββββββββββββββββ | |
| # ββββββββββββββ ββββββββββββββ βββββββ ββββββββββ βββββββββββββββ | |
| # βββ ββββββββββββββ βββ ββββββββββββ βββββββ ββββββββ βββ ββββββ | |
| # βββ ββββββββββββββ βββ βββββββ βββββ ββββββββ βββ ββββββ | |
| # | |
| # βββββββ βββ βββββββ ββββββ ββββββββββββ βββ ββββββ βββββββ ββββββββ | |
| # βββββββββββ βββββββββββββββββββββββββββββ βββββββββββββββββββββββββββ | |
| # βββββββββββ βββ βββββββββββ βββ βββ ββ βββββββββββββββββββββββββ |
| Add-Type -TypeDefinition @' | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using System.Security.Cryptography.X509Certificates; | |
| public enum DSREG_JOIN_TYPE { | |
| DSREG_UNKNOWN_JOIN = 0, | |
| DSREG_DEVICE_JOIN = 1, | |
| DSREG_WORKPLACE_JOIN = 2 | |
| } |
| $frameWorkList = 'Microsoft.WindowsAppRuntime', 'Microsoft.UI.Xaml', 'Microsoft.VCLibs', 'Microsoft.NET.Native.Runtime', 'Microsoft.NET.Native.Framework', 'Microsoft.WindowsAppRuntime.CBS' | |
| foreach ($framework in $frameWorkList) { | |
| if($framework -eq 'Microsoft.WindowsAppRuntime') { | |
| $download = 'Microsoft.WindowsAppSDK' | |
| } | |
| else{ | |
| $download = $framework | |
| } |