PowerShell PSCustomObject - Custom Object, the way it was meant to be.
Автор: Kamil Pro
Загружено: 2021-11-02
Просмотров: 8693
✅ Learn PowerShell: https://kamilpro.com/pwsh1
✅ Learn PowerShell Scripting: https://kamilpro.com/pwsh2
✅ Learn CI/CD With PowerShell and GitHub Actions: https://kamilpro.com/pwsh3
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-...
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: / thekamilpro
📜 LinkedIn: www.linkedin.com/in/kamilpro
🌎 Website: https://kamilpro.com
💻 GitHub: https://github.com/thekamilpro
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: