mirror of
https://github.com/massgravel/get.activated.win.git
synced 2025-12-15 16:18:19 +01:00
Add script block
This commit is contained in:
parent
b60816e393
commit
8dafebad65
1 changed files with 112 additions and 110 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# This script is hosted on <b>https://get.activated.win</b> for <b>https://massgrave.dev</b><hr><pre>
|
||||
|
||||
& {
|
||||
$psv = (Get-Host).Version.Major
|
||||
$troubleshoot = 'https://massgrave.dev/troubleshoot'
|
||||
|
||||
|
|
@ -120,3 +121,4 @@ if ($psv -lt 3) {
|
|||
|
||||
$FilePaths = @("$env:SystemRoot\Temp\MAS*.cmd", "$env:USERPROFILE\AppData\Local\Temp\MAS*.cmd")
|
||||
foreach ($FilePath in $FilePaths) { Get-Item $FilePath -ErrorAction SilentlyContinue | Remove-Item }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue