Category / Active Directory / ConfigMgr (SCCM) / PowerShell / Script / Windows 10
-
Dynamic drive maps with Group Policy Preferences
Yeah I know that cloud is the way to go and that everyone should use OneDrive and Teams instead of old style SMB drives. BUT…if you still need to do some dynamic drive mapping e.g. based on a user’s Active Directory group membership or the existence of a server or share, read on. To map…
-
Reflections on [ADSI] and [ADSISEARCHER]
What the heck is [ADSI] and [ADSISEARCHER] ?
-
Move computer in AD during OSD
Let’s say you want to re-image a computer in your active directory domain. But you want it to move from e.g. the Windows 7 OU to the Windows 10 OU. If the PC already exists in AD, it will not be moved even if you specify the new OU in your SCCM task sequence in…
-
Move computer in Active Directory
Script which moves a computer object from one OU to another in AD. This script can e.g. be run on an SCCM server as a status filter rule whenever a task sequence has completed on a PC in your enterprise. It won’t work in WinPE since the AD powershell module is not present in the…
-
PowerShell – export AD user account info to csv
This script can be used for exporting user account onformation fra Active Directory…