Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (-Not(Get-Command Get-AppxPackage -ErrorAction SilentlyContinue)) {
- 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"
- }
Add Comment
Please, Sign In to add comment