Weekly Tip 33

Get IP Address for Entire Collection

This tip requires a limited knowledge of SQL Management Studio. Open Management Studio and paste this SQL query:

SELECT COLL.Name,IP.IP_Addresses0

FROM v_CM_RES_COLL_<collection ID> COLL,v_RA_System_IPAddresses IP

WHERE COLL.ResourceID = IP.ResourceID

ORDER BY IP.IP_Addresses0

Replace <collection ID> with the collection ID for the appropriate collection and execute the query. You will get two columns, one the with machine name and the other with the IP address. The query also sorts the results by IP address. If you would like it sorted by name, replace the ORDER BY line with this:

ORDER BY COLL.Name

Share:

Facebook
Twitter
LinkedIn
Picture of Matt Tinney

Matt Tinney

Professional IT executive & business leader having decades of experience with Microsoft technologies delivering modern-day cloud & security solutions.

Contact Us

=
On Key

More Posts

WME Cybersecurity Briefings No. 024
Cyber Security

WME Security Briefing 28 August 2024

GhostWrite Vulnerability in T-Head CPUs Exposes Devices to Unrestricted Access Overview A critical architectural flaw in T-Head’s XuanTie C910 and C920 RISC-V CPUs was uncovered by recent research from the CISPA Helmholtz Center for Information Security. Dubbed GhostWrite, the vulnerability

Click Here to Read Full Article »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=