Tag: tips

#PSTip Get all writeable properties of a WMI class

Not all WMI class properties can be modified. Many of these properties are read-only. Take a look at the properties…

Read More

#PSTip Optimizing WMI object retrieval

Whenever we use WMI cmdlets to query either local or remote machines, we need to keep the following points in…

Read More

#PSTip Modifying WMI Object properties using Get-WmiObject cmdlet

Get-WmiObject and object modification! Sounds contradictory? Not really. That is the beauty of PowerShell and its object-based nature. Let us…

Read More

#PSTip Adding extended types – the PowerShell 3.0 way!

PowerShell 3.0 introduced important changes to the Update-TypeData cmdlet which includes specifying the dynamic type data. Using these new features…

Read More

#PSTip How to get only files – the PowerShell 3.0 way!

The traditional or PowerShell 2.0 way of retrieving only files is: The new parameter -File of the Get-ChildItem cmdlet simplifies…

Read More