參考地址:https://github.com/beatcracker/VSCELicense
-
下載/克隆此存儲庫
-
以管理員身份運行 PowerShell.exe
-
導入模塊:
下載到
C:\VSCELicense
- 運行腳本
Import-Module -Name 'C:\VSCELicense\VSCELicense.psd1'
Set-VSCELicenseExpirationDate -Version 2019 -AddDays 30