Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-NinjaOneActivities -class "SYSTEM" has other types included #34

Open
mattolan opened this issue Feb 23, 2024 · 1 comment
Open

Get-NinjaOneActivities -class "SYSTEM" has other types included #34

mattolan opened this issue Feb 23, 2024 · 1 comment

Comments

@mattolan
Copy link

Not sure if this is a bug in this powershell library or of the NinjaAPI, but running the get-NinjaOneActivities by class type returns mixed results (different class types)

(Get-NinjaOneActivities -class "SYSTEM"-pagesize 1000).activities

For example "SYSTEM" is returning "SYSTEM", "SCRIPTING" and "SCHEDULED_TASK". Possible others

Activities
@homotechsual
Copy link
Owner

This is expected behavior. The activityType column is not directly filtered by the -class parameter. The class will map to multiple activity types which may be present across multiple classes.

Try -activityType SYSTEM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants