<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ITNotes.Net</title>
	<atom:link href="http://itnotes.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://itnotes.net</link>
	<description>Various IT related notes and some blurts by Dan Jakubczak A+, MCDST, MCTS, MCSA, MCSE NT4/2000/2003</description>
	<lastBuildDate>Wed, 10 Mar 2010 16:47:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TEC 2010 &#8211; Advanced Training on Microsoft Active Directory and FIM</title>
		<link>http://itnotes.net/2010/03/10/tec-2010-advanced-training-on-microsoft-active-directory-and-fim/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tec-2010-advanced-training-on-microsoft-active-directory-and-fim</link>
		<comments>http://itnotes.net/2010/03/10/tec-2010-advanced-training-on-microsoft-active-directory-and-fim/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:29:29 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Identity Management]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[TEC 2010]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=210</guid>
		<description><![CDATA[Today I registered for TEC 2010 which will be in Los Angeles this year. I have never attended TEC before but last year I was right down the road at TechED. I am still waiting to hear if I will be attending TechEd 2010 as well. 
I am excited to see some focus around Active [...]]]></description>
			<content:encoded><![CDATA[<p>Today I registered for TEC 2010 which will be in Los Angeles this year. I have never attended TEC before but last year I was right down the road at TechED. I am still waiting to hear if I will be attending TechEd 2010 as well. </p>
<p>I am excited to see some focus around Active Directory and Forefront Identity Manager at a conference especially since Forefront Identity Manager was just released to manufacturing. One of my fears in attending this conference this year was that FIM would be released after TEC 2010 and covered in greater detail at TechED 2010, now with the release of FIM I hope that is not the case. I have already seen some vendors providing extensions to FIM so this may be the best year to go to TEC so far.</p>
<p>I definitely will be posting some more information and pictures during the event. Feel free to email me with any suggestions around the conference or questions you would like to be asked. ITNotes@gmail.com</p>
<p>~ITNotes</p>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2010/03/10/tec-2010-advanced-training-on-microsoft-active-directory-and-fim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell &#8211; ProperCase Function</title>
		<link>http://itnotes.net/2010/03/01/powershell-propercase-function/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=powershell-propercase-function</link>
		<comments>http://itnotes.net/2010/03/01/powershell-propercase-function/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 19:34:32 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Identity Management]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Functions and Subs]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=197</guid>
		<description><![CDATA[Change any case to Proper Case (&#8216;ITNOTES DoT net&#8217; to &#8216;Itnotes Dot Net&#8217;):
This is very useful for us during scripted user creations when the usernames and such from the source were in random cases. This script could also be useful with auto user provisioning with ILM from another datasource, we currently us a VBScript that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Change any case to Proper Case (&#8216;ITNOTES DoT net&#8217; to &#8216;Itnotes Dot Net&#8217;):</strong><br />
This is very useful for us during scripted user creations when the usernames and such from the source were in random cases. This script could also be useful with auto user provisioning with ILM from another datasource, we currently us a VBScript that is much longer.</p>
<p>This script basically converts everything to lowercase the capitalizes the first letter of each word.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p197code4'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1974"><td class="code" id="p197code4"><pre class="powershell" style="font-family:monospace;"><span style="color: #0000FF;">function</span> ToProperCase <span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #008080;">String</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$in</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
 <span style="color: #800080;">$in</span> <span style="color: pink;">=</span> <span style="color: #800080;">$in</span>.Tolower<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
 <span style="color: #800080;">$textInfo</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span>System.Threading.Thread<span style="color: #000000;">&#93;</span>::CurrentThread.CurrentCulture.TextInfo  
 <span style="color: #0000FF;">return</span> <span style="color: #800080;">$textInfo</span>.ToTitleCase<span style="color: #000000;">&#40;</span><span style="color: #800080;">$in</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p><em><strong>Example of use</strong></em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p197code5'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1975"><td class="code" id="p197code5"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$Title</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;ITNOTE DOT NET&quot;</span>
<span style="color: #800080;">$Title</span> <span style="color: pink;">=</span> ToProperCase<span style="color: #000000;">&#40;</span><span style="color: #800080;">$Title</span><span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

<p><em>Returns:</em></p>
<p>Itnotes Dot Net</p>
<p><em><strong>Complete Script</strong></em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p197code6'); return false;">View Code</a> POWERSHELL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1976"><td class="code" id="p197code6"><pre class="powershell" style="font-family:monospace;"><span style="color: #0000FF;">function</span> ToProperCase <span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #008080;">String</span><span style="color: #000000;">&#93;</span><span style="color: #800080;">$in</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
 <span style="color: #800080;">$in</span> <span style="color: pink;">=</span> <span style="color: #800080;">$in</span>.Tolower<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
 <span style="color: #800080;">$textInfo</span> <span style="color: pink;">=</span> <span style="color: #000000;">&#91;</span>System.Threading.Thread<span style="color: #000000;">&#93;</span>::CurrentThread.CurrentCulture.TextInfo  
 <span style="color: #0000FF;">return</span> <span style="color: #800080;">$textInfo</span>.ToTitleCase<span style="color: #000000;">&#40;</span><span style="color: #800080;">$in</span><span style="color: #000000;">&#41;</span>
<span style="color: #800080;">$Title</span> <span style="color: pink;">=</span> <span style="color: #800000;">&quot;ITNOTE DOT NET&quot;</span>
<span style="color: #800080;">$Title</span> <span style="color: pink;">=</span> ToProperCase<span style="color: #000000;">&#40;</span><span style="color: #800080;">$Title</span><span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2010/03/01/powershell-propercase-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Role &#8211; Active Directory / Identity Management Engineer</title>
		<link>http://itnotes.net/2010/01/20/new-role-active-directory-identity-management-engineer/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=new-role-active-directory-identity-management-engineer</link>
		<comments>http://itnotes.net/2010/01/20/new-role-active-directory-identity-management-engineer/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 21:28:15 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Identity Management]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=183</guid>
		<description><![CDATA[I was recently promoted to our company&#8217;s Security Team as an Active Directory / Identity Management Engineer. So most of my future posts will be aimed towards those technologies and Group Policy. I will also continue to post some hopefully helpful VBScripts and PowerShell Scripts. I still have a few draft posts that I plan to [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently promoted to our company&#8217;s Security Team as an Active Directory / Identity Management Engineer. So most of my future posts will be aimed towards those technologies and Group Policy. I will also continue to post some hopefully helpful VBScripts and PowerShell Scripts. I still have a few draft posts that I plan to publish eventually that maybe helpful in the Windows Installer and Packaging Space however no new findings will be posted in this expertise.</p>
<p>Thanks for reading!</p>
<p>~ITNotes</p>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2010/01/20/new-role-active-directory-identity-management-engineer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP Favorites Folder Redirection via GPOs</title>
		<link>http://itnotes.net/2010/01/20/windows-xp-favorites-folder-redirection-via-gpos/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=windows-xp-favorites-folder-redirection-via-gpos</link>
		<comments>http://itnotes.net/2010/01/20/windows-xp-favorites-folder-redirection-via-gpos/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 19:06:38 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Favorites]]></category>
		<category><![CDATA[Folder Redirection]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Special Folders]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=171</guid>
		<description><![CDATA[Per [MS-GPFR] - In Windows 2000 Server, Windows XP, and Windows Server 2003, a constant list of exactly five user profile folders can be redirected, including My Documents, My Pictures, Desktop, Start Menu, and Application Data.
[MS-GPFR]: Group Policy: Folder Redirection Protocol Extension documentation can be downloaded here.
So in other words folder redirection for Favorites and others file [...]]]></description>
			<content:encoded><![CDATA[<p>Per [MS-GPFR] - In Windows 2000 Server, Windows XP, and Windows Server 2003, a constant list of exactly five user profile folders can be redirected, including My Documents, My Pictures, Desktop, Start Menu, and Application Data.</p>
<p>[MS-GPFR]: Group Policy: Folder Redirection Protocol Extension documentation can be downloaded <a title="here" href="http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-GPFR%5D.pdf" target="_blank">here</a>.</p>
<p>So in other words folder redirection for Favorites and others file folders in not supported until Vista or later.</p>
<p>So using Folder Redirection for My Documents only I created two Group Policy objects. One GPO being the standard Folder Redirection Policy pointing serveral groups to various MyDocuments stores. With a second Group Policy object I added the following script to the logon process. The script sleeps for 30 seconds allowing time for other group policy objects to complete processing and then using special folders the script gets the MyDocuments location and appends \Favorites to the end and then populates the appropriate registry value to redirect Favorites. I additionally added a three minute timeout to the script incase the scripts hangs, not that it would, but you wouldn&#8217;t want it to hang indefinitely.</p>
<p><strong>Simple Favorites Folder Redirection using Special Folders for MyDocuments</strong></p>
<pre lang="VBScript" colla=”+”>On Error Resume Next
Const HKEY_CURRENT_USER = &amp;H80000001
strComputer = "."

WScript.Timeout 180
WScript.Sleep 30000
Set WshShell = WScript.CreateObject("WScript.Shell")
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &amp; strComputer &amp; "\root\default:StdRegProv")

strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
strValueName = "Favorites"
strValue = WshShell.SpecialFolders("MyDocuments") &amp; "\Favorites"
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue</pre>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2010/01/20/windows-xp-favorites-folder-redirection-via-gpos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes in Wise Package Studio 8 &#8211; From Release Notes</title>
		<link>http://itnotes.net/2009/11/02/changes-in-wise-package-studio-8-from-release-notes/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=changes-in-wise-package-studio-8-from-release-notes</link>
		<comments>http://itnotes.net/2009/11/02/changes-in-wise-package-studio-8-from-release-notes/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 20:04:49 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[MSI Packaging]]></category>
		<category><![CDATA[Windows Installer]]></category>
		<category><![CDATA[Wise Package Studio 8]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=153</guid>
		<description><![CDATA[Not much on improvements here, seems more like a service pack. The last service pack for WPS7.0 was released in April 2008 and there was a blurb about SP4 which was never released to the public. I know many of you were hoping for a big release here but this seems to be just some [...]]]></description>
			<content:encoded><![CDATA[<p>Not much on improvements here, seems more like a service pack. The last service pack for WPS7.0 was released in April 2008 and there was a blurb about SP4 which was never released to the public. I know many of you were hoping for a big release here but this seems to be just some long overdue cleanup by Symantec and a last minute ploy to support Windows 7.</p>
<p>After loading the Eval copy of Wise Package Studio, everything basically looks the same as far as the GUI goes.</p>
<p>I guess I was hoping for more &#8230; more features, more automation, more virtualization support. If WPS8.0 throws out supporting third party deployment tie-ins, why would they support third party virtualization packages. AdminStudio supports Thinapps and others! I expected more but at least Wise Package Studio is still in the game.</p>
<p>Screenshot of the version I installed:<br />

<a href='http://itnotes.net/2009/11/02/changes-in-wise-package-studio-8-from-release-notes/wps8_0_about/' title='WPS8_0_About'><img width="150" height="150" src="http://itnotes.net/wp-content/uploads/2009/11/WPS8_0_About-150x150.jpg" class="attachment-thumbnail" alt="" title="WPS8_0_About" /></a>
</p>
<p>From the offical release notes:</p>
<p>Operating system support. We have added support for the creation of packages and scripts with the Wise Package Studio tools that run on the following operating systems:</p>
<p>Windows Server 2008<br />
Windows Server 2008 SP2<br />
Windows Server 2008 R2<br />
Windows XP SP3<br />
Windows Vista SP1<br />
Windows Vista SP2<br />
Windows 7<br />
Start menu shortcuts. The Start menu shortcuts for Wise Package Studio are in a Symantec folder instead of an Altiris folder.</p>
<p>Package Validation tool. When you run Package Validation from the tools menu, you can specify a single installation package file or a folder that contains multiple .MSI or .MS files. If you specify a folder, Package Validation checks all the .MSI or .MSM files in the folder. It can also check the .MSI or .MSM files in the folder&#8217;s subdirectories. When Package Validation checks multiple files, the pathname of each file appears in the list on the View dialog box and the pathname is followed by any validation issues detected for that file. When you validate multiple .MSI or .MSM files, the Correct button does not appear in the View dialog box. You can only correct issues from within Package Validation when you validate a single file. Package Validation has also been updated to use the most current version of the Internal Consistency Evaluator rules.</p>
<p>Wise Web Capture. Version 2.0 of the .NET Framework must be installed on the server.</p>
<p>Wise Connector. Wise Connector lets you import software packages and their associated metadata from a Wise Software Repository into Software Management Framework. It imports software packages from a Wise Package Studio share point directory into the Software Library. It imports the metadata that is associated with a software package from the Software Manager database into the Software Catalog. You can import software packages with their metadata on a schedule or manually. After you import software packages with their metadata into Software Management Framework, those responsible for distributing software can easily deliver and manage them. Wise Connector is a Symantec Management Platform plug-in that you install with Symantec Installation Manager. You must have Symantec Management Platform 7.0 SP3 or later to use Wise Connector. The Wise Connector plug-in for the Symantec Management Platform replaces the Wise Integration Component that had similar functionality for Notification Server 6.x.</p>
<p>Software Virtualization Solution. The integration of Wise Package Studio with Software Virtualization Solution has not changed with this release. Wise Package Studio supports Software Virtualization Solution 2.1, but does not support later releases of this product. Although Altiris Software Virtualization Solution has been renamed Symantec Workspace Virtualization, the Wise Package Studio documentation continues to refer to it as Software Virtualization Solution. The documentation also refers to the Altiris Software Virtualization Agent as the Software Virtualization Agent, although the agent is now referred to as the Symantec Workspace Virtualization Agent. For more information about Software Virtualization Solution (SVS), search for Workspace Virtualization on the symantec.com Web site.</p>
<p>Package Distribution. Package Distribution no longer supports the delivery of a package to the following distribution systems: Altiris Software Delivery Solution, IBM Tivoli, LANDesk Management Suite, Microsoft SMS, Novadigm Radia, NetInstall, Novell ZENWorks, and ON Command MSI Package Wizard.</p>
<p>Wise Web Capture. The following message appeared when you launched Wise Web Capture: &#8220;Windows has blocked this software &#8230; cannot verify the publisher.&#8221; This issue has been resolved.</p>
<p>Hotfix patch: In Software Manager, if you imported a hotfix patch, you received an error message when you tried to change its status to Available. You can now assign a hotfix patch a status of Available and the package is then copied to the Available Packages folder.</p>
<p>SetupCapture. SetupCapture now captures assembly information.</p>
<p>Check for Updates. The Check for Updates option has been removed from the Help menu and from the General tab in the Workbench Preferences dialog box.</p>
<p>If you used SetupCapture to capture an application that contains a service, the service was not stopped and deleted when the application was uninstalled. This issue has been resolved.</p>
<p>If a package was imported into Software Manager using Universal Import, the package was not moved to the Available Packages directory when the status of the package was changed to Available. This issue has been resolved.</p>
<p>After capturing some applications (for example Adobe Acrobat 8.12) with Virtual Package Editor, you would receive an invalid source path error when you compiled the .WVP file. This issue has been resolved.</p>
<p>In a locked down environment, a network client installation is now able to install the WiseDotNetStub, Signtool.exe, and Language.ini files that it could not install with 7.0 SP3.</p>
<p>If you captured a legacy EXE that contained a REG_MULTI_SZ key, the entire key was added to the installation instead of just the values that changed. When the installation was uninstalled, the entire key was removed, instead of just the values that were added. This issue has been resolved.</p>
<p>The ability to create an SOE snapshot now works on a Windows Vista SP1 computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2009/11/02/changes-in-wise-package-studio-8-from-release-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re-Usable VBScript Functions &#8211; Part I</title>
		<link>http://itnotes.net/2009/10/15/re-usable-vbscript-functions-part-i/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=re-usable-vbscript-functions-part-i</link>
		<comments>http://itnotes.net/2009/10/15/re-usable-vbscript-functions-part-i/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 15:14:06 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[VBScript]]></category>
		<category><![CDATA[Functions and Subs]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=136</guid>
		<description><![CDATA[In this Multi-Part Series I will post lists on VBScript Functions and Subs that I have either found or written. I am a big fan of turning any useful code into a functions and adding it to my default VBScript Template, it saves a ton of time on the next scripting task. By no means am I [...]]]></description>
			<content:encoded><![CDATA[<p>In this Multi-Part Series I will post lists on VBScript Functions and Subs that I have either found or written. I am a big fan of turning any useful code into a functions and adding it to my default VBScript Template, it saves a ton of time on the next scripting task. By no means am I claiming I wrote all of  these, most were just re-purposed into reusable functions. I hope you find these useful. In the later part of the series I will include my template I use to begin all my scripts.</p>
<p><strong>Determine if the computer is a laptop:</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p136code13'); return false;">View Code</a> VBSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13613"><td class="code" id="p136code13"><pre class="vbscript" style="font-family:monospace;">Function IsLaptop(strComputer)
    On Error Resume Next
    Set objWMIService = GetObject( &quot;winmgmts://&quot; &amp;amp; strComputer &amp;amp; &quot;/root/cimv2&quot; )
    Set colItems = objWMIService.ExecQuery( &quot;Select * from Win32_Battery&quot;, , 48 )
    IsLaptop = False
    For Each objItem in colItems
        IsLaptop = True
    Next
    If Err Then Err.Clear
    On Error GoTo 0
End Function</pre></td></tr></table></div>

<p><em>Example of use</em></p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p136code14'); return false;">View Code</a> VBSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13614"><td class="code" id="p136code14"><pre class="vbscript" style="font-family:monospace;">If IsLaptop( &quot;.&quot; ) Then
    WScript.Echo &quot;Laptop
Else
    WScript.Echo &quot;Desktop or server
End If</pre></td></tr></table></div>

<p><strong><br />
Shell out a command line with switches:</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p136code15'); return false;">View Code</a> VBSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13615"><td class="code" id="p136code15"><pre class="vbscript" style="font-family:monospace;">Sub RunSwch(ByVal strRunCmd, strRunSwitch)
Dim objWshShell
    Set objWshShell = CreateObject(&quot;WScript.Shell&quot;)
    objWshShell.Run Chr(34) &amp;amp; strRunCmd &amp;amp; Chr(34)&amp;amp; &quot; &quot; &amp;amp; strRunSwitch, 1, True
    Set objWshShell = Nothing
End Sub</pre></td></tr></table></div>

<p><em>Example of use</em></p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p136code16'); return false;">View Code</a> VBSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13616"><td class="code" id="p136code16"><pre class="vbscript" style="font-family:monospace;">RunSwch &quot;C:\Program Files\ApplicationX\Start.exe&quot;,&quot;/S /X /Log C:\log.log&quot;</pre></td></tr></table></div>

<p><strong><br />
Shell out a command line without switches:</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p136code17'); return false;">View Code</a> VBSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13617"><td class="code" id="p136code17"><pre class="vbscript" style="font-family:monospace;">Sub Run(ByVal strRunCmd)
Dim objWshShell
    Set objWshShell = CreateObject(&quot;WScript.Shell&quot;)
    objWshShell.Run Chr(34) &amp;amp; strRunCmd &amp;amp; Chr(34), 1, True
    Set objWshShell = Nothing
End Sub</pre></td></tr></table></div>

<p><em>Example of use</em></p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p136code18'); return false;">View Code</a> VBSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p13618"><td class="code" id="p136code18"><pre class="vbscript" style="font-family:monospace;">Run &quot;C:\Program Files\ApplicationX\Start.exe&quot;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2009/10/15/re-usable-vbscript-functions-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Ultimate Signature Edition</title>
		<link>http://itnotes.net/2009/10/09/windows-7-ultimate-signature-edition/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=windows-7-ultimate-signature-edition</link>
		<comments>http://itnotes.net/2009/10/09/windows-7-ultimate-signature-edition/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 01:46:05 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Signature Edition]]></category>
		<category><![CDATA[Signature Edition of Windows 7 Ultimate]]></category>
		<category><![CDATA[Windows 7 Launch Party]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=127</guid>
		<description><![CDATA[I received my copy of Windows 7 Ultimate Signature Edition today in the mail. I thouhgt I would share an image of it. The DVD itself is just a promotional disc with the Product Key inside the case. The only thing special is the outside of the case itself. Well here it is  (It was [...]]]></description>
			<content:encoded><![CDATA[<p>I received my copy of Windows 7 Ultimate Signature Edition today in the mail. I thouhgt I would share an image of it. The DVD itself is just a promotional disc with the Product Key inside the case. The only thing special is the outside of the case itself. Well here it is  (It was impossible with my photography skills to get rid of the glare)</p>
<div id="attachment_129" class="wp-caption aligncenter" style="width: 433px"><img class="size-large wp-image-129 " title="PICT0008" src="http://itnotes.net/wp-content/uploads/2009/10/PICT0008-864x1024.jpg" alt="Windows 7 Ultimate Signature Edition" width="423" height="460" /><p class="wp-caption-text">Windows 7 Ultimate Signature Edition</p></div>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2009/10/09/windows-7-ultimate-signature-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s New in Server 2008 R2 Print Services</title>
		<link>http://itnotes.net/2009/10/06/whats-new-in-server-2008-r2-print-services/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=whats-new-in-server-2008-r2-print-services</link>
		<comments>http://itnotes.net/2009/10/06/whats-new-in-server-2008-r2-print-services/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:20:52 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Print and Print Server]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=85</guid>
		<description><![CDATA[The following changes are available in Windows Server 2008 R2:
Print migration enhancements
Printer driver isolation
Print administrator delegation
Print Management snap-in improvements
Client-Side Rendering (CSR) performance improvements
XML Paper Specification (XPS) print path improvements
Location-aware printing
Distributed Scan Server role service
In addition, there are improvements to the Add Printer Wizard.
What does Print and Document Services do?
In Windows Server 2008 R2, Print and [...]]]></description>
			<content:encoded><![CDATA[<p>The following changes are available in Windows Server 2008 R2:</p>
<p>Print migration enhancements</p>
<p>Printer driver isolation</p>
<p>Print administrator delegation</p>
<p>Print Management snap-in improvements</p>
<p>Client-Side Rendering (CSR) performance improvements</p>
<p>XML Paper Specification (XPS) print path improvements</p>
<p>Location-aware printing</p>
<p>Distributed Scan Server role service</p>
<p>In addition, there are improvements to the Add Printer Wizard.</p>
<p>What does Print and Document Services do?<br />
In Windows Server 2008 R2, Print and Document Services is a role in Server Manager that enables you to share printers and scanners on a network, set up print servers and scan servers, and centralize network printer and scanner management tasks by using the Print Management and Scan Management Microsoft Management Console (MMC) snap-ins. Print and Document Services replaces and extends the Print Services role in Windows Server® 2008. (The Print Management and Scan Management snap-ins are also available in versions of Windows® 7.)</p>
<p>Who will be interested in this role?<br />
IT professionals who manage print and scan resources in a domain environment will be interested in using this role.</p>
<p>What new functionality does this role provide?<br />
The following enhancements were made to this role in Windows Server 2008 R2.</p>
<p>Print migration enhancements<br />
The Printer Migration Wizard (available through the Print Management snap-in) and the Printbrm.exe command-line tool were introduced in Windows Server 2008 and Windows Vista® to replace the Print Migrator (Printmig) utility. These enable an administrator to easily back up, restore, and migrate print queues, printer settings, printer ports, and language monitors.</p>
<p>Enhancements to the Printer Migration Wizard and Printbrm.exe in Windows Server 2008 R2 provide greater flexibility and better error handling and reporting—for example, you can now restore configuration information for print servers and print queues in a backup. You can also selectively back up specific print processors and print language monitors.</p>
<p>There is also support for print driver isolation setting migration and an option to not restore security settings for print queues during a restore operation.</p>
<p>Printer driver isolation<br />
Prior to Windows Server 2008 R2, the failure of printer driver components has been a main print server support issue—the failure of a printer driver loaded onto the print spooler process would cause the process to fail, which would lead to an outage of the entire printing system. The impact of a spooler failure on a print server is particularly significant because of the number of users and printers that are typically affected.</p>
<p>In Windows Server 2008 R2, you can now configure printer driver components to run in an isolated process separate from the printer spooler process. By isolating the printer driver, you can prevent a faulty printer driver from stopping all print operations on a print server, which results in a significant increase in server reliability.</p>
<p>In addition to the benefit of improving overall printing system stability, this new feature provides a means to isolate new drivers for testing and debugging, and to identify which printer drivers have been causing spooler failures.</p>
<p>Print administrator delegation<br />
On computers running Windows Server 2008 R2, the default permissions do not allow non-administrative users to perform any administrative print operations.</p>
<p>However, an administrator can delegate specific administrative printer tasks to non-administrative users, which reduces costs. Security risks are not introduced because non-administrative personnel are not granted system administrative rights.</p>
<p>Print Management snap-in improvements<br />
Improvements to the Print Management snap-in enable you to better manage print servers, print queues, and print drivers. In Windows Server 2008 R2, the Print Management snap-in includes better support for driver management and the ability to view all print drivers installed on the network. You can now examine driver versions, driver package information, and manage driver isolation.</p>
<p>CSR performance improvements<br />
In Windows Server 2008 R2, the frequency of CSR caching has been increased. Subsequently, the number of printer spooler requests that are made by applications has been reduced, which improves overall printing system performance and reduces network load.</p>
<p>XPS print path improvements<br />
XPS enables Windows applications to produce rich content that can be preserved through the entire print system without costly conversions or data loss. XPS can replace a document presentation language (such as Rich Text Format (RTF)), a print spooler format (such as Windows Metafile Format (WMF)), and a page description language (such as PostScript).</p>
<p>In Windows Server 2008, an XPS-based print path was introduced to enhance the fidelity and performance of Windows printing. In Windows Server 2008 R2, the use of XPS in the printing system is extended and improved upon in several areas: &#8220;what you see is what you get&#8221; (WYSIWYG) printing, improved print fidelity and color support, XPS Viewer enhancements, new rendering and rasterizing services for printer drivers, and significantly improved print performance. In addition, this functionality is now available in an unmanaged application programming interface (API) layer for application developers.</p>
<p>Location-aware printing<br />
In Windows Server 2008 R2, the Default Printer setting is now location aware. A mobile or laptop user can set a different default printer for each network that they connect to. They may have a default printer set for home, and a different default printer set for office use. Their laptop can now automatically select the correct default printer, depending on where the user is currently located.</p>
<p>Distributed Scan Server role service<br />
As more scanners become network enabled, administrators need a way to manage these devices on their network without having to use the applications from different hardware vendors. Additionally, scanners need to be part of an organization&#8217;s document workflow process.</p>
<p>In Windows Server 2008 R2, Distributed Scan Server is a new role service in the Print and Document Services role. You can use Distributed Scan Server to monitor Web Services on Devices (WSD)–enabled network scanners and create and manage scan processes. Distributed Scan Server makes it possible to easily use scanners to integrate paper-based information into corporate computer-based networks more effectively.</p>
<p>A scan process is a rule or set of instructions that defines how a document is scanned, where or who it is delivered to, and what users and groups are allowed to apply the rule to their scanned documents. A user selects a scan process at the front panel of a scanner that supports WSD at the time the document is scanned.</p>
<p>Scan settings include image resolution settings, color format settings, and file types. These settings are defined as part of the scan process rules. These settings can also be validated to make sure the settings are compatible with the scanner associated with the particular scan process. You can configure the scan process so that a user can override the scan settings at the scanner. Scanned document images can be sent to a network shared folder, a Windows SharePoint Web site, e-mail recipients, or any combination of these.</p>
<p>Which editions include this role?<br />
The Print and Document Services role is available in all editions of Windows Server 2008 R2, except for Windows Web Server 2008 R2 and Windows Server 2008 R2 for Itanium-Based Systems. Although the Print and Document Services role is available for the Server Core installation option of Windows Server 2008 R2, the associated snap-ins are not available for Server Core installations.</p>
<p>Additional Detail around Print as well as Scanning can be found here:<br />
<a href="http://technet.microsoft.com/en-us/library/dd878502(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd878502(WS.10).aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2009/10/06/whats-new-in-server-2008-r2-print-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wise Package Studio 8</title>
		<link>http://itnotes.net/2009/09/23/wise-package-studio-8/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=wise-package-studio-8</link>
		<comments>http://itnotes.net/2009/09/23/wise-package-studio-8/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 16:10:22 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Packaging]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Installer 4.5]]></category>
		<category><![CDATA[Wise Package Studio]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=116</guid>
		<description><![CDATA[Wise Package Studio 8 will be launched at Packaging Event 2009
Source: Packaging Event 2009
Event Date is October 8th, 2009
Official Release Date for WPS 8 is October 29th, 2009
Symantec will present the Wise package Studio 8 edition during the Keynote session.
 What&#8217;s new in Wise Package Studio 8: 
• Support for Windows 7, including Windows 7 Migration [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Wise Package Studio 8 will be launched at Packaging Event 2009</strong></p>
<p>Source: <a title="Packaging Event 2009" href="http://www.packagingevent.com/index.php?option=com_content&amp;view=article&amp;id=82:wise-package-studio-8-launch&amp;catid=19:sponsor-news" target="_blank">Packaging Event 2009</a></p>
<p>Event Date is October 8th, 2009</p>
<p><em>Official Release Date for WPS 8 is October 29th, 2009</em></p>
<p><strong>Symantec will present the Wise package Studio 8 edition during the Keynote session.</strong></p>
<p> <span style="text-decoration: underline;"><strong>What&#8217;s new in Wise Package Studio 8: </strong></span></p>
<p>• Support for Windows 7, including Windows 7 Migration Toolkit</p>
<p>• Support for Windows XP SP3</p>
<p>• Support for Windows Vista SP1</p>
<p>• Support for Windows Server 2008 R2</p>
<p>• Support for Windows Server 2008 SP2</p>
<p>• Support for SQL Server 2008</p>
<p>• Support for versions 3.0 and 3.5 of .NET framework</p>
<p>• Redistributable support for Windows Installer 4.5</p>
<p>• Support for new Internal Consistency Evaluation (package validation) rules from Microsoft</p>
<p>• Updates to Virtual Package Editor</p>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2009/09/23/wise-package-studio-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerShell 2.0 Release Candidate for Windows XP SP3 and Server 2003 SP2</title>
		<link>http://itnotes.net/2009/09/14/powershell-2-0-release-candidate-for-windows-xp-sp3-and-server-2003-sp2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=powershell-2-0-release-candidate-for-windows-xp-sp3-and-server-2003-sp2</link>
		<comments>http://itnotes.net/2009/09/14/powershell-2-0-release-candidate-for-windows-xp-sp3-and-server-2003-sp2/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 14:02:26 +0000</pubDate>
		<dc:creator>ITNotes</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://itnotes.net/?p=112</guid>
		<description><![CDATA[Finally we see a release candidate for Windows XP, but you must have SP3 installed. 
Download here: https://connect.microsoft.com/windowsmanagement/Downloads
]]></description>
			<content:encoded><![CDATA[<p><span style="FONT-SIZE: small"><span style="FONT-SIZE: xx-small"><span style="FONT-SIZE: small"><span style="FONT-SIZE: x-small"><strong>Finally we see a release candidate for Windows XP, but you must have SP3 installed. </strong></span></span></span></span></p>
<p><span style="FONT-SIZE: small"><span style="FONT-SIZE: xx-small"><span style="FONT-SIZE: small"><span style="FONT-SIZE: x-small"><strong>Download here: <a href="https://connect.microsoft.com/windowsmanagement/Downloads">https://connect.microsoft.com/windowsmanagement/Downloads</a></strong></span></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://itnotes.net/2009/09/14/powershell-2-0-release-candidate-for-windows-xp-sp3-and-server-2003-sp2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
