cleanup after finished (Fix-AutodeskProductLicensing.ps1)
add service installation (Install-Wireguard.ps1)
This commit is contained in:
@@ -16,4 +16,16 @@ If ( Test-Path $ALST ) {
|
||||
LogMsg "Resetting all Autodesk product licenses to named-user licenses"
|
||||
Try { Start-Process $ALST -ArgumentList '-r ALL:USER' -Wait }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
}
|
||||
|
||||
If ( Test-Path $LicensingSupportTool ) {
|
||||
LogMsg "Deleting ""${LicensingSupportTool}"""
|
||||
Try { Remove-Item $LicensingSupportTool -Force -ErrorAction SilentlyContinue }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
}
|
||||
|
||||
If ( Test-Path $WorkingDir ) {
|
||||
LogMsg "Deleting ""${WorkingDir}"""
|
||||
Try { Remove-Item $WorkingDir -Recurse -Force -ErrorAction SilentlyContinue }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
}
|
||||
Reference in New Issue
Block a user