1

I have a fresh installation of Windows Server 2012 and need to create a NFS share.

Using these instructions:

PS C:\> Import-Module ServerManager

this works ok - I'm returned to the prompt.

PS C:\> Add-WindowsFeature FS-NFS-Services

(EDIT: the line above is typed exactly as it appears on the MS documentation (last checked Feb 29, 2016)

this returns the following error:

Add-WindowsFeature : ArgumentNOtValid: The role, role service, or feature name is not valid: 'FS-NFS-Services'. The name was not found.

What is causing this and how do I resolve?

1 Answer 1

2

Microsoft made a typo in their documentation. It should be:

Add-WindowsFeature FS-NFS-Service

PS: dont forget to run PowerShell as Administrator.

enter image description here

2
  • PS C:\> Add-WindowsFeature FS-NFS-Services that is straight from Microsoft's own documentation. Correcting their type-o worked.
    – a coder
    Feb 29, 2016 at 16:02
  • 1
    Lol. I'll correct the answer!
    – doenoe
    Feb 29, 2016 at 16:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .