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
Post a Comment