Do you ever need to quickly hop between PowerShell tabs in VScode, or have data you want to move from one session to another?
Sure, you could output your data into a .CSV file, a .JSon file, or one of hundreds of other options. But sometimes it’s nice to just paste right into a new window and get up and running again. For that, I wrote this small little cmdlet.
While I’m working on some longer posts, I thought I’d share a quick snippet I came up with this weekend as I was backing up a number of old DVDs of family movies.
FFMPeg has the awesome ability to join a number of video files together for you, but the syntax can be kind of strange. Once I learned the syntax, I sought to make sure I never had to do it again, and created this cmdlet.
In this basic version, it will join every file in a directory, giving you Output.mkv. Be sure your files in the directory are sequentially ordered as well, to control their position.
Ensure that FFMpeg’s binaries are available in your Path variable as well.
Later on, I may add the ability to provide which specific files you want to join, if desired 🙂
Windows 10 built on the awesome features of Windows 8, and brought over the very powerful ‘Refresh My PC’ and ‘Reset My PC’ options. Truly awesome, they’re able to refresh the base OS and forklift over your files, giving you that ‘just installed’ smell we all love so much.
I love that smell so much in fact, that I buy a new car every few weeks, or sometimes sleep in cars at the CarMax down the road from my house. Mmmmm plastic and leather offgas.
However, sometimes things go awry, and from no fault of our own, we can end up with a system which will refuse to either reset or refresh. Read on to see how to fix this problem. Continue reading →
It’s SO tedious to track down the update rollup version of SCOM, as the SCOM console still doesn’t have this information available (only major releases!), so you end up looking through the registry or digging into files trying to look at the file version manually.
I wrote this little script in PowerShell. Simply CD into the drive where SCOM is installed and it will track down the SCOM install directory for you, then pull out the Update rollup version and return it to screen.