Hi,
I have created action and their workflow in PowerShell plug-in with following script
Invoke-Item 'C:\Program Files\ Active Directory Federation Service 2.0\FsConfig.exe StandAlone /AutoCertRolloverEnabled'
here "StandAlone" and "/AutoCertRolloverEnabled'" are parameter for the exe file
When I execute this workflow it throws following error
[2012-06-28 16:46:47.093] [D] Invoke command in session 8035aa49-f95e-4954-b977-a2d8e39803e0
[2012-06-28 16:46:49.203] [E] PowerShellInvocationError: Errors found while executing script System.Management.Automation.ParameterBindingException: A positional parameter cannot be found that accepts argument 'StandAlone'.
-AnuragR
Hi,
may be that invoke-item is the wrong command, try
& 'C:\Program Files\ Active Directory Federation Service 2.0\FsConfig.exe' StandAlone /AutoCertRolloverEnabled
Thomas
Thanks Thomas for reply. I had aleady tried with appending & but it was not working for me through VCO. Now I able to execute it in the following way
CMD /C 'C:\Program Files\ Active Directory Federation Services 2.0\FsConfig.exe' StandAlone /AutoCertRolloverEnabled
--AnuragR