Project Online - How to filter projects in powershell?

Brass Contributor

Hello Everyone,


I want to filter projects on LastPublishedDate in power shell. How to include $filter query string in the endpoint.

For example,$filter=LastPublishedDate -ge datetime'28-01-2021'


When I open my URL with same format in browser it works fine. But when I include it in the power shell, all projects are returned.


I'm using these samples:


Does anyone knows the correct way to include $filter query string in power shell script?


Thanks & Regards,



1 Reply
Issue has been resolved. Escaped $filter with back-tick `$filter.