Nano Server Flashcards
Usage scenarios for nano server?
containers, cloud-based infra services, and born-in-the cloud apps
example use cases for nano server?
hyper-v, failover clusterings, scale out file server, dns , and iis
vm’s, containers, and dev platforms
ways to install nano server?
Boot into DVD and add VHd to bootable drive or add in hyper-v as vm
steps to install nano server powershell?
import-module .\nanoserverimagegenerator -verbose
new-nanoserverimage -deploymenttype guest|host -edition standard|datacenter -mediapath
root -targetpath path\filename -computername name
next you add vhd/x file when creating new vm in hyper-v. If physical boot from dvd and create bootable drive and add vhdx file there and set to boot from there.
how to join to domain when creating it?
if already joined to domain add -domainname parameter
How to domain join with blob file if away from domain?
from computer joined to domain create using
djoin /provision /domain domainname /machine computername /savefile filename.txt
next when creating remove computername parameter and add -domainblobpath
How to add features?
add when creating vhdx file by adding optional parameters such as computer for hyper-v feature
use edit-nanoserverimage with -packages parameter
How to set ip?
when creating vhdx set ip and dns
or in recovery console. but dns can’t be set there either use ipv4dns parameter in edit-nanoserverimage or new-nanoserverimage
how to access workgroup nanoserver with ps?
first add it to your trusted hosts
set-item wsman:\localhost\client\trustedhosts “192.168.10.41”
winrm set winrm/config/client @{TrustedHosts=”192.168.10.41”}
what tool can be used to service images?
dism
dism command to mount image?
dism /mount-image /imagefile:filename /index:# /name:imagename /mountdir:pathname
add drives using dism?
dism /image:foldername /add-driver /driver:drivername [/recurse]
add update using dism?
dism /image:c:\mount /add-package /packagepath:c:\updates\package.msu [/ignorecheck]
unmount image and keep changes?
dism /unmount-image /mountdir:c:\mount /commit
/discard to not keep