Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RobinBeismann/73aa171b5d8f4ded99212b3576c65429 to your computer and use it in GitHub Desktop.
Save RobinBeismann/73aa171b5d8f4ded99212b3576c65429 to your computer and use it in GitHub Desktop.
$installFolder = "$env:ProgramFiles\BomgarJumpClient"
if(
(Test-Path -Path $installFolder) -and
(Test-Path -Path "$installFolder\bomgar-scc.exe") -and
(Test-Path -Path "$installFolder\server.lic")
){
Get-ChildItem -Path $installFolder | Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-7) } | ForEach-Object {
"Installed"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment