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 
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 
