Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page

Running PowerShell Scripts Failed

Updated on 2023-11-28 GMT+08:00

Symptoms

The error message "module_stderr": "Test-Path : Cannot bind argument to parameter 'Path' because it is an empty str\r\ning. is displayed.

Cause Analysis

Ansible is used to deploy the action Run PowerShell Script. The Windows path incorrectly uses a backslash (\) instead of a forward slash (/).

Solution

Check the entered path and ensure that the path uses forward slashes (/).

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback