title: Importing Active Directory OU's to SCCM with thru PowerShell Code
body: <p>I need to move my OU's in my Active Directory to SCCM Device Collections using Power Shell. Basically replication AD OU's in SCCM.</p>
  
  <p>I have tried to create device collections based off of active directory OU structures but I have hundreds of collections and it takes a while to create one. This is something we have to do in monthly basis in our case. I'm a newbie so I might have asked a very basic question...</p>
  
  <p><a href="https://imgur.com/ieeG55i" rel="nofollow noreferrer">https://imgur.com/ieeG55i</a> is the OU's I have for each department, and according to each department I am trying to have a device collection in SCCM.</p>
  
  <p><a href="https://imgur.com/aDfN92j" rel="nofollow noreferrer">https://imgur.com/aDfN92j</a> is the SCCM device collection snap shot.</p>