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://docs.microsoft.com/de-de/windows-server/get-started/nano-in-semi-annual-channel

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:

# Beispiel 1

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

cd C:\NanoServerImageGenerator

Get-ExecutionPolicy

# Bei Bedarf: Set-ExecutionPolicy RemoteSigned

Import-Module .\NanoServerImageGenerator -Verbose

New-NanoServerImage -Edition Standard -DeploymentType Guest -MediaPath D:\ -BasePath .\Base -TargetPath .\wd2016nano1\wd2016nano1.vhdx -ComputerName wd2016nano1

get-vm

Enter-PSSession -VMName wd2016nano1

New-NanoServerImage -DeploymentType Guest -Edition Datacenter -TargetPath .\wd2016nanoC5\wd2016nanoC5.vhdx -BasePath .\Base -Compute -ComputerName wd2016nanoC5 -Containers -DomainName gemuetliche.pause -EnableRemoteManagementPort -InterfaceNameOrIndex Ethernet -Ipv4Address 10.10.3.5 -Ipv4Dns 10.10.3.1 -Ipv4Gateway 10.10.3.1 -Ipv4SubnetMask 255.0.0.0 -ReuseDomainNode -Storage

###

# Beispiel 2

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

###

# Beispiel 3

Bild1: Thema 1.2.2 Nanoserver installieren (relevante Zertifizierungspfade: MCSA, MCSE)