< Back

New-InstanceProxy

Sat Jan 18, 2020 7:23 pm

NAME New-InstanceProxy



SYNTAX

New-InstanceProxy [-Instance] <Object> [-IncludeInheritedMembers] [-ExcludePublic] [-ExcludeFields]

[<CommonParameters>]





PARAMETERS

-ExcludeFields



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-ExcludePublic



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-IncludeInheritedMembers



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Instance <Object>



Required? true

Position? 0

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

None





OUTPUTS

System.Object



ALIASES

None





REMARKS

None





description : {@{Text=Return a type or instance proxy of a managed type, exposing all non-public fields, properties

and methods.

Methods can be invoked, fields written to and private properties set. To see modifiers and method

definitions

use the standard command of Get-Member. Use the following meta-methods to work with proxies:



* __CreateInstance() Create an instance of a proxied System.Type.



* __GetBaseObject() Get the proxied System.Type or instance.}}

syntax : @{syntaxItem=System.Management.Automation.PSObject[]}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=New-ObjectProxy; description=System.Management.Automation.PSObject[]}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : New-ObjectProxy

Category : Function

Synopsis : Return a type or instance proxy of a managed type

Component :

Role :

Functionality :

ModuleName : poke