Copy User and OU to new AD

From a server in old AD: ExpUsrsInOu.ps1: #Export User in OU: $CanoName = Get-ADOrganizationalUnit -Filter * -Properties CanonicalName | Select-Object -Property CanonicalName foreach($OUpath in $CanoName.CanonicalName) { $ExportPath = 'C:\users_in_ou.csv'...
Create AD Powershell Script

A simple script to create a AD in powershell: # .\CreateDom.ps1 -DomainName MyDomain -AdminPassword P@ssw0rd! Param($DomainName,$AdminPassword) if(!$DomainName){Write-Output "Value for Domain Name (DomainName) is mandatory"; Exit} if(!$AdminPassword){Write-Output...
Install New AD from Powershell

Semi-Automatique Install New AD from Powershell: AddAdPrereqs.ps1 (need reboot after because of the computer rename): Param( [Parameter(Mandatory=$false, ValueFromPipeline=$true)][string[]]$ipaddress = "192.168.0.255", [Parameter(Mandatory=$false, ValueFromPipeline=$true)][string[]]$netbiosName...
Migration multiples AD

How to migrate multiple AD when you can not upgrade? That is when there is a mounted of several versions (for example: 2008 to 2016). Here is my approach to the subject: 1. Create new ADs (in mixed mode (**)) in the same subnet as the old ADs 2. Create...
VDI SCCM duplicate GUID

Comment gérer des machines VDI à partir d’un master GOLD avec SCCM notamment pour y déployer des applications. En effet, il est intéressant de pouvoir gérer les VDI induis d’un master GOLD avec SCCM mais se pose alors un problème : le client à un GUID...
virtualisation sans droit admin

Pour faire de la virtualisation vous avez besoin de 2 choses: 1. Les droits d'admin sur le poste 2. activer la virtualisation dans le bios Nous allons partir du postula que la virtualisation est active dans le bios. Prérequis: Avoir l'ISO de votre OS...
[SCCM] Déploiement d'une application setup.exe
[SCCM] 2012 Deploying Applications

Très bien expliqué sur le blog: https://prajwaldesai.com/deploying-applications-using-sccm-2012/