Powershell can easily communicate with SQL Server and can execute Stored Procedures. Following sample code can execute a Stored Procedures with Parameter. if you stored Procedure is returning some data please see the function “getDATAwithSP” described above, Please note above highlighted lines, If you do not store the values returned on above lines functions start […]
You are browsing archives for
Tag: PowerShell
File cannot be loaded because the execut...
while executing powershell scripts from command prompt you might face this error “File cannot be loaded because the execution of scripts is disabled on this system” To fix this open Your PowerShell command Prompt and issue following command to check the current execution policy You will see some thing like this Image with if you […]