Product: PowerShell Universal
Version: 5.0.7
So, I try to do something simple like this:
Send-PSUEvent -Hub "MyHub" -Data { $env:COMPUTERNAME }
And I get this error back:
Send-PSUEvent : The method or operation is not implemented.
At line:1 char:1
+ Send-PSUEvent -Hub "EH_MDM" -Data { $env:COMPUTERNAME }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Send-PSUEvent], NotImplementedException
+ FullyQualifiedErrorId : System.NotImplementedException,PowerShellUniversal.SendEventCommand
This also happens when iterating through the returns from Get-PSUEventHubConnection
and using $Connection.ConnectionID
(which also just gets translated to PowerShellUniversal.EventHubConnection.ConnectionID
instead of resolving the variable).
Seems like a dumb question, but is this actually not implemented? The documentation [1] [2] for these cmdlets also leave a lot to be desired, so I’m not sure if I’m trying to use functionality that doesn’t exist in PSU5 yet.
I don’t usually hope I’m just doing something wrong, but I guess every day is a new day. Any help is appreciated!