Is there a way to reload/refresh an existing powershell window so that it can then import a newly install module? I did try a cheeky: Invoke-Command -ComputerName localhost -ScriptBlock {Invoke-SqlCmd -inputscript “\UNCpathtoscript.sql”}
Categories
