-
Convert PowerShell output into a pie chart
The idea to display information as a pie chart came about when I needed to write a summary email about a task I had done with PowerShell. I had the results captured in a CSV file and was about to hit send, when I thought: how quick and easy would it be to interpret this...…
-
AWS Lambda with PowerShell
Amazon Web Services (AWS) released some exciting news back in September, announcing Lambda support for PowerShell Core. The feature now enables us to execute PowerShell scripts and functions to respond to events in AWS. Before we start writing our scripts and functions, we need to know what prerequisites we need to create a PowerShell AWS...…
-
Administering Group Policy with PowerShell
In this article I want to look at ways you can manage Group Policy with PowerShell and the Group Policy Module and CIM/WMI. Group Policy is a Windows feature for controlling user and computer accounts which relies on Active Directory. GUI tools are available to do various aspects of Group Policy, but when it comes...…
-
Formatting objects in PowerShell with Format-Custom, Format-List, Format-Table, and Format-Wide
This article follows the theme of my last one: Formatting object output in PowerShell with Format.ps1xml files. Here we’ll look at the built-in cmdlets Format-Custom, Format-List, Format-Table, and Format-Wide that PowerShell provides to format your output. From my previous article, we know .format.ps1xml files in the PowerShell installation directory ($pshome) control object formatting. PowerShell provides...…
-
Formatting object output in PowerShell with Format.ps1xml files
PowerShell uses Format.ps1xml files to set the default display of objects to the console, and you can create or change your own Format.ps1xml files for your own object types. This article will provide background on how PowerShell uses Format.ps1xml files and how to define your own custom format file. PowerShell is a type-based system. It...…