02-02-2025 08:35 PM
Hi,
I'm getting this error message when trying to run the following command.
Get-JCSystem -filterDateProperty created -dateFilter after -date (Get-Date).AddDays(-10) -returnProperties hostname, created
Here is the screenshot of the error. For some reason, I can't attach images.
https://i.imgur.com/poQwYrJ.png
I think there is a problem with "Get-JCSystem.ps1" script.
Can someone please help?
Thanks!
02-04-2025 12:52 AM - edited 02-04-2025 12:57 AM
This command works fine on Powershell 7.
What I did was,
To get location:
Get-InstalledModule JumpCloud | Select-Object InstalledLocation
Hope this will help anyone else having the same issue.
And I hope Devs will look into it.
New to the site? Take a look at these additional resources:
Ready to join us? You can register here.