Top articles
-
Où trouver les logs d’installation de windows 7
Les logs d'installation de Windows sont à différents emplacements sur le disque dur. Ces emplacements dépendent de la phase d'installation. La liste suivante est un sous-ensemble de fichiers Windows qui sont les plus utiles pour résoudre les problèmes...
-
SCCM 2007 : What are the damned SCCM Native Variables?? If you want to use native variable to customize your TS:
Hello, So i find the link to SCCM Native Variables (with or without MDT...). Go ---------------------------------> THERE If you want to go further "The Deployment Guys" give you an issue to export your TS variables to a log file for debugging: http:/...
-
VBS: a script to retrieve the wmi infos from computer : Manufacturer & Model
This script is in vbs and if you run it into under cmd you will just have to copy/past info to use it. I am going to write an add-on to automatic model detection, with this script in beggining: On Error Resume Next Dim oWMIService, cObj, oObj, ObjFile...
-
APPV: Version 5.0
La dernière version d’APPV vient de sortir. Quelques nouveautés très interessantes: La suppression du protocole RTSP au profit d'HTTP. La possibilité d’aisément choisir comment les applications virtuelles réagissent entre elle. Le but est de créer des...
-
SCCM 2007 : Créer la partition de maintenance et y placer WinRE
Activer le WinRE sur une partition de maintenance: créer un package, et dedans un script pour déplacer l'image WinRE dedans Ce script je ne l'ai pas inventé, on peut le trouver là . Sa fonction: - désactive la gestion du WinRE - déplace dans la partition...
-
Changements apportés au fichier de réponse pour Windows 8 et Windows 2012
Paramètres Windows Paramètres Description Microsoft-Windows-AllUserInstallAgent\LogonWaitForPackageRegistration Spécifie si Windows attend que l'enregistrement des applications Windows Runtime soit complété avant d'afficher l'écran de démarrage de Windows....
-
Windows 7 : Créer une release SYSPREP
Objectifs Les objectifs au terme de ce projet sont de pouvoir : Générer un nouveau sid aléatoire au poste ainsi que faire un refresh matériel de ce dernier. Paramétrer le premier démarrage de façon transparente (aucune demande pour entrer les utilisateurs,...
-
Get-AppPSCMContentMgmt
$Global:CMDrive = (get-location).Path $Global:here= 'C:\' set-location $here $SiteCode = $CMDrive.split(':')[0] $SiteServer = "" $Namespace = "ROOT/SMS/Site_{0}" -f $SiteCode set-location $CMDrive $AppDPContentInfo = "ObjectType = '{0}'" -f [Int][SMS_DPContentInfo]"Application"...
-
Findfileinsccmsrcs
# Chemin du fichier à rechercher $cheminFichier = "toto.exe" Set-Location "$siteCode`:" # Recherche du package contenant le fichier spécifié $package = Get-CMPackage | Where-Object { $_.PackageType -eq '0' } | ForEach-Object { $packageID = $_.PackageID...
-
GetExeInfos
# Chemin du fichier .exe à analyser $cheminFichier = "C:\chemin\vers\votre\fichier.exe" # Récupération de la version du fichier .exe $version = (Get-Command $cheminFichier).FileVersionInfo.FileVersion # Processus liés $processusLies = Get-Process | Where-Object...
-
# Module de recensement des applications SCCM obsolètes + poids sur les DPs + emprunte Carbone
function connexCM{ param($PM} $ici = (get-location).path $COMPUTERNAME = $env:COMPUTERNAME $USERDOMAIN = $env:USERDOMAIN # Importer le module SCCM Import-Module "$($Env:SMS_ADMIN_UI_PATH)\..\ConfigurationManager.psd1" # Récupérer le nom du lecteur pour...
-
VBS : SQL: Do Multiple Query To a DATABASE
'################################# ' SQLQuery.vbs ' Use to Query SQL DataBase ' command line: ' cscript SQLQuery.vbs /DataSourceName:%DataSourceName% /ServerName:%ServerName% /Database:%Database% /ADOTable:%ADOTable% /column:%column% /search:%search%...
-
CMD Tips
to go into a folder: cd /d example, to go into e:\toto you can write: e: cd toto or cd /d e:\toto it is usefull in command line scripts if you are looking for an expression in files: In Windows 7, unlike XP you can't search a expression into file. so...
-
Windows Sysinternals Tools
Sysinternals a été racheté par MS il y a quelques temps. Mais Ces outils sont toujours aussi utiles. Le lien de téléchargement MS: Windows_Sysinternals_Tools La page MS sur le sujet. Et comme toujours, si ça a disparu du scope MS: http://technet.microsoft.com/fr-fr/sysinternals/bb842062...
-
How to extend the Windows Server 2008 and Windows 7 evaluation period
(A little thanks for you is a big gift for me) How to install Windows without activating it 1. Run the Windows Setup program. 2. When you are prompted to enter a product key for activation, do not enter a key. Click No when Setup asks you to confirm your...
-
[How To] Réseau Virtual Box
Quelques petites précisions sur la gestion du réseau sous VirtualBox... J'ai pensé que ça pouvait être utile. Liens à consulter : - Documentation sur VirtualBox - Documentation réseau sur VirtualBox - Le protocole DHCP sur Wikipédia Sources : - Configuration...
-
Check if DartDrive is installed
dim wshShell, strCmd, oRep, strReponse, oOsdV4 Set wshShell = CreateObject("WScript.Shell") Set oOsdV4 = CreateObject("Microsoft.SMS.TSEnvironment") strCmd = "cmd.exe /C dir /s /AH c:\Recovery\Winre.wim" set oRep = wshShell.Exec(strCmd) strReponse = oRep.StdOut.ReadAll...
-
To Tatoo the deployed Windows 7
(This tatoo will be used by SCCM hardware inventory) Const Version = 1.0 Dim oShell, osdV4, WshSysEnv Set oShell = CreateObject ("WSCript.shell") Set osdV4 = CreateObject("Microsoft.SMS.TSEnvironment") Set WshSysEnv = oShell.Environment("SYSTEM") Dim...
-
WMI/PS: Récupérer model/PN/Constructeur machine en powershell
#récuperer le fabricant et le modèle du pc $ComputersystemObj = Get-WmiObject Win32_Computersystem $Make = $ComputersystemObj.manufacturer $PN = $ComputersystemObj.model $Model = $ComputersystemObj.Version write-host "Information = ""Valeur""" write-host...
-
How to reinstall Landesk 9.0
(A little thanks for you is a big gift for me) On the core server, run regedit and do a search for cba8inst and delete the parent node for every occurrence. Here is an example of one I found: HKEY_CLASSES_ROOT\Installer\Products Also remove parent nodes...
-
Assign AppV Drive Letter
Dim oWsh, osdV4, objFileDiskPart, objLogFile, strFileDiskPart, iRetVal Set oWsh = CreateObject("WScript.Shell") Set osdV4 = CreateObject("Microsoft.SMS.TSEnvironment") Set objFSO = CreateObject("Scripting.FileSystemObject") strFileDiskPart = osdV4("_SMSTSLogPath")...
-
VBS: Lancer un script depuis un script et recuperer le resultat
Fonctionnement: Script 1 (cmd.vbs) execute une commande ou une fonction ou whatever Scritp A (execcmd.vbs) lance script 1 dans une variable et “joue” avec la variable. Très utile si on a un script A chapeau et X scripts autour avec chacun une fonction...
-
SCCM 2007 : troubleshooting log files
SCCM troubleshooting log files ciamgr.log: Provides information about the addition, deletion, and modification of software update configuration items. distmgr.log : Provides information about the replication of software update deployment packages. objreplmgr.log...
-
VBS : Some Usefull, Local & AD, group functions
strComputer = "." ============================================================= Get the SMBIOS asset tag from the Win32_SystemEnclosure class ============================================================= Dim objWMI : Set objWMI = GetObject("winmgmts:")...
-
vbs: AD: get user DN
' Ce script permet d'obtenir le DN et donc l'OU d'un utilisateur ' à partir de son username ' usage: cscript getuserDN.vbs /Usr:'SAMAccount' ' exemple: cscript getuserDN.vbs /Usr:%username% Dim colNamedArguments : Set colNamedArguments = WScript.Arguments.Named...
/image%2F0881799%2F20140610%2Fob_a8c7fe_logo2.jpg)