<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
	<title><![CDATA[Forums]]></title>
	<link><![CDATA[http://www.systemcentercentral.com/Forums/tabid/60/rss/1/tag/Forums%20CP_Development/Default.aspx]]></link>
	<description></description>
	<language>en-us</language>
	<copyright><![CDATA[Copyright 2009 System Center Central All Rights Reserved.]]></copyright>
	<lastBuildDate>Tue, 07 Feb 2012 07:56:40 GMT</lastBuildDate>
		<item>
			<title><![CDATA[Forums: Anyone have a SIMPLE custom DCM baseline script sample?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/82393/Default.aspx]]></link>
			<description><![CDATA[<p>I am looking to setup some of our first custom baselines, but notice there are minimal examples online. Anyone have a simple explanation with a script sample to show how I need to structure my scripts? </p>]]></description>
			<pubDate>Thu, 04 Nov 2010 17:11:12 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/82393/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anyone have a SIMPLE custom DCM baseline script sample?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/tabid/60/IndexId/88578/Default.aspx]]></link>
			<description><![CDATA[Hey guys, I actually found and article from Pete on DCM and CI's with PowerShell! <br />
<a href="http://systemcentercentral.com/BlogDetails/tabid/143/IndexID/82404/Default.aspx">http://systemcentercentral.com/BlogDetails/tabid/143/IndexID/82404/Default.aspx</a><br />
<br />
And he has a bigger example with VBScript here where he converted a SCOM VBScript into an DCM script for SCCM for me.<br />
<a href="http://systemcentercentral.com/BlogDetails/tabid/143/IndexID/78614/Default.aspx">http://systemcentercentral.com/BlogDetails/tabid/143/IndexID/78614/Default.aspx</a><br />
<br />
Thanks!]]></description>
			<pubDate>Tue, 09 Aug 2011 22:50:12 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/tabid/60/IndexId/88578/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Anyone have a SIMPLE custom DCM baseline script sample?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/82401/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[Can you post examples in PowerShell?]]></description>
			<pubDate>Thu, 04 Nov 2010 22:06:37 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/82401/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Test File]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/23792/Default.aspx]]></link>
			<description><![CDATA[<p>Test</p>]]></description>
			<pubDate>Tue, 11 Aug 2009 22:41:45 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/23792/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Testing Attachments]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/21656/Default.aspx]]></link>
			<description><![CDATA[<p>Ignore this thread.</p>]]></description>
			<enclosure url="http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/21656/Default.aspx" length="0" type="text/plain"></enclosure>
			<pubDate>Thu, 30 Jul 2009 15:09:11 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/21656/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Testing Attachments]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/IndexId/80151/Default.aspx]]></link>
			<description><![CDATA[<p><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"><span style="font-family: Helvetica,Times; font-size: 16px; line-height: 16px; text-align: center; white-space: nowrap;" class="Apple-style-span">
<div style="margin: 0px; padding: 0px; position: absolute; left: 0px; top: 0px; width: 0px; height: 0px; white-space: nowrap; z-index: 7;" class="layer">
<div style="margin: 0px; padding: 0px; position: relative; white-space: nowrap;" class="inner_layer"> </div>
</div>
</span></span><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 13px;" class="Apple-style-span">Software engineering comprehends several disciplines devoted to prevent and remedy malfunctions and to warrant adequate behaviour. Testing, the subject of this paper, is a widespread validation approach in industry, but it is still largely ad hoc, expensive, and unpredictably effective. Indeed, software testing is a broad term encompassing a variety of activities along the development cycle and beyond, aimed at different goals. Hence, software testing research faces a collection of challenges. A consistent roadmap of the most relevant challenges to be addressed is here proposed. In it, the starting point is constituted by some important past achievements, while the destination consists of four identified goals to which research ultimately tends, but which remain as unreachable as dreams. The routes from the achievements to the dreams are paved by the outstanding research challenges, which are discussed in the paper along with interesting ongoing work.</span></span></p>
<p> </p>
<p><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 13px;" class="Apple-style-span">_______________________________________________</span></span></p>
<p> </p>
<p><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 13px;" class="Apple-style-span">Want to get-on Google's first page and loads of traffic to your website? Hire a SEO specialist from Ocean Groups[url=http://oceangroups.org/] seo specialist [/url]</span></span></p>]]></description>
			<pubDate>Mon, 06 Sep 2010 05:50:40 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/IndexId/80151/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/177/indexId/66236/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[How to Plan a Halloween Golf Tournament<br><br>Step 1 Anyone working the tournament but not playing in it should dress up. Halloween costumes are sometimes not the most comfortable [url=http://www.appservnetwork.com/forum/index.php?topic=4729.0]golfwholesale18 reviews[/url][/b] outfits to play golf in, so refrain from requiring players to dress up while on the course. Make sure all of the paperwork for the tournament, from the sign-up sheet to the rules sheet, includes Halloween theme. Ask the golf course management to get involved by allowing you to decorate the starter's booth with some basic Halloween decorations. When you advertise, [url=http://www.goarticles.com/cgi-bin/showa.cgi?C=2851102]golfwholesale18.com[/url] be sure to include the Halloween theme and to mention that a costume party will follow the tournament. Get local businesses involved by having them donate prizes for the players in exchange for prominent advertising spots at at the after-play party. Step 2 During the actual playing there is very little that can be done for a Halloween theme. ishiner You cannot have people coming out of the woods to startle people, or loud noises being piped in through speakers placed in the woods because [url=http://www.golfsetbase.com/blog/the-compare-between-golfwholesale18-and-golfsetbase/]golfwholesale18[/url] it will result in complaints from the golfers; however, you can decorate the course to some extent by placing small hanging decorations on each flag stick. Plastic spiders, plastic skeletons and other hanging decorations would be appropriate here. Step 3 When playing is over, [url=http://www.goarticles.com/cgi-bin/showa.cgi?C=2851091]www.golfwholesale18.com[/url] you can begin the Halloween-themed party in the clubhouse. Encourage golfers to put on costumes before they enter the clubhouse to claim their prizes. Designate some of the tournament workers as costume judges and set aside three top prizes for the costume contest.<br><br>]]></description>
			<pubDate>Wed, 12 May 2010 03:17:05 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/177/indexId/66236/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/47444/Default.aspx]]></link>
			<description><![CDATA[<p>I have written some code which is not giving me the answer I am looking for and was hoping for one of you to tell me where I'm going wrong. I want to get a dword value but I will be unsure of the name of the key (as this could be random) what I do need to find is that when a 'ValidCommunity' is created that the dward setting is set to 4.</p>
<p>Option Explicit<br />
Const HKEY_LOCAL_MACHINE = &H80000002</p>
<p>Dim strComputer<br />
Dim objRegistry<br />
Dim strKeyPath<br />
Dim strValueName<br />
Dim dwValue</p>
<p>strComputer = "."<br />
'Set objRegistry=GetObject("winmgmts:\\" & _ <br />
   ' strComputer & "\root\default:StdRegProv")<br />
Set objRegistry=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _<br />
    strComputer & "\root\default:StdRegProv")    <br />
 <br />
strKeyPath = "System\CurrentControlSet\Services\SNMP\Parameters\ValidCommunities"<br />
strValueName = "."<br />
dwValue = "reg_dword"</p>
<p>objRegistry.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue<br />
Wscript.Echo "" & dwValue</p>
<p>'Wscript.Echo "This registry key exist with the", strValueName & " = " & dwValue</p>
<p>Thoughts....</p>]]></description>
			<pubDate>Sat, 31 Oct 2009 13:04:21 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/47444/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/60/indexId/47452/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[<p>What would also be worth knowing is how you just did that! As format the code with such grace.</p>]]></description>
			<pubDate>Sat, 31 Oct 2009 16:35:39 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/60/indexId/47452/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: RE: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/47451/Default.aspx]]></link>
			<description><![CDATA[<p> here is a commented and beautified version of the correct script. Basically, it simply checks all SNMP community strings to determine if any communities are NOT READ ONLY.</p>
<p><u>I have also attached a downloadable version to this post.</u> This would be just right for use in a DCM baseline in ConfigMgr 2007. If you  download, rename with a .vbs extension.</p>
<pre class="csharpcode"><span class="rem">'Declare Registry Constants</span>
<span class="kwrd">Const</span> HKEY_CLASSES_ROOT = &H80000000
<span class="kwrd">Const</span> HKEY_CURRENT_USER = &H80000001
<span class="kwrd">Const</span> HKEY_LOCAL_MACHINE = &H80000002
<span class="kwrd">Const</span> HKEY_USERS = &H80000003
<span class="kwrd">Const</span> REG_SZ = 1
<span class="kwrd">Const</span> REG_EXPAND_SZ = 2
<span class="kwrd">Const</span> REG_BINARY = 3
<span class="kwrd">Const</span> REG_DWORD = 4
<span class="kwrd">Const</span> REG_MULTI_SZ = 7


<span class="rem">'Chose computer name, registry tree and key path</span>

strComputer = <span class="str">"."</span> <span class="rem">' Use . for current machine</span>

<span class="rem">'This is the HIVE we're working in</span>
hDefKey = HKEY_LOCAL_MACHINE

<span class="rem">'This is the key we will target. Next, we will enumerates values of this key</span>
strKeyPath = <span class="str">"System\CurrentControlSet\Services\SNMP\Parameters\ValidCommunities"</span>

<span class="rem">' Connect to registry provider on target machine with current user</span>
<span class="kwrd">Set</span> oReg = GetObject(<span class="str">"winmgmts:{impersonationLevel=impersonate}!\\"</span> & strComputer & <span class="str">"\root\default:StdRegProv"</span>)

<span class="rem">'Next, we will loop through the values in this key looking for any CASE where the </span>
<span class="rem">'SNMP community string does not have an access value of 4 (read only)</span>

strSubKeyPath = strKeyPath & <span class="str">"\"</span> & strSubkey
oReg.EnumValues hDefKey, strSubKeyPath, arrValueNames, arrTypes


<span class="kwrd">For</span> i = LBound(arrValueNames) <span class="kwrd">To</span> UBound(arrValueNames)

    strValueName = arrValueNames(i)

<span class="kwrd">Select</span> <span class="kwrd">Case</span> arrTypes(i)

<span class="rem">' Show a REG_SZ value</span>

<span class="kwrd">Case</span> REG_SZ 

    oReg.GetStringValue hDefKey, strSubKeyPath, strValueName, strValue

    wscript.echo <span class="str">" "</span> & strValueName & <span class="str">" (REG_SZ) = "</span> & strValue

<span class="rem">' Show a REG_EXPAND_SZ value</span>


<span class="kwrd">Case</span> REG_EXPAND_SZ

    oReg.GetExpandedStringValue hDefKey, strSubKeyPath, strValueName, strValue

    wscript.echo <span class="str">" "</span> & strValueName & <span class="str">" (REG_EXPAND_SZ) = "</span> & strValue

<span class="rem">' Show a REG_BINARY value</span>

<span class="kwrd">Case</span> REG_BINARY

    oReg.GetBinaryValue hDefKey, strSubKeyPath, strValueName, arrBytes

    strBytes = <span class="str">""</span>

<span class="kwrd">For</span> <span class="kwrd">Each</span> uByte <span class="kwrd">in</span> arrBytes

    strBytes = strBytes & Hex(uByte) & <span class="str">" "</span>

<span class="kwrd">Next</span>

wscript.echo <span class="str">" "</span> & strValueName & <span class="str">" (REG_BINARY) = "</span> & strBytes


<span class="rem">' Show a REG_DWORD value</span>

<span class="kwrd">Case</span> REG_DWORD

    oReg.GetDWORDValue hDefKey, strSubKeyPath, strValueName, uValue

    wscript.echo <span class="str">" "</span> & strValueName & <span class="str">" (REG_DWORD) = "</span> & <span class="kwrd">CStr</span>(uValue)    


<span class="rem">' Show a REG_MULTI_SZ value</span>

<span class="kwrd">Case</span> REG_MULTI_SZ

    oReg.GetMultiStringValue hDefKey, strSubKeyPath, strValueName, arrValues    

    wscript.echo <span class="str">" "</span> & strValueName & <span class="str">" (REG_MULTI_SZ) ="</span>

<span class="kwrd">For</span> <span class="kwrd">Each</span> strValue <span class="kwrd">in</span> arrValues

    wscript.echo <span class="str">" "</span> & strValue 

<span class="kwrd">Next</span>

<span class="kwrd">End</span> <span class="kwrd">Select</span>

<span class="rem">'Display the SNMP community strings </span>
<span class="rem">'If value is not 4(read only) return FALSE and Exit</span>

    <span class="kwrd">If</span> uValue=int(4) <span class="kwrd">Then</span> 
    
        WScript.echo <span class="str">"True"</span> 
    
    <span class="kwrd">Else</span> 
    
        WScript.Echo <span class="str">"False"</span>
        WScript.quit 
    
    <span class="kwrd">End</span> <span class="kwrd">If</span> 



<span class="kwrd">Next</span>
</pre>
<p><style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style></p>]]></description>
			<enclosure url="http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/47451/Default.aspx" length="0" type="text/plain"></enclosure>
			<pubDate>Sat, 31 Oct 2009 16:12:39 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/47451/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/60/indexId/47450/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[This is the correct code.<br><br><br><br>Const HKEY_CLASSES_ROOT = &H80000000<br><br>Const HKEY_CURRENT_USER = &H80000001<br><br>Const HKEY_LOCAL_MACHINE = &H80000002<br><br>Const HKEY_USERS = &H80000003<br><br>Const REG_SZ = 1<br><br>Const REG_EXPAND_SZ = 2<br><br>Const REG_BINARY = 3<br><br>Const REG_DWORD = 4<br><br>Const REG_MULTI_SZ = 7<br><br><br><br><br><br>' Chose computer name, registry tree and key path<br><br><br><br><br><br>strComputer = "." ' Use . for current machine<br><br>hDefKey = HKEY_LOCAL_MACHINE<br><br>strKeyPath = "System\CurrentControlSet\Services\SNMP\Parameters\ValidCommunities"<br><br><br><br>' Connect to registry provider on target machine with current user<br><br><br><br>Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")<br><br><br><br>strSubKeyPath = strKeyPath & "\" & strSubkey<br><br>oReg.EnumValues hDefKey, strSubKeyPath, arrValueNames, arrTypes<br><br><br><br>For i = LBound(arrValueNames) To UBound(arrValueNames)<br><br><br><br>strValueName = arrValueNames(i)<br><br><br><br>Select Case arrTypes(i)<br><br><br><br>' Show a REG_SZ value<br><br><br><br>Case REG_SZ <br><br><br><br>oReg.GetStringValue hDefKey, strSubKeyPath, strValueName, strValue<br><br><br><br>wscript.echo " " & strValueName & " (REG_SZ) = " & strValue<br><br><br><br>' Show a REG_EXPAND_SZ value<br><br><br><br>Case REG_EXPAND_SZ<br><br><br><br>oReg.GetExpandedStringValue hDefKey, strSubKeyPath, strValueName, strValue<br><br><br><br>wscript.echo " " & strValueName & " (REG_EXPAND_SZ) = " & strValue<br><br><br><br><br><br>' Show a REG_BINARY value<br><br><br><br>Case REG_BINARY<br><br><br><br>oReg.GetBinaryValue hDefKey, strSubKeyPath, strValueName, arrBytes<br><br><br><br>strBytes = ""<br><br><br><br>For Each uByte in arrBytes<br><br><br><br>strBytes = strBytes & Hex(uByte) & " "<br><br><br><br>Next<br><br><br><br>wscript.echo " " & strValueName & " (REG_BINARY) = " & strBytes<br><br><br><br><br><br><br><br>' Show a REG_DWORD value<br><br><br><br>'<br><br><br><br>Case REG_DWORD<br><br><br><br>oReg.GetDWORDValue hDefKey, strSubKeyPath, strValueName, uValue<br><br><br><br>	wscript.echo " " & strValueName & " (REG_DWORD) = " & CStr(uValue)	<br><br><br><br><br><br>' Show a REG_MULTI_SZ value<br><br><br><br>'<br><br><br><br>Case REG_MULTI_SZ<br><br><br><br>oReg.GetMultiStringValue hDefKey, strSubKeyPath, strValueName, arrValues	<br><br><br><br>	wscript.echo " " & strValueName & " (REG_MULTI_SZ) ="<br><br><br><br>For Each strValue in arrValues<br><br><br><br>	wscript.echo " " & strValue <br><br><br><br>Next<br><br><br><br>End Select<br><br><br><br>If uValue=int(4) Then <br><br>WScript.echo "True" <br><br>Else <br><br>WScript.Echo "False"<br><br>WScript.quit <br><br>End If <br><br><br><br><br><br>Next]]></description>
			<pubDate>Sat, 31 Oct 2009 15:54:41 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/60/indexId/47450/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/60/indexId/47447/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[HERE is the Key,<br><br><br><br>Windows Registry Editor Version 5.00<br><br><br><br>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ValidCommunities]<br><br>"Public"=dword:00000004]]></description>
			<pubDate>Sat, 31 Oct 2009 14:35:40 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/60/indexId/47447/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/60/indexId/47446/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[Hi Stefan and thanks for your input in the SCC forum; To get a reg key to display is an easy thing to get this one seems not to be the case so I used this code to display ALL inside the SNMP hive, hey guess what is stop before getting to the one I want! <br><br><br><br>' Constants (taken from WinReg.h)<br><br>'<br><br>Const HKEY_CLASSES_ROOT   = &H80000000<br><br>Const HKEY_CURRENT_USER   = &H80000001<br><br>Const HKEY_LOCAL_MACHINE  = &H80000002<br><br>Const HKEY_USERS          = &H80000003<br><br><br><br>Const REG_SZ        = 1<br><br>Const REG_EXPAND_SZ = 2<br><br>Const REG_BINARY    = 3<br><br>Const REG_DWORD     = 4<br><br>Const REG_MULTI_SZ  = 7<br><br><br><br>' Chose computer name, registry tree and key path<br><br>'<br><br>strComputer = "." ' Use . for current machine<br><br>hDefKey = HKEY_LOCAL_MACHINE<br><br>strKeyPath = "System\CurrentControlSet\Services\SNMP"<br><br><br><br>' Connect to registry provider on target machine with current user<br><br>'<br><br>Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")<br><br><br><br>' Enum the subkeys of the key path we've chosen<br><br>'<br><br>oReg.EnumKey hDefKey, strKeyPath, arrSubKeys<br><br><br><br>For Each strSubkey In arrSubKeys<br><br><br><br>  ' Show the subkey<br><br>  '<br><br>  wscript.echo strSubkey<br><br><br><br>  ' Show its value names and types<br><br>  '<br><br>  strSubKeyPath = strKeyPath & "\" & strSubkey<br><br>  oReg.EnumValues hDefKey, strSubKeyPath, arrValueNames, arrTypes<br><br><br><br>  For i = LBound(arrValueNames) To UBound(arrValueNames)<br><br>    strValueName = arrValueNames(i)<br><br>    Select Case arrTypes(i)<br><br><br><br>      ' Show a REG_SZ value<br><br>      '<br><br>      Case REG_SZ          <br><br>        oReg.GetStringValue hDefKey, strSubKeyPath, strValueName, strValue<br><br>        wscript.echo "  " & strValueName & " (REG_SZ) = " & strValue<br><br><br><br>      ' Show a REG_EXPAND_SZ value<br><br>      '<br><br>      Case REG_EXPAND_SZ<br><br>        oReg.GetExpandedStringValue hDefKey, strSubKeyPath, strValueName, strValue<br><br>        wscript.echo "  " & strValueName & " (REG_EXPAND_SZ) = " & strValue<br><br><br><br>      ' Show a REG_BINARY value<br><br>      '          <br><br>      Case REG_BINARY<br><br>        oReg.GetBinaryValue hDefKey, strSubKeyPath, strValueName, arrBytes<br><br>        strBytes = ""<br><br>        For Each uByte in arrBytes<br><br>          strBytes = strBytes & Hex(uByte) & " "<br><br>        Next<br><br>        wscript.echo "  " & strValueName & " (REG_BINARY) = " & strBytes<br><br><br><br>      ' Show a REG_DWORD value<br><br>      '<br><br>      Case REG_DWORD<br><br>        oReg.GetDWORDValue hDefKey, strSubKeyPath, strValueName, uValue<br><br>        wscript.echo "  " & strValueName & " (REG_DWORD) = " & CStr(uValue)				  <br><br><br><br>      ' Show a REG_MULTI_SZ value<br><br>      '<br><br>      Case REG_MULTI_SZ<br><br>        oReg.GetMultiStringValue hDefKey, strSubKeyPath, strValueName, arrValues				  				<br><br>        wscript.echo "  " & strValueName & " (REG_MULTI_SZ) ="<br><br>        For Each strValue in arrValues<br><br>          wscript.echo "    " & strValue <br><br>        Next<br><br><br><br>    End Select<br><br>  Next<br><br><br><br>Next<br><br>]]></description>
			<pubDate>Sat, 31 Oct 2009 14:34:07 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/60/indexId/47446/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Advise please Guys with a query on a dword value]]></title>
			<link><![CDATA[http://systemcentercentral.com/tabid/60/indexId/47445/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[Hi Simon,<br><br><br><br>I think I cannot follow. Can you post a screenshot of this reg key where some communities are shown. Do you then want to iterate through all values and verify that each one has a "4" in it?<br><br><br><br>cheers,<br><br>Stefan]]></description>
			<pubDate>Sat, 31 Oct 2009 14:29:38 GMT</pubDate>
			<guid>http://systemcentercentral.com/tabid/60/indexId/47445/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: RE: Welcome to the Configuration Pack Forum!]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/45135/Default.aspx]]></link>
			<description><![CDATA[<p>Test</p>
<p> </p>
<p>Test2</p>]]></description>
			<pubDate>Fri, 23 Oct 2009 21:12:18 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexId/45135/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Welcome to the Configuration Pack Forum!]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/60/indexId/45132/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[<p>Test</p>
<p> </p>
<p>Test2</p>]]></description>
			<pubDate>Fri, 23 Oct 2009 21:11:59 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/60/indexId/45132/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Is there a publicly available XSD Schema File for Configuration Packs?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/40866/Default.aspx]]></link>
			<description><![CDATA[<p>Working on some configuration packs and it would be great if I had an XSD to load in my XML editor to validate syntax. Does anyone know if and where I would find this file?</p>
<p>Striking out with BING and Google. </p>]]></description>
			<pubDate>Sat, 10 Oct 2009 21:40:15 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/40866/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: RE: Is there a publicly available XSD Schema File for Configuration Packs?]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/40943/Default.aspx]]></link>
			<description><![CDATA[<p><span style="font-size: medium; "> I did more searching, and finally found a copy of the Desired Configuration Management XSD Schema. It's named DCMDigest.xsd and I found a downloadable copy in the following ConfigMgr offering (as it did not appear in the default ConfigMgr install).</span></p>
<p><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; ">
<h1 style="font-size: 1.3em; font-weight: normal; margin-bottom: 5px; ">System Center Configuration Manager Extensions for SCAP</h1>
<p><a href="http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=22e5b9a0-fa7b-4d43-bcea-7084ae6f40f5&displaylang=en#filelist">http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=22e5b9a0-fa7b-4d43-bcea-7084ae6f40f5&displaylang=en#filelist</a></p>
</span></p>]]></description>
			<pubDate>Sun, 11 Oct 2009 18:30:26 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/40943/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: RE: Testing Attachments]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/21659/Default.aspx]]></link>
			<description><![CDATA[<p>ytrewq</p>]]></description>
			<pubDate>Thu, 30 Jul 2009 15:24:24 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/Forums/ForumPost/tabid/177/IndexID/21659/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Re: Testing Attachments]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/60/indexId/21657/tag/Forums+CP_Development/Default.aspx]]></link>
			<description><![CDATA[qwerty]]></description>
			<pubDate>Thu, 30 Jul 2009 15:12:05 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/60/indexId/21657/tag/Forums+CP_Development/Default.aspx</guid>
		</item>
		<item>
			<title><![CDATA[Forums: Welcome to the Configuration Pack Forum!]]></title>
			<link><![CDATA[http://www.systemcentercentral.com/tabid/60/tag/Forums+CP_Development/indexId/12205/Default.aspx]]></link>
			<description><![CDATA[<p>This forum is dedicated to discussion of SCCM configuration packs and configuration pack development.</p>]]></description>
			<pubDate>Sun, 26 Apr 2009 00:21:42 GMT</pubDate>
			<guid>http://www.systemcentercentral.com/tabid/60/tag/Forums+CP_Development/indexId/12205/Default.aspx</guid>
		</item>
	</channel>
</rss>

