update
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -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')))
|
||||
@@ -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." }
|
||||
Reference in New Issue
Block a user