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?
Recommended Answer
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

dd64fb89444cd891df5977ae7efcc3ca4b51b2b4.png
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

dd64fb89444cd891df5977ae7efcc3ca4b51b2b4.png
Thanks @michaelhanson1458. 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’
@AnonymousUser
Wait what? There is a remove-psucache
I use it to clear my cache before setting new i.e
Remove-PSUCache -key "example" Set-PSUCache -key "example" ...
Remove-PSUCache -key "example"
Thanks @AnonymousUser! 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