Find your exact CPU model on macOS

I recently needed to find out the model of CPU I had in mac. If you look in About This Mac or the relevant system profile you find some basic information.

  • Intel Core i7
  • 3.2 Ghz.

No where is there the actual CPU model. Open up Terminal and type sysctl -n machdep.cpu.brand_string

sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz

There we go! Actual detail about my Macbook’s CPU.

Contain yourself PowerNSX, please!

Recently, PowerNSX was released to work with PowerShell Core. This was a substantial undertaking from Nick Bradford to submit some pull requests to PowerShell Core, create a new method of handling web requests, and then wholesale adjusting PowerNSX to work.

Now that this groundwork has been done PowerNSX can be added into the VMware docker image that contains PowerCLI core. William Lam detailed the container release here

docker run --rm -it --entrypoint='/usr/bin/powershell' vmware/powerclicore

This will allow docker to run the image vmware/powerclicore and drop the current shell into the directory /usr/bin/powershell.

To import PowerNSX run the command import-module PowerNSX and you’re cooking with gas. Time to connect to my NSX Manager.

PS /powershell> Connect-NsxServer -Username admin -Password default -DisableVIAutoConnect

Version : 6.3.0
BuildNumber : 4637061
Credential : System.Management.Automation.PSCredential
Server :
Port : 443
Protocol : https
ValidateCertificate : False
VIConnection :
DebugLogging : False
DebugLogFile : \[email protected]_01_04_02_16_00.log

And a quick command to verify everything is working as expected.

PS /powershell> Get-NsxSecurityTag | select name


Now you can have PowerCLI and PowerNSX on any device any where. Happy days!