Delete-PSUCache possible?

Product: PowerShell Universal
Version: 5.4.2

There is Set and Get for PSU Cache, what about Delete?
I have a PSU Cache that I made -Persist and now I want to delete it. What options do I have?

1 Like

Thanks @mikedhanson. I forgot to check there, still new to this product.

I assume this is the only way and there isn’t a posh command like Remove-PSUCache -Key ‘xxxx’

@AMurphy-Leavitt
Wait what? There is a remove-psucache :smiley:

I use it to clear my cache before setting new i.e

Remove-PSUCache -key "example"
Set-PSUCache -key "example" ...
2 Likes

Thanks @PontusA! I didn’t find that in the documentation, but I apparently never searched the cmdlets page (which i thought I had), be cause i see it now. Thanks everyone!

Yeah documentation is abit of a mess currently heh