Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

SQL Like commands against POSH Objects

$
0
0

Hello,

I have four lists of computers (computernames) from different sources that I am getting with powershell from currently WSUS, two MSSQL Databases and Active Directory. My plan is to use this to audit our inventory and make sure our lists are all in sync.

What I want to do is write a SQL like query against the four lists that I get back so I can get my final result. Is this possible? Or does anyone know of a way I can do this another way?

Here is the SQL query I did in the past that is what I want to do where I entered the computers all into a mySQL database I keep running on my local PC to play with.

https://pastebin.com/vB7pBKq9

submitted by /u/rubber_duck13
[link] [comments]

The post SQL Like commands against POSH Objects appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles