Installing Citrix receiver VIA PowerShell -


i'm trying create script install receiver i'm getting popup box asking if i'm sure.

$installfiles = "c:\users\raw.admin\documents\citrixreceiver.exe" $argumentlist = '/silent /includesson enable_sson=yes enableprelaunch=true allowaddstore=a store0="kiewit;https://apps.kiewit.com/citrix/kiewit/discovery;on"' write-host "installing citrix receiver" start-process -filepath $installfiles -argumentlist $argumentlist -wait ##make sure single sign in provider order key  $path = "hklm:\system\currentcontrolset\control\networkprovider\order"  $providerorder = (get-itemproperty -path $path).providerorder if ($providerorder -notlike "*pnsson*")  {     set-itemproperty -path $path -name providerorder -value ($providerorder + ",pnsson")     $newproviderorder = (get-itemproperty -path $path).providerorder     write-host provider order key has following values   $newproviderorder } else  {     write-host "pnsson present in provider order" }  write-host "installation complete" 

i don't want user prompt answer question of yes or no. can done or user have live with?


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -