delete desktop icon after install
This commit is contained in:
@@ -43,4 +43,8 @@ Catch { LogErr $_.Exception.Message }
|
|||||||
## Note: the product edition must be set *after* the user is added
|
## Note: the product edition must be set *after* the user is added
|
||||||
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