Skip to content

Instantly share code, notes, and snippets.

@Stephanevg
Last active May 2, 2021 19:51
Show Gist options
  • Save Stephanevg/fbc7eed945ecff8566426a66befec46c to your computer and use it in GitHub Desktop.
Save Stephanevg/fbc7eed945ecff8566426a66befec46c to your computer and use it in GitHub Desktop.
get system information on a mac os x system using powershell
function Get-MacOsXsysteminformation {
[xml]$infos = system_profiler -xml
return $infos
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment