We need to run below command on Widows servers via BigFix. But are unable to do so since the command gets completed as per the logs but no changes on the target server.
Set-Culture en-US
Please help to execute the same.
We need to run below command on Widows servers via BigFix. But are unable to do so since the command gets completed as per the logs but no changes on the target server.
Set-Culture en-US
Please help to execute the same.
According to https://docs.microsoft.com/en-us/powershell/module/international/set-culture?view=windowsserver2019-ps, the Set-Culture
command configuration is specific to the current user account. By default, the user context for commands executed by BigFix on Windows is LOCAL SYSTEM. You can override this however. Please see the https://developer.bigfix.com/action-script/reference/execution/override.html actionscript command and note the âRunAsâ section.
Have tried using runas currentuser but still the command gets completed successfully without any changes on the server.
Hi Aram, Can you please help with the exact custom fixlet content that can give us the output
Hello Andy,
did you try something similar to the following snippet?
override wait
runas=currentuser
completion=job
hidden=true
wait â{parameter âoutsideOfClientFolderâ}\run.batâ
you can get a real example of the actionscript by selecting the âCurrent User (Windows Only)â radio button in the section âRun Command As:â of the edit task wizard of the SWD dashboard.
Regards