70-740, Teil 1.2.2. Nanoserver installieren

70-740, Teil 1.2.2.

Nanoserver installieren

Ideen für die Recherche im Web:

technet Nano Server

Zum Nachschlagen:

https://technet.microsoft.com/de-de/windows-server-docs/get-started/getting-started-with-nano-server

https://docs.microsoft.com/en-us/powershell/module/nanoserverimagegenerator/new-nanoserverimage?view=win10-ps

https://technet.microsoft.com/de-de/library/hh848537.aspx

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/convertto-securestring?view=powershell-5.1

https://technet.microsoft.com/de-de/windows-server-docs/get-started/nano-server-quick-start

https://technet.microsoft.com/de-de/windows-server-docs/get-started/deploy-nano-server

https://www.microsoft.com/en-us/download/details.aspx?id=54065

https://docs.microsoft.com/de-de/windows-server/get-started/iis-on-nano-server

Übungen:

Copy-Item E:\NanoServer\NanoServerImageGenerator -Destination C:\ -Recurse

cd C:\NanoServerImageGenerator

Get-ExecutionPolicy
# Bei Bedarf: Set-ExecutionPolicy RemoteSigned
# https://technet.microsoft.com/de-de/library/ee176961.aspx

Import-Module .\NanoServerImageGenerator -Verbose

get-help New-NanoServerImage -ShowWindow

get-help New-NanoServerImage -Online

dir E:

Get-VMSwitch

$Secure = Read-Host -AsSecureString
#https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/convertto-securestring?view=powershell-5.1

1..5 | % {
New-NanoServerImage -DeploymentType Guest -Edition Datacenter -TargetPath .\wdN$_.vhdx -Clustering -Compute -ComputerName wdN$_ -Containers -DomainName gemuetliche.pause -EnableRemoteManagementPort -InterfaceNameOrIndex Ethernet -Ipv4Address 10.104.4.$_ -Ipv4Dns 10.4.4.1 -Ipv4Gateway 10.0.4.1 -Ipv4SubnetMask 255.0.0.0 -MaxSize 100GB -MediaPath E:\ -Package Microsoft-NanoServer-DNS-Package, Microsoft-NanoServer-IIS-Package -ReuseDomainNode -Storage -AdministratorPassword $Secure
#https://docs.microsoft.com/en-us/powershell/module/nanoserverimagegenerator/new-nanoserverimage?view=win10-ps

New-VM -VHDPath C:\NanoServerImageGenerator\wdN$_.vhdx -Generation 2 -MemoryStartupBytes 4GB -Name wd$_ -SwitchName Switch1
#https://technet.microsoft.com/de-de/library/hh848537.aspx

}

Start-VM -VMName wdN2

Enter-PSSession -VMName wdN2

Get-NetFirewallRule -DisplayGroup „*Remote*“ | ft DisplayName, Enabled

Get-NetFirewallRule -DisplayGroup „*Remote*“ | Enable-NetFirewallRule