Quantcast
Channel: SCCM Tools – Eswar Koneti's Blog
Viewing all articles
Browse latest Browse all 17

#SCCM / #configmgr 2012 Open Resource Explorer Without SCCM Console

$
0
0

In My Previous post , we get to connect Resource Explorer of Computer without Using SCCM Console in SCCM 2007.http://eskonr.com/2012/12/sccm-configmgr-2007-open-resource-explorer-without-sccm-console/

You can use the same script for sccm 2012 but with littlie changes to the folder names and File names.

Here is the Batch script to connect to resource Explorer of Client Computer in SCCM 2012 without Launching SCCM 2012 Console.

Change the Values in Red Color.

:start
@echo off
CLS
Title Resource Explorer by ESKONR
> temp.vbs ECHO WScript.Echo InputBox( "To which Computer would you like to connect?", "Resource Explorer By ESKONR", "Enter Computer Name" )
FOR /F "tokens=*" %%A IN (‘CSCRIPT.EXE //NoLogo temp.vbs’) DO SET dator=%%A
DEL temp.vbs
F:
cd
\SMS\AdminConsole\bin
SET var=’%dator%’
start resourceexplorer.exe -s -sms:ResExplrQuery="SELECT ResourceID FROM SMS_R_SYSTEM WHERE NAME = %var%" -sms:connection=\\Server\root\sms\site_%Sitecode%
exit
:end

Until Next!


Viewing all articles
Browse latest Browse all 17

Trending Articles