2008R2:
nfs server和nfs client在一块,
安装命令:
servermanagercmd.exe -install FS-NFS-Services RSAT-NFS-Admin
卸载命令:
servermanagercmd.exe -remove FS-NFS-Services RSAT-NFS-Admin
≥2012R2:
nfs server和nfs client是分开的
powershell安装nfs client:
get-windowsfeature NFS-Client,RSAT-NFS-Admin | install-windowsfeature
powershell卸载nfs client:
Get-WindowsFeature NFS-Client,RSAT-NFS-Admin|Remove-WindowsFeature
win10/win11:
获取名称:
Get-WindowsOptionalFeature -Online -FeatureName *NFS*
FeatureName : ServicesForNFS-ClientOnly
DisplayName : NFS 服务
FeatureName : ClientForNFS-Infrastructure
DisplayName : NFS 客户端
FeatureName : NFS-Administration
DisplayName : 管理工具
Enable-WindowsOptionalFeature -FeatureName NFS-Administration, ServicesForNFS-ClientOnly, ClientForNFS-Infrastructure -Online -NoRestart
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。