cancel
Showing results for 
Search instead for 
Did you mean: 
Disclaimer
JUMPCLOUD EXPRESSLY DISCLAIMS ALL REPRESENTATIONS, WARRANTIES, CONDITIONS, AND LIABILITIES OF ANY KIND ARISING FROM OR RELATED TO THIRD-PARTY SOFTWARE, SCRIPTS, REPOSITORIES, AND APIS. JUMPCLOUD IS NOT REQUIRED TO SUPPORT ANY SUCH THIRD-PARTY MATERIALS AND ALL RISKS RELATED TO THIRD-PARTY MATERIALS ARE YOUR RESPONSIBILITY. PLEASE ALSO REVIEW THE JUMPCLOUD TOS.

export device overview fields

dariovernelli
Novitiate III

Hi everybody,

I'd like to know if there is a way and/or script using Powershell Module to export the device details like Vendor, Model, Serial, ecc... for the whole devices, instead doing and export one by one.

Many thanks

Dario Vernelli

 

 

1 ACCEPTED SOLUTION

This is what I've got so far. It'll give you all the key value pairs for the endpoint I shared earlier. It's very basic but feel free to upgrade from here 🙂

$headers=@{
    'x-org-id' = 'YOUR ORG ID'
    'x-api-key' = 'YOUR API KEY'
}
$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_info' -Method GET -Headers $headers

$response | Out-File -FilePath ADDFILEPATH/response.txt 

I was able to get the data for all of my test devices with this. Hope it helps! 

View solution in original post

8 REPLIES 8

urvashi
Bronze I
Bronze I

Hi @dariovernelli 

I couldn't find a powershell command to do it but you could embed this API endpoint into a powershell script: https://docs.jumpcloud.com/api/2.0/index.html#tag/System-Insights/operation/systeminsights_list_syst...

I'm playing around with it also but I'm a powershell beginner and don't want to slow you down haha 🙂

Hope this helps 🙂

Hi @urvashi ,

thanks a lot for your tip..... I'm also a newbie on powershell, but somehow I'll find how to create a script and use the API.

many thanks 🤙

This is what I've got so far. It'll give you all the key value pairs for the endpoint I shared earlier. It's very basic but feel free to upgrade from here 🙂

$headers=@{
    'x-org-id' = 'YOUR ORG ID'
    'x-api-key' = 'YOUR API KEY'
}
$response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/v2/systeminsights/system_info' -Method GET -Headers $headers

$response | Out-File -FilePath ADDFILEPATH/response.txt 

I was able to get the data for all of my test devices with this. Hope it helps! 

uh, many many thanks.

I'll try asap

 

rahulsoni
Novitiate I

Hi Team, 

cleanup activity  i need to pull export data with Name, email ID , Hostname, Serial number , list  application install on system 

I try Below Command but it's do not provide User details. 

Get-JCSystemApp -SystemOS windows | ConvertTo-Csv | Out-File -FilePath "/Users/rahulsoni/Downloads/windowsapps.csv"

Hi @rahulsoni there's a different cmdlet for user information. You can use this instead: 

https://github.com/TheJumpCloud/support/wiki/Get-JCUser 

For cleanup activity Can help me how to uninstall below application from user system.

Screenshot 2024-06-06 at 8.02.26 PM.png

JuergenKlaassen
Rising Star III
Rising Star III

Hey

You can also explore this script and customize it to your needs:
https://community.jumpcloud.com/t5/community-scripts/powershell-function-get-systemreport-with-detai...

You Might Like

New to the site? Take a look at these additional resources:

Community created scripts:

Our new Radical Admin blog:

Keep up with Product News:

Read our community guidelines

Ready to join us? You can register here.