How to: Query MachineOU information from ConfigMgr using PowerShell

With the Application Model in ConfigMgr 2012, you can create requirement rules based on Machine OU. Here’s a quick script to see what the ConfigMgr 2012 client has stored as the Machine OU:

( gwmi global_machineOU -namespace root\ccm\cimodels).MachineOU

Happy Scripting!

Greg

ramseyg@hotmail.com

Unknown's avatarAbout Greg Ramsey
Greg Ramsey is a Senior Distinguished Engineer for Dell Digital - Services. He has a B.S. in Computer Sciences and Engineering from The Ohio State University and has co-authored many books over the years. Greg is also a board member of the Northwest System Center User Group and the Midwest Management Summit. ​Greg has been a Microsoft Endpoint Manager (ConfigMgr, Intune) MVP for over 18 years.

2 Responses to How to: Query MachineOU information from ConfigMgr using PowerShell

  1. Hi , I found that this site “http://developingtrends.net/how-to-query-machineou-information-from-configmgr-using-powershell/” has copied your article

Leave a reply to Greg Ramsey Cancel reply