我一直在删除powershell和/或命令行,如下所示。我的问题是:对于/reg:64参数,powershell内部是否有任何等效的内容?
CMD版本:
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\TEST /v PropertyToRemove /f /reg:64powershell版本:
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\SMS\Mobile Client" -Name "PropertyToRemove"谢谢,
发布于 2022-05-15 20:59:06
看来它还没有实现。
阅读这个问题:Querying via powershell both 32bit and 64bit registry
您应该先检查os是x32还是x64,或者运行检查64位注册表项是否存在。
不同的话题,相同的问题。这里声明它没有实现:How to access the 64-bit registry from a 32-bit Powershell instance?看一下什么时候reply对标记的答案的答复
https://stackoverflow.com/questions/72251435
复制相似问题