powershell type

PowerShell类型系统基于.NET类型系统,能捕获.NET、WMI、COM类型。其类型适配系统有对应适配器,如.NET、COM、WMI等适配器,各适配器有不同作用,如.NET适配器映射属性,COM适配器提供对COM对象的访问等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

powershell type system is .net type system.but powershell can catch .net ,wmi,com type .

This diagram shows the architecture of the PowerShell type adaptation system.
For each kind of data that PowerShell works with, there is a corresponding adapter. An instance
of a particular data object is subsequently wrapped in an instance of the associated
type adapter. This type adapter instance acts as an intermediary between the object and PowerShell,
proxying all accesses

 

.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 Word 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 manages objects for which there is no actual underlying
object, only synthetic properties.
ADSI Object Adapter This adapts objects returned from the Active Directory Service Interfaces.

转载于:https://www.cnblogs.com/jciwolf/archive/2010/01/08/1642128.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值