make self destruct
This commit is contained in:
@@ -115,4 +115,7 @@ $Directories | ForEach-Object { Remove-Path -Path $_ }
|
|||||||
LogMsg "Unmount HKEY_CLASSES_ROOT registry hive"
|
LogMsg "Unmount HKEY_CLASSES_ROOT registry hive"
|
||||||
Remove-PSDrive -Name HKCR
|
Remove-PSDrive -Name HKCR
|
||||||
|
|
||||||
LogMsg "Finished uninstalling Atera Agent"
|
LogMsg "Finished uninstalling Atera Agent"
|
||||||
|
|
||||||
|
# Delete this script
|
||||||
|
Remove-Item $MyInvocation.MyCommand.Path -Force
|
||||||
Reference in New Issue
Block a user