<?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; wscript.shell</title>
	<atom:link href="http://www.robertoalves.com/tag/wscriptshell/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>.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 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 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>
		<item>
		<title>.VBS for change mapped drivers</title>
		<link>http://www.robertoalves.com/2008/vbs-for-change-mapped-drivers/</link>
		<comments>http://www.robertoalves.com/2008/vbs-for-change-mapped-drivers/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 18:16:21 +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=24</guid>
		<description><![CDATA[This script is very useful with File Servers migration, when can be used at logon script identifying the mapped drivers of each workstation and changing theirs for new drivers.
You can just change variables Path_antigo by name of the old File Server and Path_novo by name of new file server.
On Error Resume Next
 iDebug=1

Path_antigo=&#8221;NWFSrc15Vol1&#8220;
Path_novo=&#8221;192.168.0.54vol1&#8220;
Path_name = &#8220;DiretÃ³rio [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-for-change-mapped-drivers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.VBS to automatic configuration of proxy servers at Internet Explorer</title>
		<link>http://www.robertoalves.com/2008/vbs-to-automatic-configuration-of-proxy-servers-at-internet-explorer/</link>
		<comments>http://www.robertoalves.com/2008/vbs-to-automatic-configuration-of-proxy-servers-at-internet-explorer/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 18:12:13 +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=22</guid>
		<description><![CDATA[Script to be used on notebooks, when a user uses a notebook inside of your company with a proxy server and at another networks without proxy servers, like home. The script execute a ping to a server (that can be the proxy server), if the ping command is successfully then Internet Explorer will be open [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-to-automatic-configuration-of-proxy-servers-at-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBS to map network drivers and run an application</title>
		<link>http://www.robertoalves.com/2008/vbs-to-map-network-drivers-and-run-an-application/</link>
		<comments>http://www.robertoalves.com/2008/vbs-to-map-network-drivers-and-run-an-application/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 18:06:12 +0000</pubDate>
		<dc:creator>Roberto</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Presentation Server]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[wscript.shell]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.robertoalves.com/?p=18</guid>
		<description><![CDATA[Here we have a simple VBS that can be used at published aplicattions on Citrix XenApp (Presentation Server), or running local applications with their necessary mapped network drivers.
This script map network drivers and open an application.
Letra = &#8220;S:&#8221;
&#8216;Precisa ser letra maiuscula
Caminho = servidorshare
Aplicativo = Letra &#38; &#8220;teste.exe&#8221;



Set WshShell = WScript.CreateObject(&#8221;WScript.Shell&#8221;)
Set WshNetwork = WScript.CreateObject(&#8221;WScript.Network&#8221;)
Set AllDrives = [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-to-map-network-drivers-and-run-an-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.VBS to close a process if a dependent process is closed</title>
		<link>http://www.robertoalves.com/2008/vbs-to-close-a-process-if-a-dependent-process-is-closed-2/</link>
		<comments>http://www.robertoalves.com/2008/vbs-to-close-a-process-if-a-dependent-process-is-closed-2/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 11:32:52 +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=6</guid>
		<description><![CDATA[This script verify each 30 seconds if two process are running to a user that opened a application with the script. In case of one process was terminated, then the other process will be terminated.
On Error Resume Next
Set objNet = CreateObject(\&#8221;WScript.NetWork\&#8221;)
Set WshShell = WScript.CreateObject(\&#8221;WScript.Shell\&#8221;)

wshshell.run chr(34) &#38; \&#8221;C:Program FilesInternet Exploreriexplore.exe\&#8221; &#38; chr(34) &#38; \&#8221; -k d:WebVisionP.htm\&#8221;
processo = \&#8221;GUICOMM.EXE\&#8221;
processo2 [...]]]></description>
		<wfw:commentRss>http://www.robertoalves.com/2008/vbs-to-close-a-process-if-a-dependent-process-is-closed-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
