on-internet
← Community

Powershell throws an error "The term 'sqlcmd' is not recognized as the name of a cmdlet, function, script file, or operable program"

Stack Overflow ·

I have to schedule a jams job for sending a report to a client. But my job failed and I get an error in the log file The term 'sqlcmd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. This is my PowerShell script: param ( [string]$DatabaseServer = "COREP02P.centiv.com", [string]$SFTPPath = "/home/cdibrm02/", [string]$SFTPServer = "test-externalftp.prudential.com", [string]$SFTPCredential = "PrudentiaReport-SFTP-Test", [string]$JamsServerName = "jams01d

Comments

Sign in or sign up to comment and upvote.

No comments yet.