Last active
May 2, 2021 19:51
-
-
Save Stephanevg/fbc7eed945ecff8566426a66befec46c to your computer and use it in GitHub Desktop.
get system information on a mac os x system using powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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