Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Weekend Scripter: A Look at the PoshRSJob Module

Summary: Boe Prox presents a module for working with runspaces. Honorary Scripting Guy and Cloud and Datacenter Management MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. Today I finish up my series about using runspaces in PowerShell by showing you a module that I put together that makes working with runspaces a...

PowerTip: Add Custom Function to Runspace Pool

Summary: Boe Prox shows how to add a custom function to a runspace pool.(image)  How can I use Windows PowerShell to add a custom function to a runspace pool?(image)  Use the following approach:#Custom FunctionFunction ConvertTo-Hex {    Param([int]$Number)    '0x{0:x}' -f $Number}#Get body of function$...

Beginning Use of PowerShell Runspaces: Part 3

Summary: Boe Prox shows us some tips about using runspace pools for multithreading. Honorary Scripting Guy and Cloud and Datacenter Management MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. Note   This is a four-part series that includes the following posts: After spending the past ...

Beginning Use of PowerShell Runspaces: Part 2

Summary: Boe Prox presents some tips about beginning use with runspaces. Honorary Scripting Guy and Cloud and Datacenter Management MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. Note   This is a four-part series that includes the following posts: Yesterday, we spent some time ...