I've been looking into using elasticsearch.net and nest via powershell instead of re-inventing the wheel with all the different type of web-requests. As dotnet DLLs, it should be possible to use them with PowerShell via Add-Type and/or [System.Reflection.Assembly]Load methods.
I've loaded the dependencies of system.buffers & System.Diagnostics.DiagnosticSource into memory, but still receive an error message:
Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=188.8.131.52, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
Has anyone been able to successfully implement use of these clients with PowerShell?