PowerShell Video Course: https://kamilpro.com/powershell-course
Everything is an object in PowerShell, and the ability to create its own object allows for one more way of controlling and handling data.
In this video, I'll take you through the steps of creating PSCustomObject, working with its properties to doing more advanced topics - like adding methods and types to the object.
Github with script: https://github.com/thekamilpro/About-PowerShell/blob/main/PowerShell%20PsCustomObject/PowerShell%20PsCustomObject.ps1
00:00 Begin
00:11 Hi and welcome
00:45 About PowerShell Custom Object
02:04 Script
02:20 Create PSCustomObject
03:50 Working with JSON
05:58 Properties - accessing, adding and removing
07:55 Discovering hidden properties Get-Member -Force
09:20 Converting PSCustomObject to and from Hash tables
11:12 Adding Methods to Custom Object
14:55 Types
20:00 Configuring default output
20:56 Arrays, loops, objects working together - assembling data
◼️◼️◼️
🐤 Twitter: https://twitter.com/thekamilpro
📜 LinkedIn: www.linkedin.com/in/kamilpro
🌎 Website: https://kamilpro.com
💻 GitHub: https://github.com/thekamilpro