Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Easiest way to get all computers from our Servicenow platform

Roman26
Kilo Contributor

Hi All

I need to get all computers from our ServiceNow platform to compare with Intune info ( we are on Azure AD) and I am wandering what would be the quickest and easiest way to do it , preferably with powershell. 

So the question rather is - are there any powershell modules to connect to ServiceNow api from Powershell.

I know I can export it to csv, but we need to automate this process so it has to be some scripting.

Thanks 

1 REPLY 1

sourav1999
Mega Guru

- The easiest way to get all computers from the ServiceNow platform is to use the cmdb_ci_computer table. - This table contains all the information about computers, including name, model, manufacturer, and other details.

- To get the computers, you can use the ServiceNow API or the ServiceNow UI to query the table.

- You can also use the ServiceNow reporting capabilities to generate a list of computers in the platform.

 

For asking ServiceNow-related questions try this :

For a good and optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.

Link - https://nowgpt.ai/

 

For the ServiceNow Certified System Administrator exams try this :

https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER