Tutorial on creating and using custom object in Windows PowerShell 7. Custom objects in PowerShell scripts often created using hashtables (hash tables), which I have covered in my previous tutorial: • PowerShell 7 Tutorial 9: Hashtables (...
This demonstration uses PowerShell 7 and Visual Studio code with PowerShell 7 extension. But the PowerShell commands and steps taken here can be written on any other text editor or IDE/ISE.
-Windows PowerShell playlist:
• PowerShell 7 Tutorials - Beginners
-Windows Server Admin playlist:
• Windows Server Administration
-Microsoft Windows playlist:
• Microsoft Windows
Microsoft docs:
-https://learn.microsoft.com/en-us/pow...
Chapters:
00:00 - Introduction
02:09 - PSCustomObject
11:19 - Add/Remove properties
29:19 - New-Object cmdlet
Track: WhileART Sessions Episode 02 | Waramathi (වරමාතී) Fusion
Watch: • WhileART Sessions Episode 02 | Warama...
https://sanuja.com
Co-producer:
Manuja Senanayake
#PowerShell #PSCustomObject #powershellscripting #PowerShell7 #windows11