Get-DbaDbccMemoryStatus - remove dependency on system.data objects and use standard constructs (#5031)
Get-DbaDbccMemoryStatus - remove dependency on system.data objects and use standard constructs (#5031)

* Remove dependancy on system.Data objects

* Fix case of variable

* Modify to use the  .query custom method

alevyinroc/dbatools