# 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()
}
⚙️使用
1️⃣复制上方代码到 PowerShell 并运行,然后在弹窗输入 1
2️⃣输入自定义用户名再按回车,激活完毕输入 6 退出
3️⃣激活之后可以在 IDM 查看激活信息,支持检测更新
💥地址
源于@geekshare
评论区