Headmasters
asked on
SQL 2014 Agent PowerShell
We have just migrated our database and SQL agent jobs from SQL server 2008 to our new 2014 SQL server.
The below is a step within a SQL Agent Job but now the job is failing on the powershell script and is coming back with Invalid Path.
New-Item '\\Server3\Release Files$\Success\Release\Rel ease.txt" -type file -force'
Any ideas? I have tried the below
powershell.exe -command "New-Item '\\Server3\Release Files$\Success\Release\Rel ease.txt" -type file -force"
The below is a step within a SQL Agent Job but now the job is failing on the powershell script and is coming back with Invalid Path.
New-Item '\\Server3\Release Files$\Success\Release\Rel
Any ideas? I have tried the below
powershell.exe -command "New-Item '\\Server3\Release Files$\Success\Release\Rel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.