I have an Azure VM running Nano Server 1709. I am trying to figure out how to install IIS on it, with little luck.
I have tried following the tutorial but I am unable to get remote access to the VM. I've opened ports 5985/5986 in the Network Security Group and the local machine firewall,but I still can't access it.
I tried executing the commands at the console of the VM and got this error:
PS C:\Windows> install-nanoserverpackage -name Microsoft-NanoServer-Storage-Package
install-nanoserverpackage : Add-WindowsPackage failed. Error code = 0x800f081e
At line:1 char:1
+ install-nanoserverpackage -name Microsoft-NanoServer-Storage-Package
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-NanoServerPackage
How can I install IIS with my one VM, either locally at the console or remotely?