Monday, September 24, 2018

VB Script for detection rule in SCCM

on error resume next
Dim Regkey

Dim WshShell: Set WshShell = CreateObject("WScript.Shell")
RegKey=WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\O365ProPlusRetail - en-us\DisplayName")

If  RegKey ="Microsoft Office 365 ProPlus - en-us" Then
wscript.echo "Success"
Else
Wscript.quit
End if

site backup job manually

Start a scheduled SCCM 2012 site backup job manually You might want to start a scheduled SCCM 2012 site backup job manually. off co...