make script delete itself

This commit is contained in:
2021-11-18 20:14:45 -05:00
parent 62dd913b22
commit 6ad53ead58
+1
View File
@@ -55,4 +55,5 @@ If ( $INSTALL ) {
} Else { LogMsg "Atera agent is already installed on this endpoint." }
Remove-Item $MyInvocation.MyCommand.Path -Force