New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force
windows 默认PowerShell
最新推荐文章于 2024-06-10 11:38:04 发布
本文介绍如何使用 PowerShell 命令 New-ItemProperty 来设置注册表项 HKLMSOFTWAREOpenSSH 的 DefaultShell 值为 C:WindowsSystem32WindowsPowerShellv1.0powershell.exe。
879

被折叠的 条评论
为什么被折叠?



