Collections:
Other Resources:
Access Object Properties in Windows PowerShell Scripts
How to access properties of ab object in Windows PowerShell scripts? I know the property name.
✍: FYIcenter.com
If you know the property name of an object, you can access the property value
using the "." operator in Windows PowerShell scripts.
For example, if you run the following script:
$dt = Get-Date $tod = $dt.TimeOfDay $tod.TotalHours
PowerShell will do the following:
⇒ Invoke Object Methods in Windows PowerShell Scripts
⇐ Assign Object to Variable in Windows PowerShell Scripts
2023-12-27, ∼4116🔥, 2💬
Popular Posts:
Can I disable Windows service "DCOM Server Process Launcher" to speedup my computer? Windows service...
Everytime when connect a USB device the volume lowers by 80% It happen with Soundblaster Audigy SE a...
How to view system properties on Windows Server 2012? I just want to get some basic information abou...
What is the "svchost.exe (Host Process for Windows Services)" system executable program on Windows S...
How to change starting home page setting in Internet Explorer (IE) 7? Starting home page is a very i...