make script delete itself
This commit is contained in:
@@ -55,4 +55,5 @@ If ( $INSTALL ) {
|
|||||||
|
|
||||||
} Else { LogMsg "Atera agent is already installed on this endpoint." }
|
} Else { LogMsg "Atera agent is already installed on this endpoint." }
|
||||||
|
|
||||||
|
Remove-Item $MyInvocation.MyCommand.Path -Force
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user