PowerShell

External Article

Persistent PowerShell: The PowerShell Profile

  • Article

You can mould PowerShell to the way you want to work, with all the settings and modules that you require, by using the profiles. Profiles are PowerShell scripts that run at startup, and once you have understood where they are and when each is used, they have a whole range of uses that make using PowerShell a lot more convenient.

2016-06-24

5,348 reads

External Article

The PoSh DBA: Accessing SQL Server from PowerShell

  • Article

The worst part for a DBA of getting started with PowerShell is often just figuring out the best way of working with SQL Server. The most suitable approach to accessing SQL Server depends on the sort of task you need to produce a script for. Laerte Junior aims at a simple guide to the most common approaches and when to use them.

2016-06-14

3,826 reads

External Article

PowerShell Desired State Configuration: Pull Mode

  • Article

Automated configuration management is simpler with Desired State Configuration (DSC) and Push mode, but what is the best way to use DSC to automate deployments on your machines? ‘Push’ mode or ‘Pull’ mode? How can you reduce configuration-drift over time? Nicolas Prigent describes the second DSC deployment mode: Pull mode.

2016-06-13

3,500 reads

External Article

Unified Approach to Generating Documentation for PowerShell Cmdlets

  • Article

Now, it is easy to provide professional-quality documentation for PowerShell cmdlets, and to keep it in sync when you make changes, whether they are written in PowerShell or C#. While this has always been easy to do in PowerShell, it was always painful to do in C# or VB because it meant having to build your own MAML file. Michael Sorens completes his three-part series by summarising, in a wallchart, how to go about it.

2016-05-24

2,675 reads

External Article

Documenting SQL Server with PowerShell

  • Article

SQL Server instances are generally poorly-documented. How easily can you tell if something has changed? How easily can you check that there is adequate space for growth? Are you up-to-date with licenses? What errors are happening? Who has accessing the system? Before PowerShell, it was difficult to be on top of all this. Now you can, with the help of Sander's database documenter.

2016-03-17

5,004 reads

Blogs

Dry-run xp_delete_file Before Actually Deleting Files?

By

Dry-run xp_delete_file Before Actually Deleting Files? xp_delete_file doesn’t really have a...

Happy Thanksgiving! (USA Holiday)

By

In the United States, today is Thanksgiving. The intent behind the holiday is to...

Getting SQL Server 2025 RTM Running in Containers on macOS

By

SQL Server 2025 RTM is here, and if you’re running Docker on macOS, you...

Read the latest Blogs

Forums

Cannot execute SQL cursor in Azure Query Editor (Preview)

By omkarp88

Apologies if this is posted in the wrong forum, but I am trying to...

SQl Server 2014 linked server remote server

By johnnyrmtl

Hello all, I have a linked server created on an instance which only has...

Find all the tables in a database containing particular column value

By RCRock

Hi, I want to find all the tables name under a database where tables...

Visit the forum

Question of the Day

The Ending Substring

In Azure SQL Database and SQL Server 2025, if I run this, what is returned?

SELECT '[' + SUBSTRING('Steve Jones', 7) + ']'

See possible answers