How to create custom PowerShell object formatting

  Рет қаралды 1,332

PowerShell.org

PowerShell.org

Күн бұрын

Presented by David Goldman
Are you tired of being overwhelmed with cmdlet output or victim to Select-Object throwing away your data when you forgot to save it to a variable? In this presentation I can teach you the lost art of object formatting! For more detailed information please see the course description.
---
When administrators use PowerShell to execute commands to retrieve information the data returned from cmdlet's object output pipeline can be overwhelming. Overtime as business requirements change so do the size of the workflows or scripts that are being executed to preform day-to-day operations. When this happens it is common for these scripts or workflows to become more complex, cumbersome and inefficient. In the end the time it takes administrators to filter through this data cost businesses lost revenue.
This might seem like a pretty bad and time consuming situation, however I am here to tell and show you there are ways to solve these issues. The answer is to customize your data output! Yes, I know that sounds complex, but it's not, once you understand some basic concepts about the PowerShell pipeline. I will do a deep dive on the pipeline, the logic behind it and how you can manipulate the pipeline in ways you probably haven't seen before.
The goal is of this presentation is teach you how you grab the cmdlet information you care about and customize a data output that works for you. PowerShell has a few cool ways to display your information in (Table, List, Wide or Custom) formats.
These are the topics that I will cover in this presentation:
1. How PowerhShell uses objects, sends them down the pipeline, how data can be persevered or throw away in the pipeline which affects formatting.
2. Speak about the importance of the PSMembersSet and DefaultDisplayPropertySet and how the PowerShell formatting engine uses them to present the object back to the console.
3. Walk through the PowerShell core types and formatting files and how to use them and create formatting templates.
4. How to create custom PowerShell objects from scratch and how to configure them for formatting.
5. How you can do this on the fly from a live interactive PowerShell console session and also in PowerShell modules.
By the time you are done you will learn how fill in the holes on a concept that many people don't fully understand and start using the pipeline to your benefit!
All project files will be posted on GitHub for download for you to use as ready to go examples.

Пікірлер: 2
@cliveblackwell2316
@cliveblackwell2316 2 жыл бұрын
Audio and video out of sync(as mentioned in earliest comment). Open two presentations and look at the video on one and listen to the audio on the other 20 seconds behind. (did not check whole presentation though only the last half). Good presentation otherwise.
@kurtdegreeff6447
@kurtdegreeff6447 2 жыл бұрын
Too much zoom in/out in the beginning. Unfortunately audio and video most of time not in sync, so despite great content it is very hard to follow
Building a PowerShell Module from Scratch
30:02
PowerShell.org
Рет қаралды 7 М.
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 120 МЛН
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 18 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
7   Bielawski   Do Custom Objects Dream About ETS
40:36
PowerShell.org
Рет қаралды 782
PowerShell 7 Tutorials for Beginners #4 : Hashtables & Custom Objects
29:44
High Class PowerShell: Objects and Classes in PowerShell
53:09
PowerShell Virtual Group
Рет қаралды 14 М.
Working With PowerShell Variables
19:04
TechThoughts
Рет қаралды 39 М.
Living off Microsoft Copilot
42:06
Black Hat
Рет қаралды 22 М.
PowerShell Intermediate Tutorial 1 : Custom Functions [Intermediate]
16:03
How To Filter Objects in PowerShell
21:00
ITPro Today
Рет қаралды 3,8 М.
How to Safely "Detonate" Suspicious Content by Steven Judd
41:43
PowerShell.org
Рет қаралды 346
PowerShell 7 Tutorial 10: Custom Objects - PSCustomObject class
40:48
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 120 МЛН