Changes

Jump to: navigation, search

An Overview of Windows PowerShell 1.0 and .NET

3 bytes added, 19:40, 9 December 2008
Instance Members and Properties
== Instance Members and Properties ==
In the case of instance members, an instance of the class must first be created before the methods and properties of that class may be used from within PowerShell. The syntax for creating an instance of a class (also referred to as an ''object'') requires the use of the ''new-object'' cmdlet and is as followsillustrated below:
''$object'' = new-object ''classname''(''parameters'')

Navigation menu