Customisations.vbs – Sample 1

‘**************************************************************************** ‘*  Name: Customisations.vbs ‘* ‘*  Description:  This script is used to perform the following functions: ‘*                    – Carry out Final Customisations ‘* ‘**************************************************************************** ‘**************************************************************************** ‘ Declare Objects & Variables ‘**************************************************************************** ‘Set Option Explicit Option Explicit ‘Set System to ignore errors and continue On Error Resume … Read more

Export the task sequence SCCM 2012 to XML format (legacy format of sccm 2007)

Export the task sequence SCCM 2012 to XML format (legacy format of sccm 2007) SCCM 2012 task sequences can be exported in .zip format and when we handle/extract it will not work. Below is only applicable from sccm 2012 SP1 and above With help of Power shell we can extract this in XML format.   … Read more

VBScript – basic question to start Learn vbscript

try to write vbscript for below questions…. 1) Write a script which write below registry Keys and Value KEY Name —  HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionEFS Value name — EfsConfiguration VALUE — 1 Type — REG_DWORD 2) write a script to import test.reg in the registry 3) Write a script which display Registry Key Values in Message box … Read more

Delete all packages from Distrubution Point

Did you get ever a situation to delete all the Packages from one Specific DP ? There are few tools/Scripts are available –          ConfigMgr 2007 Distribution Point Package Utility o   Can be downloaded from https://www.myitforum.com/inc/arts/12171Setup.zip –          Vbscript I like this tool as it is very quick o   https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-54-13-12/DPClean.zip For SCCM 2012 https://gallery.technet.microsoft.com/scriptcenter/Remove-Packages-from-5031a1b5 ‘Rslaten 03/2005’https://blogs.msdn.com/b/rslaten/archive/2006/03/01/removing-a-retired-dp-from-all-your-packages.aspx On … Read more

PowerShell script to check WDS Service status against of List of servers.

Below is a PowerShell script, this will list WDS Service status against of List of servers. Below is a powershell script will list WDS Service status againest of List of servers. $InPutComputersList = get-content “c:MyScriptslist.txt”$OutPutFile = “c:MyScriptsWDS_ServiceStatus.csv”$NotReachble = “c:MyScriptsNonPingSystems.csv”$listResult = @()foreach($ForEverComputerIntheTextFilelinebyLine in $InPutComputersList) {if (test-path $ForEverComputerIntheTextFilelinebyLinec$windowswrite.exe) {$objService = Get-Service WDSServer -ComputerName $ForEverComputerIntheTextFilelinebyLine | select machinename, … Read more