Bize Ulaşın / Contact Us

Script ile SMS/SCCM Advanced Client’in Machine Policy yi cekip uygulamasini saglamak

23 / 02 / 2011 by SCCM / Configuration Manager Yorum yok / No Comments

Asagidaki ornek script araciligi ile SMS/SCCM Advanced Client yuklu istemcinizin sunucunuzdan son machine policy i cekip , uygulamasini saglayabilirsiniz, ozellikle testlerinizde isinizi hizlandirmak icin cok faydali olacagini saniyorum.

On Error Resume Next

Dim objCPAppletMgr
Dim objClientActions
Dim objClientAction
Dim strActionName

strActionName=”Request & Evaluate Machine Policy”

‘Get the Control Panel applet manager object
set objCPAppletMgr = CreateObject(“CPApplet.CPAppletMgr”)

‘Get a collection of client actions

set objClientActions=objCPAppletMgr.GetClientActions

‘Loop through the available client actions

For Each objClientAction In objClientActions

If objClientAction.Name = strActionName Then
objClientAction.PerformAction
WScript.Echo “Action ” + objClientAction.Name + ” initiated”
End If
Next

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*

Kontrol / Control * Time limit is exhausted. Please reload CAPTCHA.