CBT Nuggets: Manage Scheduled Tasks on Windows with PowerShell

Hey folks, there is some new video training on the CBT Nuggets platform that might interest you! If you’re learning how to schedule recurring tasks with PowerShell, using modules like PSScheduledJobs, ScheduledTasks, and even the traditional schtasks.exe command line utility, you’ll want to check this out. If you have a …

Continue reading

Speed Up PowerShell Startup, Without Sacrificing Functionality

When you launch a new PowerShell session, you might have some environmental configuration that is performed. For example, you might customize your shell prompt, or pre-load some Powershell modules. Typically this is done by configuring your PowerShell profile script. Over time, you might find that you’ve added more and more …

Continue reading

Write Code Faster using Visual Studio Code & Error Lens

If you’re in a professional role where you’re writing lots of code, it pays to write better code, faster. Following onto that, the better your tool-chain is, the faster you can write code. You generally expect your tools to provide feedback as quickly as possible, so that you can fix …

Continue reading

Finding Windows and Amazon Linux AMIs with PowerShell

Amazon Web Services (AWS) provides some built-in parameters in the AWS Systems Manager Parameter Store service, which expose pointers to the latest version of Amazon Machine Images (AMI) for Windows Server and Amazon Linux. These special parameters are called “public parameters” in the Parameter Store services; for more information, check …

Continue reading

[Video] Improving Randomness in the Get-Random PowerShell Command

Although it may seem like the Get-Random command in PowerShell provides random data, it actually returns data that is more predictable than you think. If you’re looking to generate some truly “interesting” data for your project, then you’ll want a better approach. In this video, we’ll explore the limited randomness …

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