make self destruct
This commit is contained in:
@@ -116,3 +116,6 @@ 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