Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Powershell command help

$
0
0

Hi I have a powershell startup script in a GPO for Computers that reads like this..... Start-process myfileserver\sys02\SoftwareDeployedbyGPO\Office2013LyncClient\setup.exe" -argumentlist "/adminfile", "Updates/Lync2013.MSP"  this script works when I ran it manually.  My question is if I have this in a GPO for computer startup wont Lync 2013 try to install at every startup?  What can I add to the script so it looks to see if it is installed and if it is to end, do nothing?  I am not a powershell guru so hope this is a really easy one for you :-)  Please note most pc's still run either Office 2007 or 2010 so my msp is to just install Lync 2013 and as I said it does work when executed  manually.

Thanks in advance!


Viewing all articles
Browse latest Browse all 19997

Trending Articles



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