To wrap up this series of PowerShell articles, let's take a look at a few tips and tricks for working with PowerShell in SQL Server on a regular basis. To wrap up this series of PowerShell articles, ...
Use PowerShell to script objects on a schedule or in a special order. Use PowerShell if you need to switch between windows and SQL commands or even share data between the two. It’s much easier in ...
Sometimes you become the accidental DBA, or you are the DBA by choice. Either way, you can choose to spend time working in SQL Server Management Studio (SSMS) to look at things such as backups or the ...
Another good example is adding user permissions to all the schemas in a database. You can code this in T-SQL, but T-SQL requires the inclusion of unsafe dynamic SQL code inside a cursor. You can ...
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 ...
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 ...
Although spanking new in Katmai, Policy-Based Management already seems mature. The inclusion of PowerShell will reinvent the way DBAs manage their environments by taking complicated cursors out of ...
Knowing how to automate tasks in the cloud will make you a more productive DBA. Here are the key concepts to understand about cloud scripting and a rundown of the best tools for automating code in ...
Windows PowerShell has long been an IT administrator’s best friend — but only if you know how to use it properly. Created by Microsoft nearly two decades ago, this object-oriented automation engine ...
Although spanking new in Katmai, Policy-Based Management already seems mature. The inclusion of PowerShell will reinvent the way DBAs manage their environments by taking complicated cursors out of ...