Tag Archives: powershell

Republish: The (Former) Complexity of PowerShell

I’m at SQL Bits today, teaching a pre-con with Grant, so I’m republishing The (Former) Complexity of PowerShell

Posted in Editorial | Tagged | Comments Off on Republish: The (Former) Complexity of PowerShell

Getting a Day Difference in PowerShell–#SQLNewBlogger

Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers. SSMS froze on me the other day. Actually, it lightly responded to some things, but the window wouldn’t redraw … Continue reading

Posted in Blog | Tagged , , | Comments Off on Getting a Day Difference in PowerShell–#SQLNewBlogger

A Little Current Date Arithmetic in Powershell–#SQLNewBlogger

Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers. I saw a fun post on Twitter recently asking days until retirement. I wrote this code: DECLARE @YearsToRetire INT … Continue reading

Posted in Blog | Tagged , , | 1 Comment

Searching dbatools–#SQLNewBlogger

Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers. I learned something new about dbatools. That’s using the Find-DbaCommand cmdlet, which is handier than Get-Command. I’ll show you … Continue reading

Posted in Blog | Tagged , , , | Comments Off on Searching dbatools–#SQLNewBlogger