Thanks, Don. Looks like that's the trick.
Remove-ItemProperty -Path hklm:\Software\Microsoft\Windows\CurrentVersion\test\ -Name * -WhatIf
What if: Performing the operation "Remove Property" on target "Item: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\test\ Property: subkey".