Get-JCSystem filterDateProperty throws an error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ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!
Labels:
- Labels:
-
API
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ02-04-2025 12:52 AM - edited โ02-04-2025 12:57 AM
This command works fine on Powershell 7.
What I did was,
- Deleted the Jumpcloud module from Powershell 5
To get location:
Get-InstalledModule JumpCloud | Select-Object InstalledLocationโ
- Installed Powershell 7 from MS Store
- Installed Jumpcloud module on Powershell 7
Hope this will help anyone else having the same issue.
And I hope Devs will look into it.