Motorcycle vlogging via Bluetooth / Android

Overview If you’re a motorcycle rider, like me, you might be interested in recording audio and video during your rides. Recording your ride can offer both entertainment and security. I bought a Bilt Techno 2.0 Evolution modular helmet from Cyclegear, which also included an integrated Sena DWO-5 headset (Sena SMH-5 …

Continue reading

Initialize a Byte Array in PowerShell

Sometimes you’ll need to initialize a new buffer as an array of bytes. For example, if you want to generate random data using the NextBytes() method on the System.Random class,  you need to pass in a byte array buffer for the method to write to. Creating a byte array in …

Continue reading

Keep AWS PowerShell Module Updated on Mac OS

Are you on Mac OS and need to keep your AWS PowerShell module up-to-date? As you’ve probably noticed, there are frequently new versions of the AWS PowerShell module being released, to keep pace with new services and service features being added to Amazon Web Services (AWS) cloud. Updating PowerShell modules …

Continue reading

PowerShell Intellisense: ScriptBlock Handler Parameters

I keep forgetting the names of the parameters that are passed into the ScriptBlock handlers for PowerShell Intellisense (aka. tab-completion / auto-completion). Hence, I’m posting the list of parameters here, along with a simple example. $commandName – the name of the PowerShell command that Intellisense was invoked for. $parameterName – …

Continue reading

Restore Default PowerShell Gallery Repository

If you’ve accidentally deleted the PowerShell Gallery (PSGallery) repository from your system, you can restore it using the following command. Register-PSRepository -Default In fact, if you try to re-register the PowerShell Gallery using the same method that you’d register a custom repository (see below) … $Repository = @{ Name = …

Continue reading

Change VSCode Integrated Terminal to PowerShell

Visual Studio Code :: Integrated Terminal Setting

Visual Studio Code is an excellent developer tool for PowerShell projects. However, regardless of which type of project you’re developing (C#, Node.js, Python, etc.), you can benefit from changing your default shell to the powerful, object-oriented PowerShell shell. Now, you may not want to change your default shell for the …

Continue reading

Write PowerShell Modules, not Scripts

Write PowerShell Modules, Not Scripts

When you think of PowerShell, is writing a PowerShell “script” one of the first things you think of? If so, I implore you to read on and think about the next time you write any PowerShell code. During the rest of this article, I’ll attempt to describe a gap I’ve …

Continue reading

Evernote Privacy Warning :: Disable Data Sharing

Evernote has recently come under fire for their new privacy policy that is intended to enable machine learning, with a goal of improving user experience. For some users, who aren’t storing critically sensitive data, this might not mean too much, but certain users have trade secrets that must be kept …

Continue reading