Powershell to speed up deployment of Intel NUC’s
So this week we have been working on deploying more meeting rooms in One Canada Square, Canary Wharf, London UK, for a client. This is the first site where we have agreed to set static IP’s on the Intel NUC’s and the Yealink CP960’s.
To speed up the deployment I put together a short Powershell script to set a few bits out of the box.
All the NUC’s come to us with English US defaults for the region, local, etc. We are in the UK so we want en-GB so we use:
Set-WinHomeLocation -GeoId 242
Set-WinUserLanguageList en-GB -force
Next we want to set a static IP, subnet, gateway and DNS:
New-NetIPAddress –InterfaceAlias “Ethernet” –IPv4Address “10.38.7.10” –PrefixLength 24 -DefaultGateway 10.38.7.1
Set-DnsClientServerAddress -InterfaceAlias “Wired Ethernet Connection” -ServerAddresses 184.108.40.206, 220.127.116.11
And while we are there we may aswell set the time correctly:
set-date -date “25/10/2019 14:53”
This has reduced the deployment time of each NUC, as the script saves multiple clicks. Next week I will do the last 2 steps which are activation of Windows 10 and pushing out an MSI installer for the Yealink Zoom rooms plugin.