Tag Archives: powershell

Parsing EXE Output in PowerShell

I saw a post internally that asked this question: Anyone have a handy powershell script testing if the installed flyway version matches a specific string? That seemed simple, but getting program output from PoSh wasn’t something I’ve tried. So I … Continue reading

Posted in Blog | Tagged , , | 2 Comments

Updating dbatools–Fixing the Certificate Failure

I was trying to update my dbatools install to test something and go this error. I fixed it with a little help. The Fix The short answer from Chrissy LeMaire is to run this: install-module dbatools  -Force –SkipPublisherCheck That worked. … Continue reading

Posted in Blog | Tagged , , | 1 Comment

Executing One Line in VSCode–#SQLNewBlogger

I wrote about arrays in PowerShell last week, but I realized one of the things I did while experimenting was look up how to run code a line at a time. I’m sure you can Google for that, but I … Continue reading

Posted in Blog | Tagged , , | Comments Off on Executing One Line in VSCode–#SQLNewBlogger

Removing a PowerShell Array Element–#SQLNewBlogger

I saw an article on this and realized I had no idea how to do this, so I decided to practice a bit. I don’t work with PoSh arrays a lot, but with more and more DevOps work needing complex … Continue reading

Posted in Blog | Tagged , , | Comments Off on Removing a PowerShell Array Element–#SQLNewBlogger