Tag Archives: Server

Query SQL database from PowerShell

I’ve been working on a larger script where I needed to query a database to see if a value was present or not, something I thought was pretty much straight forward. However, this turned out to be a bit harder … Continue reading

Posted in Powershell | Tagged , , , , , , | 1 Comment

Install SQL Server PowerShell Module (SQLPS)

When installing SQL server, the PowerShell modules are installed by default, but if you wan’t to run scripts or commands from a computer/server that hasn’t got an installation of SQL, you need to install these manually.

Posted in Powershell | Tagged , , , , , | 2 Comments