Browse by Tags

All Tags » PowerShell V2 » Objects (RSS)

Scripting Games Comments VIII: Creating Objects

One thing we have to do quite frequently is create an object and populate some variables.  In PowerShell v1 we would do something like this 001 002 003 004 005 006 007 008 $r   =   Get-WmiObject   -Class   Win32_OperatingSystem...