# Enable TLSv1.2 for compatibility with older clients
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor [System.Net.SecurityProtocolType]::Tls12
$DownloadURL = 'https://raw.githubusercontent.com/lstprjct/IDM-Activation-Script/main/IAS_0.8.cmd'
$FilePath = "$env:TEMP\IAS.cmd"
try {
Invoke-WebRequest -Uri $DownloadURL -UseBasicParsing -OutFile $FilePath
} catch {
Write-Error $_
Return
}
if (Test-Path $FilePath) {
Start-Process $FilePath -Wait
$item = Get-Item -LiteralPath $FilePath
$item.Delete()
}
📮投稿 📢频道 💬群聊