Overblog
Suivre ce blog Administration + Créer mon blog

[SCCM] import task sequence

Publié le par damcuvelier

#Requires -Version 3.0<# .SYNOPSIS Imports a Task Sequence from a XML file .DESCRIPTION Imports a Task Sequence from a XML file as used by ConfigMgr 2007 and older. ConfigMgr 2012 and above use a different format for the default export via the ConfigMgr...

Lire la suite

[SCCM] export task sequence

Publié le par damcuvelier

#Requires -Version 3.0<# .SYNOPSIS Exports a Task Sequence as an XML file .DESCRIPTION Exports a Task Sequence as an XML file as used by ConfigMgr 2007 and older. ConfigMgr 2012 and above use a different format for the default export via the ConfigMgr...

Lire la suite

Migrate-WindowsUserProfile

Publié le par damcuvelier

<#.SYNOPSISMigrate user state from one PC to another using USMT..DESCRIPTIONMigrate user state from one PC to another using USMT. Intended for domain joined computers.By default, all user profile data except Favorites and Documents will be included.Tool...

Lire la suite

USMT Script

Publié le par damcuvelier

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...

Lire la suite

Invoke-USMT function code

Publié le par damcuvelier

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,...

Lire la suite