Currently browsing tag

SQL Server


The Invoke-Sqlcmd cmdlet is a SQL Server cmdlet that runs scripts that contain statements from the languages (Transact-SQL and XQuery) and commands that are supported by the sqlcmd utility.
Great! Let’s use it.

The term ‘invoke-sqlcmd’ is not recognized as the name of a cmdlet, function, script file, or operable program.


Database mirroring is a solution for increasing the availability of a SQL Server database. Mirroring is implemented on a per-database basis and works only with databases that use the full recovery model.


Database mirroring setup is a pretty easy thing. The point here is not really to make a complicated process easier but to standadize the way we can set this up.

SQL Server PowerShell | Use the Database Engine cmdlets | Mirror-Database

Scroll to Top