In PowerShell and many languages, an array is a set of items all represented by a single variable. To explain arrays and how to manage them in PowerShell, let's start with the example of a set of ...
PowerShell, like other programming languages, has different object types. These types are a way to define a kind of schema for how each object behaves. A few common types you may have heard of are ...
In the second part of this series, Brien shows how to import a .CSV file into a PowerShell array, including two methods for zooming in on just the specific data you need and filtering out the rest. In ...
So I'm working on some code to work around some stupid Okta limitations. The short end of it is that I basically have three giant arrays. One is all users in AD, one is all users in Okta, and the 3rd ...
I'm making a script that will write a two-dimensional array to an Excel spreadsheet. The script is meant to be called from within other scripts. An outer loop runs once for every row in the array. An ...
Recently, I had a hard disk failure in one of my production servers. That particular server uses Windows Storage Spaces to combine four physical disks into a single parity virtual disk. The process of ...
PowerShell-CI-linux (Test for Ubuntu Ubuntu Test - ElevatedPesterTests - CI) PowerShell-CI-linux (Test for Ubuntu Ubuntu Test - ElevatedPesterTests - Others ...
I'm trying to create a document in a here string (YAML frontmatter for Markdown, a list of items), but I noticed extra spaces being added in unexpected places. I've paired this down to a minimal ...