This commit is contained in:
2020-09-07 17:09:46 -04:00
parent 9d642b5a1a
commit b28fbf3353
5 changed files with 13 additions and 15 deletions
-4
View File
@@ -1,7 +1,3 @@
param(
[string]$VisionURL='https://dbia.deltekfirst.com/DBIAClient/DeltekVision.application'
)
## Installation location for shortcut
$InstallLocation = "${Env:Public}\Desktop\Deltek Vision.lnk"
+4 -4
View File
@@ -1,7 +1,7 @@
param(
[string]$URL,
[string]$INSTALLER='https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/resources/LiquidFiles_Admin_2.0.114.msi'
)
param([string]$URL)
## Path to the MSI installer
$INSTALLER='https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/resources/LiquidFiles_Admin_2.0.114.msi'
## Set installer args
If ( $URL )
+4 -1
View File
@@ -1,4 +1,7 @@
# Management Scripts
Dot source any of the Powershell scripts with the following:
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('$URL')))
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('$URL')))
Dot source the Tools.ps1 script with the following:
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
-2
View File
@@ -1,2 +0,0 @@
#Requires -Version 2.0
@@ -1,8 +1,9 @@
if ( Test-Path "${Env:ProgramFiles(x86)}\CCleaner Cloud\uninst.exe" ) {
If ( Test-Path "${Env:ProgramFiles(x86)}\CCleaner Cloud\uninst.exe" ) {
Start-Process -FilePath "${Env:ProgramFiles(x86)}\CCleaner Cloud\uninst.exe" -ArgumentList "/S" -Wait
Write-Host "CCleaner Cloud has been uninstalled."
Write-Output "CCleaner Cloud has been uninstalled."
}
elseif ( Test-Path "${Env:ProgramFiles}\CCleaner Cloud\uninst.exe" ) {
ElseIf ( Test-Path "${Env:ProgramFiles}\CCleaner Cloud\uninst.exe" ) {
Start-Process -FilePath "${Env:ProgramFiles}\CCleaner Cloud\uninst.exe" -ArgumentList "/S" -Wait
Write-Host "CCleaner Cloud has been uninstalled."
} else { Write-Host "CCleaner Cloud is not installed." }
}
Else { Write-Output "CCleaner Cloud is not installed." }