delete desktop icon after install

This commit is contained in:
2021-10-08 05:41:49 -04:00
parent 087516fde3
commit 98571828d8
+4
View File
@@ -44,3 +44,7 @@ Catch { LogErr $_.Exception.Message }
LogMsg "Setting Emberkom Cloud Backup agent edition to ""$AgentEdition"""
Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose }
Catch { LogErr $_.Exception.Message }
## Delete the desktop icon
"${Env:PUBLIC}\Desktop\Emberkom Backup.LNK",
"${Env:PUBLIC}\Desktop\Emberkom Cloud Backup.LNK" | Remove-File