Announcements
Trying to run the sqlcmd command in Power Shell or Cmd from Power Automate Desktop gives an error. Outside if it works. How can I solve that?
This is the error:
Could you share the screenshot?
+ CategoryInfo : ObjectNotFound: (sqlcmd:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException
I am not sure about the solution. Hope the below link will help you
https://stackoverflow.com/questions/37825030/invoke-sqlcmd-is-not-recognized-as-the-name-of-a-cmdlet
https://stackoverflow.com/questions/48622914/sql-powershell-error-invoke-sqlcmd-the-term-invoke-sqlcmd-is-not-recognized
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
David_MA 245 Super User 2026 Season 2
11manish 233 Super User 2026 Season 2
Valantis 136 Super User 2026 Season 2