Top articles
-
[VMWARE] [PowerCLI] Deploy VM and configure hard disk
$templateName = 'template' $esxName = 'esx' $clusterName = 'cluster' $dsName = ' dsName ' $template = Get-Template -Name $templateName $ds = Get-Datastore -Name $dsName $cluster = Get-Cluster -Name $clusterName $esx = Get-VMHost -Name $esxName $vm = New-VM...
-
[SCCM] [Windows 10] Etendre l’inventaire pour connaitre l’origine de Windows 10
Windows 10 Fresh vs Upgrade Inventory Information The Windows 10 Upgrade information is located in the device registry in the HKLM\System\Setup\upgrade\downlevelbuildnumber. We need to modify our hardware inventory to gather this value on our Windows...
-
Invoke-USMT function code
function Invoke-USMT { [CmdletBinding()] param( [Parameter(Mandatory=$true)] [string]$SourceComputer, [Parameter(Mandatory=$true)] [string]$DestinationComputer, [Parameter(Mandatory=$true)] [string]$UserName, [Parameter(Mandatory=$true)] [string]$SharePath,...
-
USMT Script
Add-PSSnapin Microsoft.SharePoint.PowerShell function MigrateUserOrGroups($migrationType, $csvFile) { #Getting the SPFarm object $farm = Get-SPFarm Write-Host $migrationType #Checking whether the user input the type of Migration as Group if($migrationType...
-
USMT: script for both scanstate and loadstate in VBScript
(A little thanks for you is a big gift for me) this script in compatible with both cscript and deployment TaskSequence : On Error Resume NextstrComputer = "."const HKEY_LOCAL_MACHINE = &H80000002Const TIMEOUT = 3 ' Detect and configure execution environment...
-
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...
-
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...
-
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...
-
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'...
-
Deploy Windows Server 2008 or higher in vCenter script
Set a CSV file with informations: Domain vCenterInstance Cluster VMTemplate CustomSpec Location DataStore DiskStorageFormat NetworkName Memory CPU DiskCapacity SubnetLength GW IP_DNS Hostname IP JoinDomainYN Deploy Windows Server 2008 or higher in vCenter...
-
[Outlook] [XenApp] Publish Outlook 2016 in XenApp
1. Download Office 2016 Administrative Template files and import ADML and ADMX files to C:\windows\PolicyDefinitions 2. pick ones that apply to you: -> Computer Configuration/Administrative Templates/Microsoft Office 2016 (Machine)/Updates Enable Automatic...
-
[Export] [XenApp] [Powershell] Export a list of all XenApp published applications via Powershell
[Export] [XenApp] [Powershell] Export a list of all XenApp published applications via Powershell XenApp 6.x: Add-PSSnapin *citrix* Get-XAApplicationReport * | Select BrowserName, {($_.ServerNames | Sort) -join ", "} | Export-csv c:\tmp\XA-AppReport.csv...
-
[SCCM] [DART] [Powershell] Add DaRT components to a Boot Image in SCCM
this script: <# .SYNOPSIS Add DaRT components to a Boot Image in Configuration Manager. .DESCRIPTION Add DaRT components to a Boot Image in Configuration Manager. This script requires to be executed on a system with Windows ADK, MDT and DaRT installed....
-
[SCCM] [Powershell] [BootImage] Extract and Configure SCCM WIM Boot Image
This script will extract the WIM file from the ISO boot image generated by SCCM. It then mounts, configures, and unmounts the WIM file so it is ready to push up to WDS. [CmdletBinding()] param ( [ValidateNotNullOrEmpty()] [string]$File = 'C:\WinPE\SCCM.iso'...
-
[XML] [AD] Xml file to install AD
replace in the file <*Your AD Server Name*> by Your AD Server Name:
System.Collections.ObjectModel.Collection`1[[System.Management.Automation.PSObject,... -
[ICD] [windows 10] [master] Créer une image de référence sans fichier unattend
L'idée est assez simple. Prenons un poste windows 10 installé de base. Configurons le avec ICD Puis faisons un sysprep + capture Injectons cette image capturée dans MDT... Pourquoi faire ainsi? L'interface ICD est bien plus userfriendly que l'interface...
-
[Windows] [Cryptologie] Crypter vos dossiers et fichiers
Un outil très utile pour crypter vos dossiers et fichiers: AxCrypt Cet outil permet de crypter individuellement vos dossiers et fichiers. Sinon, pour vérouiller l'accès à un repertoire ou un fichier de sorte qu'il ne soit plus visible, il y a FolderLock....
-
[Azure Active Directory] Supprimer des appareils du portail Azure Active Directory
Vous devrez peut-être supprimer des appareils d’Azure AD en cas de problèmes de communication ou d’appareils manquants. Vous pouvez utiliser l’action Supprimer pour supprimer du portail Azure les enregistrements de l’appareil inaccessibles et peu susceptibles...
-
[Intune] Essayer gratuitement Microsoft Intune
Microsoft Intune vous aide à protéger les données d’entreprise de vos équipes en vous permettant de gérer les appareils et les applications. Dans ce guide de démarrage rapide, vous allez créer un abonnement gratuit pour essayer Intune dans un environnement...
-
[Intune] Créer un utilisateur dans Intune et lui attribuer une licence
Prérequis Abonnement Microsoft Intune. Inscrivez-vous à un compte d’évaluation gratuite . Se connecter à Intune dans le Gestionnaire de points de terminaison Microsoft Connectez-vous au centre d’administration du Gestionnaire de points de terminaison...
-
[Intune] Créer un groupe pour gérer les utilisateurs
Si vous n’avez pas d’abonnement Intune, inscrivez-vous à un compte d’essai gratuit . [!NOTE] Intune fournit des groupes Tous les utilisateurs et Tous les appareils précréés dans la console avec des optimisations intégrées pour votre commodité. Configuration...
-
[Intune] Configurer l’inscription automatique pour les appareils Windows 10
Si vous n’avez pas d’abonnement Intune, inscrivez-vous à un compte d’essai gratuit . Configuration requise Abonnement Microsoft Intune : inscrivez-vous à un compte d’essai gratuit . Pour effectuer les opérations décrites dans ce guide de démarrage rapide,...
-
[Intune] [Autopilot] Utiliser Autopilot pour inscrire des appareils Windows dans Intune
Utiliser Autopilot pour inscrire des appareils Windows dans Intune Windows Autopilot simplifie l’inscription des appareils. Avec Microsoft Intune et Autopilot, vous pouvez donner de nouveaux appareils à vos utilisateurs finaux sans devoir créer, gérer...
-
Active Setup
Active Setup is similar to RunOnce, it allows you to launch a command at logon. This command will be launched once and only once for users (existing or new) when logging in . The registry keys to set up to use ActiveSetup can be found in: HKEY_LOCAL_MACHINE...
-
[SCCM] [Powershell] Report DPs errors in csv
Connect to SCCM: In admin console type it: Import-Module 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1' New-PSDrive -Name
-PSProvider "AdminUI.PS.Provider\CMSite" -Root "