Category: PowerShell

Remove the new ad in PowerShell 5.1 on Windows 10

I really abhor the new ad in the PowerShell 5.1 console and it seems there’s no hope of Microsoft making it go away. After a long, involved Twitter conversation with the community and the PowerShell team that confirmed it’s impossible

Posted in PowerShell

Using robocopy to move SQL Server files

When performing file migrations, PowerShell’s `Copy-Item` is not ideal. Use robocopy with these parameters instead.

Posted in PowerShell, SQL Server

My Second Twitch Livestream Setup

It’s been about a month and I’m becoming more acclimated to livestreaming on Twitch. Here’s what I’ve learned.

Posted in Livestreaming, PowerShell

My First Twitch Livestream Setup

Back in December, I found Twitch and fell in love with livestreaming. It was amazing watching people code in PowerShell with blinged out profiles and cool cut screens. Whaaat, this is a thing? I love it! Getting started I jumped

Posted in Livestreaming, PowerShell

Even faster PowerShell module loading

Update: This method is faster but some anti-virus software hate it. I’ve since reverted our method of import to an all-in-one ps1 πŸ‘Ž Considering dbatools now has over 500 commands, we are always eager to keep an eye on the

Posted in PowerShell

your code doesn’t suck

Recently, I had a couple colleagues tell me that their PowerShell code sucks. One of them is a beginner who manages a large SharePoint farm and the other is more advanced and wrote a few commands that saves me hours

Posted in PowerShell

a huge thanks

Yesterday, I presented at PSPowerHour and during my intro, my iPad’s volume turned up so I got distracted when talking about something that really meant a lot to me.

Posted in PowerShell

T-SQL Tuesday #104: Code I Would Hate To Live Without

Today’s blog post is part of T-SQL Tuesday. T-SQL Tuesday is the brainchild of Adam Machanic. It is a monthly blog party on the second Tuesday of each month. Everyone is welcome to participate. This month’s T-SQL Tuesday, hosted by

Posted in PowerShell, SQL Server