I’ve created a script that monitors a table in a SQL Server database. I’m only interested in one column in the table: TimeStamp. If the maximum (newest) value in TimeStamp is more than 30 minutes ...
Unfortunately, not every SQL database is always available when we expect it to be. When you're creating automation scripts to discover, add, update or remove records from a remote SQL database, you ...
Throughout this series of posts there have been a number of examples of how to use the SQL Server PowerShell provider. However, these were always in context with a specific task (i.e. automating ...
There are lots of ways to create MSSQL databases via PowerShell. We could invoke a T-SQL query using the CREATE DATABASE term, we could write some code to use the [Create() method with SMO] or, if ...
When I (along with many other people) had a lot of trouble trying to install SQL Server Management Studio in an attempt to switch from the SQL Server 2008 R2 evaluation to the free Express version, I ...
Solutions provider takeaway: This chapter excerpt offers information on PowerShell commands, uses, features, enhancements and command types in Windows Server 2008 R2. PowerShell can help solutions ...
Editor's note: Adam Bertram originally wrote the article and Brien Posey expanded it. The PowerShell parameter is a fundamental component of most PowerShell scripts. Parameters make it possible to ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results