Grab our RSS feeds Follow us on Twitter Join our Facebook Group Connect with us on LinkedIn
myITforum.com, Powered by You.
you are not logged in

Articles

Newslinks

Links

Downloads

Site Services

Community Forums

Discussion Lists

Article Search

Newsletter

Web Blogs

FAQs

Live Support

myITforum TV

Take a Poll

Monthly Drawing

myITforum Network

User Group Directory

Our Partners

About Us

Register

Login

BRONZE PARTNER:

BRONZE PARTNER:



Industry News:




  Home : Articles : Windows PowerShell print | email | | Forums |   print | email | | Blogs |   print | email | | Wiki |   print | email | | FAQs |   print | email | Article Search  
The basic set of object adapters available in PowerShell


Bookmark and Share

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.

  myITforum.com ©2010 | Legal | Privacy