[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 of the Get-Random command, using … Read more[Video] Improving Randomness in the Get-Random PowerShell Command

Azure Template Deployment with PowerShell :: MTUG Norway

On August 26th, 2015, I delivered a presentation on deploying Azure Resource Manager (ARM) JSON templates using the ARM PowerShell module for the Microsoft Technology User Group (MTUG) in Norway. This event was coordinated by Microsoft MVP Jan Egil Ring. You can view the 1.5 hour recording of the presentation below. MTUG Script Club – … Read moreAzure Template Deployment with PowerShell :: MTUG Norway

PowerShell Splatting: Overview

Have you ever been writing a PowerShell script, and looked at how wordy and long the command becomes? If so, you’ll want to familiarize yourself with the concept of PowerShell Splatting. This technique allows you to declare your PowerShell cmdlet parameters in a HashTable (aka. dictionary or key-value pairs), and then “splat” those parameters onto … Read morePowerShell Splatting: Overview

Clean up unused Azure VHD Disks

Introduction The Microsoft Azure platform maintains a list of VHD blobs that have been registered as “disks” in your Azure subscription. You can view a list of registered “disks” by opening the Azure Portal, going to the Virtual Machines node, and selecting the Disks link. Each Azure disk has a property called AttachedTo that indicates … Read moreClean up unused Azure VHD Disks

Microsoft Azure Visio Stencils

Are you looking for Microsoft Office Visio stencils, or PNG icon sets, for Microsoft Azure? Perhaps you’re building an architectural diagram or writing technical documentation. Either way, Microsoft has recently made available an updated set of Visio stencils, PNG icons, and a Microsoft PowerPoint slide deck to preview them all! Head over to the Microsoft … Read moreMicrosoft Azure Visio Stencils

ConfigMgr: A Couple of Client Tweaks via PowerShell

Disable WINS Lookup via PowerShell & WMI If you’re running Microsoft System Center Configuration Manager, you probably don’t need to be using the WINS lookup for Server Locator Points. Normally, you’d have to de-install the ConfigMgr client, and then re-install it with the SMSDIRECTORYLOOKUP=NOWINS MSI property. If you don’t want to do that, and want … Read moreConfigMgr: A Couple of Client Tweaks via PowerShell

PowerShell: Tracert or Trace-Route?

UPDATE (2012-07-27): Justin Dearing (@zippy1981) sent me an updated version of the script, which improves on the following:

  • Has some comment-based help
  • Parameter checking

Grab it here: Invoke-TraceRoute.ps1


Any network or systems administrator is familiar with the good old tracert.exe utility that’s been included outof-the-box in Windows for years now. Tracert allows you to identify each “hop” (typically a router) between two IP endpoints on a network. Since this utility was developed long before PowerShell existed, and has been time-tested, it hasn’t been implemented yet as a PowerShell cmdlet. That being said, PowerShell folks often do not enjoy reliance on external dependencies, and prefer the flexibility of an API that can provide only the information that they want or need. To that end, I have developed a Trace-Route PowerShell advanced function (cmdlet) that emulates a limited set of functionality offered by tracert.exe.

Read morePowerShell: Tracert or Trace-Route?