Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Need help to run a Powershell from SQL Server

$
0
0
Hi All,I have a requirement to kick off a[b] Powershell script[/b] and pass a [b].txt[/b] file with it.it works fine in [b]Powershell ISE[/b] but I'm not able to run in from [b]SQL Server[/b].[code="xml"]Get-Content D:\Temp\ServerList.txt | D:\Temp\StopDisableWindowsUpdateService.ps1[/code]

Viewing all articles
Browse latest Browse all 467

Trending Articles