setuphelpers.run_powershell
Published: November 14, 2023 - 09:12
Good morning,
After research and various tests, I am unable to use and find information regarding the possibility of doing "multi-line" with the run_powershell function.
https://www.wapt.fr/apidoc/wapt-2.4/win ... powershell
THANKS
Sincerely
After research and various tests, I am unable to use and find information regarding the possibility of doing "multi-line" with the run_powershell function.
https://www.wapt.fr/apidoc/wapt-2.4/win ... powershell
Code: Select all
setuphelpers.run_powershell(cmd, output_format='json', **kwargs)[source]Do you have any examples or documentation on this topic?Run a command/script (possibly multiline) using powershell, return output in text format If format is 'json', the result is piped to ConvertTo-Json and converted back to a python dict for convenient use
THANKS
Sincerely