Quantcast
Viewing latest article 18
Browse Latest Browse All 138

New Post: [SOLVED]: Invoke-PolicyEvaluation fails with 'Value cannot be null. Parameter name: policy'

Perfect! Works for me with this code. I added back the code to delete the xml files as for some reason it wasn't cleaning up all of the time.
I was playing around with this and found that without any filter on the PolicyStore it would not pull anything back.
I commented out the where-object portion and it worked perfectly.

Viewing latest article 18
Browse Latest Browse All 138

Trending Articles