You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought it can be used like this: Get-PokeMember 'a'
> Get-PokeMember 'a'
New-InstanceProxy : Cannot validate argument on parameter 'Instance'. The argument is null. Provide a valid value for
the argument, and then try running the command again.
At D:\dev\poke\Poke.psm1:866 char:41
+ New-InstanceProxy -Instance $InputObject
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [New-InstanceProxy], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,New-InstanceProxy
Get-Member : You must specify an object for the Get-Member cmdlet.
At D:\dev\poke\Poke.psm1:930 char:43
+ function Get-PokeMember { $input | peek | Get-Member }
+ ~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-Member], InvalidOperationException
+ FullyQualifiedErrorId : NoObjectInGetMember,Microsoft.PowerShell.Commands.GetMemberCommand
The text was updated successfully, but these errors were encountered:
Get-PokeMember seems like a useful function.
I thought it can be used like this:
Get-PokeMember 'a'
The text was updated successfully, but these errors were encountered: