kbaker827

Appx error hand

Sep 15th, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (-Not(Get-Command Get-AppxPackage -ErrorAction SilentlyContinue)) {
  2.     throw "Get-AppxPackage does not exist here, I bet if you look at the machine closely you will see that it is not windows 10"
  3. }
Add Comment
Please, Sign In to add comment