Functions/Restart-AxwayTrayApp.ps1
|
function Restart-AxwayTrayApp { <# .SYNOPSIS Short description .DESCRIPTION Long description .PARAMETER ComputerName Specifies the name of one or more computers. .PARAMETER Path Specifies a path to one or more locations. .EXAMPLE C:\PS>Restart-AxwayTrayApp Example of how to use this cmdlet .EXAMPLE C:\PS>Restart-AxwayTrayApp -PARAMETER Another example of how to use this cmdlet but with a parameter or switch. .NOTES Author: Skyler Hart Created: 2021-06-16 23:25:56 Last Edit: 2021-06-16 23:25:56 Keywords: Other: Requires: -Module ActiveDirectory -PSSnapin Microsoft.Exchange.Management.PowerShell.Admin -RunAsAdministrator .LINK https://wanderingstag.github.io #> Get-Process | Where-Object {$_.Name -match "dvtray"} | Stop-Process -Force | Out-Null & 'C:\Program Files\Tumbleweed\Desktop Validator\DVTrayApp.exe' } |