PowerShell Command References a File or Folder That Does Not Exist
Symptoms
During the deployment of the PowerShell command cd C:/abcd/, an error message is displayed.
![Click to enlarge](https://support.huaweicloud.com/eu/deployman_faq/en-us_image_0000001518183625.png)
Cause Analysis
The Windows host has an error correction mechanism when deploying the action Run PowerShell Commands. Therefore, the deployment will not fail. However, the log shows that the file is not found.
Solution
Modify the path or file name in the PowerShell command.
Running PowerShell Commands FAQs
- Deployment of the Action Run PowerShell Commands Times Out
- Unidentified PowerShell Commands Are Used
- PowerShell Command References a File or Folder That Does Not Exist
- How Does a PowerShell Command Reference Parameters?
- Parameters Contain Backslashes (\)
- No Host Exists in the Environment.
- Environment Does Not Exist.
- Failed to Deploy an Application on a Windows Host
- Deployment Blocked by Third-Party Antivirus Software
- Invalid Path
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more