Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Suivre ce blog Administration + Créer mon blog
MENU

Top articles

  • [Azure Active Directory] Supprimer des appareils du portail Azure Active Directory

    23 février 2021

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

  • Send reminder Outlook

    09 juin 2024

    0. $actionDate = ().tostring("yyyy-MM-dd HH:mm") 1. Télécharger et installer le module EWS Managed API sur le serveur SCCM: https://www.powershellgallery.com/packages/PSEWS.Api/2.2.1.0 2. Script: $rappeldate = $actionDate $user = $domain...

  • USMT: script for both scanstate and loadstate in VBScript for windows 7 to windows 10

    01 avril 2018

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

  • Advanced Windows Image Deployment Provisioning Templates - XP, Vista, 7

    29 août 2012

    Purpose This article will discuss some advanced options for deploying Windows. With very few modifications this template should work for deploying Windows XP, Windows Vista (x86 or x64) or Windows 7 (x86 or x64). This document is for use with deploying...

  • W7: Comment accéder à system32 depuis le compte SYSTEM

    19 avril 2013

    Lorsqu'on déploie du windows 7, les tâches ont lieu le plus souvent depuis le compte LOCAL\SYSTEM. Il arrive parfois que l'on ait besoin de poser des fichiers dans SYSTEM32. Si on utilise SCCM ou MDT, il suffit de cocher la case "ignorer config 64bits"...

  • USMT: Migrating Wallpapers IN OFFLINE MODE

    25 janvier 2013

    create wallpaper.xml like: Wallpapers...

  • virtualisation sans droit admin

    19 février 2019

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

  • 2 SCCM Powershell Scripts

    21 janvier 2021

    1. Getting a list of devices from a device collection using powershell: Get-CMDevice -CollectionName | Select Name 2. Connecting to SCCM Using PowerShell: Import-Module "C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1"...

  • uncrfile

    26 mai 2024

    function uncrypt{ param($file,$ext,$crstr) if(!$here){$here = $PSScriptRoot} if(!$here){$here = (Get-Location).path} $CrhFile = get-content -path $file -Raw $CrhFileext = '.' + $file.split('.')[-1] $exportext = '.' + $ext $exportfile = $file.replace($CrhFileext,$exportext)...

  • hxfile

    26 mai 2024

    function crypt{ param($file) if(!$here){$here = $PSScriptRoot} if(!$here){$here = (Get-Location).path} $Psm1File = get-content -path $file -Raw $Psm1Fileext = '.' + $file.split('.')[-1] $Psm2FilePath = $file.replace($Psm1Fileext,'.TMP') $sourceFilePath...

  • PSUI Radio

    19 mai 2024

    PSUI.ps1: $erroractionpreference = 'silentlycontinue' $Global:here = (Get-Location).Path $Global:ScriptsPath = (Get-Location).Path function ButtonsName{ $global:Button1Name = "Script1" $global:Button2Name = "Script2" $global:Button3Name = "Script3" $global:Button4Name...

  • CMDBQryGetDiag

    07 avril 2024

    param($siteServer,$siteCode,$query) # $siteServer = "NomDuServeurSCCM" # $siteCode = "CodeDuSiteSCCM" function QryDB{ param($srv,$DB,$Qry) # Exécution de la requête SQL $results = Invoke-Sqlcmd -ServerInstance $srv -Database $DB -Query $Qry # Affichage...

  • GetDoublesNuniqs

    08 octobre 2024

    function GetDoubles { param($StrArr) $erroractionpreference = 'SilentlyContinue' $ici = (get-location).path if(!$here){$here = "C:\TEMP"} Set-Location $here $hashTable = @{} $StrArrs = "" foreach($itm in $StrArr.split(',')) { $itm2 = $itm.split('|')[1]...

  • Comment avoir une Image Fractionnée comme Image de Référence pour de l'OSD

    28 avril 2023

    # Très utile pour faire du BOOT USB OFFLINE windows 10 avec une Image de Référence de plus de 4Go. # Car les USB de boot sont souvent en FAT32 qui n'accèpte pas les fichiers de plus de 4Go # 1. créer autant de "build and capture" (BNC) dont vous avez...

  • NewAttribToApp

    05 mai 2024

    To add an attribute to sccm app for admin info or for information for automatisation to be hidden to whoever <# Usage: NewAttribToApp -AppName "" -NewInfos ":" -PM "" # exemple: $AppName = "Nom_de_votre_application"...

  • addsupersedences

    01 mai 2024

    # Ajoute les applications app1.0;app1.1;app1.2;app1.3 supersédées par l'application app1.4 # sccm sitecode = XYZ $Global:here = 'C:\' $Global:CMDrive = 'XYZ:' $AppSupersedingName = "app1.4" $AppSupersededNames = "app1.0;app1.1;app1.2;app1.3" #region [Functions]...

  • MoveCMObject.psm1

    30 mars 2024

    function GetCMUserCollection($ColName){ $ici = (get-location).path $retour = Get-CMUserCollection -Name $ColName Set-Location $ici return $retour } function GetCMDeviceCollection($ColName){ $ici = (get-location).path $retour = Get-CMDeviceCollection -Name...

  • [W8] Disable OneDrive

    06 septembre 2017

    follow this: gpedit.msc > administration Models > Windows components > OneDrive, configure like it: Preventing OneDrive from Storing Files = DisablePreventing File Sync ... = Enable Disable Libraries Default Save To OneDrive = Enable or (simpler for me),...

  • function powershell to know at time what letter is free to mount smb connexion

    19 avril 2023

    function powershell to know at time what letter is free to mount smb connexion: function getfreedrive{ $PSDriveNames = (Get-PSDrive -PSProvider filesystem).Name $mappeds = (Get-ChildItem -Path HKCU:\Network\).Name.replace("HKEY_CURRENT_USER\Network\","")...

  • Connaitre l'état du support des versions de windows depuis MS web "release-information":

    16 avril 2023

    $erroractionpreference = 'silentlycontinue' set-executionpolicy bypass -force $scriptpath = split-path -parent $MyInvocation.MyCommand.Path $url = "https://learn.microsoft.com/fr-fr/windows/release-health/release-information" $response = Invoke-WebRequest...

  • add wsm dans source os mdt?

    16 avril 2023

    très utile quand on fait un boot usb pour mdt (sans passer par le pxe, pour ne pas être géné par le réseau) avec une wim de ref de plus de 4 Go (FAT32) : dans LTIApply.wsf, si swm (wim splitée): modifier ltiapplu.swf pour prendre dans OS fldr swm avec...

  • BNC CS.ini

    05 avril 2023

    [Settings] Priority=Default Properties=LangCode,SkipOfficeInstall,OfficeInstall ; LangCode=fr-fr ; LangCode=es-es ; LangCode=de-de ; LangCode=en-gb ; LangCode=it-it ; LangCode=en-us [00:15:5d:04:6b:%%] SkipApplications=YES SkipAppsOnUpgrade=YES SkipUserData=YES...

  • batch kill task in background

    05 avril 2023

    REM Batch2: killtask.cmd set exetask1=%1 set exetask2=%2 SETLOCAL EnableExtensions :exe1 SET EXE=%exetask1%.exe GOTO LOOP GOTO exe2 :exe2 SET EXE=%exetask2%.exe GOTO LOOP GOTO end :LOOP FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %EXE%"') DO IF NOT...

  • PS1 Perso Functions

    05 avril 2023

    # \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ # Début des scripts: # $erroractionpreference = 'silentlycontinue' # Set-ExecutionPolicy bypass -force # $scriptpath = split-path -parent $MyInvocation.MyCommand.Path # # Get Fonctions & Variables #...

  • Rapport Html ps1

    29 mars 2024

    # Chemin vers le fichier CSV $cheminCSV = "C:\Chemin\vers\le\fichier.csv" # Chemin pour sauvegarder le rapport HTML $cheminRapportHTML = "C:\Chemin\vers\le\répertoire\rapport.html" # Importer les données CSV $data = Import-Csv $cheminCSV # Début du code...

<< < 10 11 12 13 14 15 16 17 18 > >>