BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
| |
 |
 |
 |
 |
 |
| The basic set of object adapters available in PowerShell |
 |
|
|
By: Ying Li
Posted On: 6/12/2007
As we all know PowerShell is object oriented. It has objects and object types, programming is all about working with different types of objects. For each kind (type) data (object) that PowerShell works with, there is a corresponding adapter.
This article was Previously posted on Ying Li's Blog
Here is the basic set of object adapters available in PowerShell
.NET Adapter – This is the basic adapter for all .NET types. This adapter directly maps the properties on the .NET object and adds several new ones that start with a PS prefix.
COM Object Adapter – This adapter provides access to COM objects. Supported objects include the Windows Script Host classes and scriptable applications such as Microsoft Excel or Internet Explorer.
WMI Adapter – This adapts objects returned from a WMI provider.
ADO Adapter – This adapter allows you to treat the columns in ADO data tables as though they were properties
Custom Object Adapter – This adapter manage objects for which there is no actual underlying object, only synthetic properties.
ADSI Object Adapter – This adapts objects returned from the ADSI.
|
 |
 |
 |
|
|