I want to run a nightly PS script that will remove all the values from this key like so, but not the key itself:
Remove-Item -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache\PurgeAtNextLogoff* -whatif
Is this the correct statement?? whatif returns nothing…
My understanding is that the * prevents deleting the key itself (PurgeAtNextLogoff).
Thank you, Tom