Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: how does the script handle if program is running on target client?

$
0
0
Hi Sean

Thanks.. I'll reread the docs..
if show-installationWelcome is only activated if process is running then I'll use that..
if not.. I might just use:

$ProcessActive = Get-Process outlook -ErrorAction SilentlyContinue
if($ProcessActive -eq $null)
{

Do my installation of itunes

}
else
{

Show-InstallationWelcome -CloseApps "iTunes.exe" etc etc

}

Viewing all articles
Browse latest Browse all 1769

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>