Compare Results of Invoke-Sqlcmd and Invoke-RestMethod (maybe hashtable and array?)

Hello,
i want to compare the results of an Invoke-Sqlcmd and an Invoke-RestMethod. As i can see there a problems going trough the data rows comparing the content.

It is possible that there are two different data types? I am not sure but if i am right one could be an array and one could be a hashtable.

What can i do to compare the content of single fields of both results?

Thanks.

Hi, welcome to the forum :wave:

What have you tried?

This is going to be really difficult to answer unless you provide some sample data and tell us what you want to compare.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.