concept PowerShell in category dbatools
appears as: PowerShell, PowerShell

This is an excerpt from Manning's book Learn dbatools in a Month of Lunches.
Figure 1.2. Color coded Excel output from PowerShell
![]()
PowerShell, as a scripting language that can interact with many technologies, is an excellent tool for such automation.
Listing 4.2. Test SQL Engine and PowerShell remoting connectivity to a local instance
PS C:\> Test-DbaConnection -SqlInstance $Env:ComputerName