0

I have PowerShell script. I want to call from chef. How can we call it from chef?

param(
  [string] $dataSource  
)
function Invoke-SQL {
  $dataSource | out-file D:\Parameter.txt
}

Invoke-SQL -dataSource $dataSource 
Mathias R. Jessen
  • 157,619
  • 12
  • 148
  • 206

0 Answers0