<?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>Roberto Alves &#187; Scripts</title>
	<atom:link href="http://www.robertoalves.com/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robertoalves.com</link>
	<description>Scripts and Server Based Computing</description>
	<lastBuildDate>Wed, 11 Mar 2009 17:07:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Easily running commands in all servers/workstations</title>
		<link>http://www.robertoalves.com/2009/easily-running-commands-in-all-serversworkstations/</link>
		<comments>http://www.robertoalves.com/2009/easily-running-commands-in-all-serversworkstations/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 09:54:09 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[wscript.shell]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=201</guid>
		<description><![CDATA[Sometimes we are diving into so many tools, products, technologies, etc that we forgot simple and old tools that can save the day or at least save a good time. I will give as example the Sysinternals psexec, that is very useful to run remote commands.
Let&#8217;s imagine that you need force a policy update in [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2009/easily-running-commands-in-all-serversworkstations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.vbs script to restrict access only from internet to Citrix XenApp or TS servers</title>
		<link>http://www.robertoalves.com/2009/vbs-script-to-restrict-access-only-from-internet-to-citrix-xenapp-or-ts-servers/</link>
		<comments>http://www.robertoalves.com/2009/vbs-script-to-restrict-access-only-from-internet-to-citrix-xenapp-or-ts-servers/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 17:35:51 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Metaframe]]></category>
		<category><![CDATA[Presentation Server]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[terminal services]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[wscript.shell]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=194</guid>
		<description><![CDATA[This vbs script consist into two verifications to restrict access of users from internet in Citrix XenApp (Presentation Server/Metaframe) servers or Terminal Services, to be included in the session initialization. The idea of this script allow access from users from Internet just if they are in a specific Active Directory group.
In the first verification, the [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2009/vbs-script-to-restrict-access-only-from-internet-to-citrix-xenapp-or-ts-servers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>XML-based map network drives for login scripts</title>
		<link>http://www.robertoalves.com/2008/xml-based-map-network-drives-for-login-scripts/</link>
		<comments>http://www.robertoalves.com/2008/xml-based-map-network-drives-for-login-scripts/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 15:21:53 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=180</guid>
		<description><![CDATA[I found at VisualBasicScript.com Forum a very useful script wrote by a user called &#8220;ginolard&#8221;, that can be used at login scripts or if you need, you can use the basic structure of this script into others scripts with different proposes.
Basically, this script read a XML file and execute mapnetwork commands considering the information gathered. [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/xml-based-map-network-drives-for-login-scripts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Publishing IE without toolbars and no kiosk mode</title>
		<link>http://www.robertoalves.com/2008/publishing-ie-without-toolbars-and-no-kiosk-mode/</link>
		<comments>http://www.robertoalves.com/2008/publishing-ie-without-toolbars-and-no-kiosk-mode/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 13:46:15 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=114</guid>
		<description><![CDATA[Some times, you need publish a specific website on your Citrix XenApp farm, but you need avoid to users see toolbars or addressbars, and you don&#8217;t want put Internet Explorer on kiosk mode. Then the alternative solution can be publish a .VBS that opens the Internet Explorer as you wish.
First step: Create a .vbs and [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/publishing-ie-without-toolbars-and-no-kiosk-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.VBS Copying files to many locations</title>
		<link>http://www.robertoalves.com/2008/copying-files-to-many-locations/</link>
		<comments>http://www.robertoalves.com/2008/copying-files-to-many-locations/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 09:48:55 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vbs]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=72</guid>
		<description><![CDATA[This is a very simple script that copies a folder from a specific path to all servers listed on servers.txt file.
There is a file called progress.htm that runs an activeX control that shows a progress bar, that increases when the copy is done on each server.
On Error Resume Next
source_server = &#8220;machine_name&#8221;
source = &#8220;\c$\Install\CPS45HF&#8221;
Dim server()
Set objFSO [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/copying-files-to-many-locations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.VBS to remap network drivers after file server migrations</title>
		<link>http://www.robertoalves.com/2008/vbs-to-remap-network-drivers-after-file-server-migrations/</link>
		<comments>http://www.robertoalves.com/2008/vbs-to-remap-network-drivers-after-file-server-migrations/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 16:09:06 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[wscript.shell]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=64</guid>
		<description><![CDATA[Very useful on File Servers migrations, this script was created and used on login script of 1000+ users after migration from Novell file server to a new Windows file server. The script reduces the calls on service desk after migration, reading what mapped drivers each user has and creating a new mapped driver.
Basically, you need [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-to-remap-network-drivers-after-file-server-migrations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>.VBS to compare applications version on all servers</title>
		<link>http://www.robertoalves.com/2008/vbs-to-compare-applications-version-on-all-servers/</link>
		<comments>http://www.robertoalves.com/2008/vbs-to-compare-applications-version-on-all-servers/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 15:42:12 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[terminal services]]></category>
		<category><![CDATA[vbs]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=60</guid>
		<description><![CDATA[This is a very, very and very simple inventory tool. But can be very useful on sbc environments. This script checks the list of applications on Add/Remove Programs of each server, and writes a result in a table inside a html file.  Then, you can compare if all servers has same software installed or same [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-to-compare-applications-version-on-all-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.VBS to search non-auto created printers on profiles</title>
		<link>http://www.robertoalves.com/2008/vbs-to-search-non-auto-created-printers-on-profiles/</link>
		<comments>http://www.robertoalves.com/2008/vbs-to-search-non-auto-created-printers-on-profiles/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 15:27:01 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[wscript.shell]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=58</guid>
		<description><![CDATA[I made little modifications on this script created by Jakob Heidelberg to search for printers manually created on user profiles. This is very usefull when you wanna ensure that eveybody has only auto created printers, from Citrix or ThinPrint.
This script load ntuser.dat on each profile, check some registry keys, write a log and unload ntuser.dat. [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-to-search-non-auto-created-printers-on-profiles/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>.VBS script to verify what members belongs to local Administrators group</title>
		<link>http://www.robertoalves.com/2008/vbs-script-to-verify-what-members-belongs-to-local-administrators-group/</link>
		<comments>http://www.robertoalves.com/2008/vbs-script-to-verify-what-members-belongs-to-local-administrators-group/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 18:39:02 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vbs]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=38</guid>
		<description><![CDATA[This simple .VBS script can verify in seconds what members belongs to local Administrators group and Power Users groups of all servers.
You only need inform the names of each server in a text file called servers.txt.
On Error Resume Next
Set objFSO = CreateObject(&#8221;Scripting.FileSystemObject&#8221;)

Set servidores = objFSO.OpenTextFile(&#8221;servers.txt&#8221;, 1)
Set eventos = objFSO.OpenTextFile(&#8221;result.htm&#8221;,2)
eventos.WriteLine &#8220;&#60;br&#62;&#8221;
eventos.WriteLine &#8220;&#60;TABLE BORDER=&#8217;2&#8242; BORDERCOLOR=&#8217;#000000&#8242;&#62;&#8221;
Do Until servidores.AtEndOfStream
eventos.WriteLine [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-script-to-verify-what-members-belongs-to-local-administrators-group/feed/</wfw:commentRss>
		<slash:comments>767</slash:comments>
		</item>
		<item>
		<title>.VBS that verify if a user belongs to a group</title>
		<link>http://www.robertoalves.com/2008/vbs-that-verify-if-a-user-belongs-to-a-group/</link>
		<comments>http://www.robertoalves.com/2008/vbs-that-verify-if-a-user-belongs-to-a-group/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 18:19:32 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[wscript.shell]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=27</guid>
		<description><![CDATA[This script can be included in others scripts to verify if a user belongs to a specific group.
Set oShell = CreateObject(&#8221;Wscript.Shell&#8221;)
Set oNet = CreateObject(&#8221;Wscript.Network&#8221;)
set oFSO = CreateObject(&#8221;Scripting.FileSystemObject&#8221;)

domain = &#8220;dominio&#8221;
teste=ismember(&#8221;Domain UsErs&#8221;)
msgbox teste
Function IsMember(sGroup)
Dim sAdsPath, oUser, oGroup
If IsEmpty(oGroupDict) Then
Set oGroupDict         = CreateObject(&#8221;Scripting.Dictionary&#8221;)
oGroupDict.CompareMode = vbTextCompare
sAdsPath  = oNet.UserDomain &#38; &#8220;/&#8221; [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-that-verify-if-a-user-belongs-to-a-group/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
