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
Good evening. I've been trying to create a PowerShell cmdlet for OMI from CDXML on Linux without success. I've been through Richard Siddaway's book and blog which describe how to do this on Windows, but when I go to run my shiny new cmdlet on Linux, I consistently get back the error below. Any chance I can sweet talk you into producing an example of a working cdxml cmdlet for PowerShell on Linux that I can use to Get-XYZ_Frog ?
I feel like there is a lot of potential here. I just need help getting started. Thanks for your consideration of the matter.
"Exception calling 'ProcessRecord' with '1' argument(s): 'The method or operation is not implemented.'"
At line: 108 char:5
there are various things that could be going wrong with this, all the way from PowerShell on Linux all the way through to OMI. Unfortunately we have not gone through this scenario yet to the best of my knowledge.
Things that could be wrong are:
Core PowerShell does not support cdxml yet (a question to powershell/powershell would help with that question)
Does cdxml use cimcmdlets by default? Not sure, but they are dependent on MMI (next item down) to work
Microsoft.Management.Infrastructure does not support what you need -- as of now only a couple of DSC scenarios were supported for compiling and applying DSC configuration. None of the CIM operations have been fully tested yet. Other operations are being busily tested and fixed with a hope to support all operations that OMI itself supports, both locally and remotely on Linux.
omi client does not do what you want, although local CIM operations for OMI should work and Windows remote operations to OMI on Linux should work. Linux to Windows is not yet supported for OMI yet, but we are busily working on that.
Things to try:
Install core powershell on windows and see if cdxml work locally
try using Microsoft.Management,Infrastructure directly within powershell on linux to issue the requests to your providers and see if they work
This is a scenario we want to get working! If there is something missing we will fix it.
Good evening. I've been trying to create a PowerShell cmdlet for OMI from CDXML on Linux without success. I've been through Richard Siddaway's book and blog which describe how to do this on Windows, but when I go to run my shiny new cmdlet on Linux, I consistently get back the error below. Any chance I can sweet talk you into producing an example of a working cdxml cmdlet for PowerShell on Linux that I can use to Get-XYZ_Frog ?
I feel like there is a lot of potential here. I just need help getting started. Thanks for your consideration of the matter.
"Exception calling 'ProcessRecord' with '1' argument(s): 'The method or operation is not implemented.'"
At line: 108 char:5
The text was updated successfully, but these errors were encountered: