Files
management-scripts/Install-DeltekVision.ps1
T
dyoder 4b84f79083 remove unnecessary code from Install-DeltekVision.ps1
comment out Create-Shortcut from Install-Wireguard.ps1
fix some log messages in Tools.ps1
2020-12-03 20:18:23 -05:00

15 lines
773 B
PowerShell

. 'C:\Users\dyoder\Emberkom\Data\Projects\development\management-scripts\Tools.ps1'
$VisionURL = 'https://dbia.deltekfirst.com/DBIAClient/DeltekVision.application'
## Get the correct path to IE
If ( Test-Path "${Env:ProgramFiles(x86)}" ) { $IEPATH = "${Env:ProgramFiles(x86)}\Internet Explorer\iexplore.exe" }
Else { $IEPATH = "${Env:ProgramFiles(x86)}\Internet Explorer\iexplore.exe" }
If ( $VisionURL ) {
## Make sure IE exists where we expect it to
If ( Test-Path $IEPATH ) {
Create-Shortcut -Path "${Env:Public}\Desktop\Deltek Vision.lnk" -TargetPath $IEPATH -Arguments $VisionURL -Description "Launch Deltek Vision"
}
Else { LogMsg "Internet Explorer could not be found: ${IEPATH}" }
}
Else { LogMsg "No URL to Deltek Vision was specified!" }