Find number of cores on each processor for Microsoft Server 2016 Licensing

By admin

To calculate the cost of licensing for Server 2016, it’s necessary to know how many cores each CPU of your server is running.  This WMI query is useful in identifying that.  [cc lang=”powershell”]$property = “systemname”, “deviceid”, “name”, “maxclockspeed”,”addressWidth”, “numberOfCores”, “NumberOfLogicalProcessors” Get-WmiObject -class win32_processor -Property  $property | Select-Object -Property $property[/cc]

How to install and configure Hyper-V Host (core) for remote administration

By admin

It’s possible to configure a Hyper-V host running core to be fully managed remotely.  I have read various suggestions on the web saying it’s better and more secure to leave the Hyper-V host in a workgroup, but the effort required when doing that just doesn’t make it worth it in my opinion.And we actually want…

Configure IPv4 IP Address, DNS servers and DNS Suffix from within Powershell

By admin

I recently used this on a Hyper-V build.  It should provide enough network connectivity to add your server to the Active Directory domain. Find connected NICs and interface names [cc lang=”powershell”]Get-NetAdapter[/cc] Configure IP address [cc lang=”powershell”]New-NetIPAddress -InterfaceAlias “NIC1″ -IPAddress 10.20.0.141 -AddressFamily IPv4 -PrefixLength 24 -DefaultGateway 10.20.0.1[/cc] Configure DNS Servers [cc lang=”powershell”]Set-DnsClientServerAddress -InterfaceAlias “NIC1” -ServerAddresses 10.20.0.133[/cc]…