Comments (6)
You should be able to do:
Get-NinjaOneDevices -deviceFilter "status=PENDING"
from ninjaone.
(Get-NinjaOneOrganisations -organisationId $id).name
from ninjaone.
Documentation for deviceFilter
: https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf
from ninjaone.
OH. . . so much easier than I was doing.
Thanks!
from ninjaone.
I like device filter - wanna get all pending Windows workstations?
Get-NinjaOneDevices -deviceFilter "status=PENDING AND class=WINDOWS_WORKSTATION"
from ninjaone.
That's nice! will have to start using that, next on my list is to convert OrganizationID to Organization Name for this report
from ninjaone.
Related Issues (20)
- incomplete ticket data when using Get-NinjaOneTicketLogEntries
- Error retrieving Organisation Documents HOT 7
- Get-NinjaOneUsers requires an Organisation ID HOT 1
- Get-NinjaOneAlerts missing data HOT 1
- Invoke-NinjaOneRequest as a cmdlet. HOT 1
- Invoke-NinjaOneDeviceScript HOT 1
- Get-NinjaOneActivites -after and -before not passed to GET request. HOT 1
- How to use update-ninjaonedevice? HOT 9
- Unable To Connect To API Endpoint HOT 4
- (feat) Aliases
- paid programming for this library HOT 11
- Clearing a Custom Field HOT 1
- Problem with "Secure" custom fields "SECURE_VALUE_PLACEHOLDER_" HOT 2
- Get-NinjaOneTickets not returning any results HOT 6
- Get-NinjaOneTickets pageSize parameter HOT 4
- Get-NinjaOneActivities.ps1 only returns a single result HOT 4
- Get-NinjaOneActivities -class "SYSTEM" has other types included HOT 1
- Get-NinjaOneInstaller - Unhelpful Error message HOT 1
- Cannot bind argument to parameter 'Resource' because it is an empty string. HOT 2
- Connect fails with 404 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ninjaone.