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
{{ message }}
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
Make sure you are able to repro it on the latest version
Search the existing issues.
Steps to reproduce
cimsession.QueryInstances("root\MicrosoftDNS", "WQL", $"SELECT * FROM MicrosoftDNS_TXTType WHERE DomainName = 'example.com'");
Failing to get all records available on specified domain however working if a single TXT record is provided.
Expected behavior
Should return all TXT records using query SELECT * FROM MicrosoftDNS_TXTType WHERE DomainName = 'example.com'"
Actual behavior
Message : "The WS-Management service cannot process the request. The WMI provider returned an 'invalid parameter' error. " MessageId: "HRESULT 0x8033811e" Source "Microsoft.Management.Infrastructure" string StackTrace " at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase`1.MoveNext()\r\n at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection) in System.Collections.Generic\\List.cs:line 713\r\n at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection) in System.Collections.Generic\\List.cs:line 283\r\n
Error details
No response
Environment data
Microsoft.Management.Infrastructure 2.0.0
Windows server 2016
ASP.NET Core 3.1
Version
Microsoft.Management.Infrastructure 2.0.0
Visuals
No response
The text was updated successfully, but these errors were encountered:
dev-mega-01
changed the title
Failing get all TXT records using WQL
Failing to get all TXT records using WQL
Apr 16, 2024
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Steps to reproduce
cimsession.QueryInstances("root\MicrosoftDNS", "WQL", $"SELECT * FROM MicrosoftDNS_TXTType WHERE DomainName = 'example.com'");
Failing to get all records available on specified domain however working if a single TXT record is provided.
Expected behavior
Should return all TXT records using query SELECT * FROM MicrosoftDNS_TXTType WHERE DomainName = 'example.com'"
Actual behavior
Error details
No response
Environment data
Version
Microsoft.Management.Infrastructure 2.0.0
Visuals
No response
The text was updated successfully, but these errors were encountered: