delete desktop icon after install
This commit is contained in:
@@ -44,3 +44,7 @@ Catch { LogErr $_.Exception.Message }
|
|||||||
LogMsg "Setting Emberkom Cloud Backup agent edition to ""$AgentEdition"""
|
LogMsg "Setting Emberkom Cloud Backup agent edition to ""$AgentEdition"""
|
||||||
Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose }
|
Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose }
|
||||||
Catch { LogErr $_.Exception.Message }
|
Catch { LogErr $_.Exception.Message }
|
||||||
|
|
||||||
|
## Delete the desktop icon
|
||||||
|
"${Env:PUBLIC}\Desktop\Emberkom Backup.LNK",
|
||||||
|
"${Env:PUBLIC}\Desktop\Emberkom Cloud Backup.LNK" | Remove-File
|
||||||
Reference in New Issue
Block a user