<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://www.de12werken.nl/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.de12werken.nl/feed.php">
        <title>Notes - microsoft:scripting:vbscript:scripts</title>
        <description></description>
        <link>http://www.de12werken.nl/</link>
        <image rdf:resource="http://www.de12werken.nl/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-05T17:00:20+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:7zipcompresssubdirs&amp;rev=1253107892&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:copyfromshare&amp;rev=1253107651&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:createmd5fromstring&amp;rev=1276784185&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:deldircontents&amp;rev=1253208590&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:desktopchecker&amp;rev=1253208701&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:diskpartscripting&amp;rev=1253208798&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:enablenetbioswithbroadcast&amp;rev=1253208885&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:expanddevicepath&amp;rev=1326619679&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:moveiisinetpub&amp;rev=1253209086&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:restartprintspooler&amp;rev=1259750286&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:restartservices&amp;rev=1279695960&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:setblankscreensaver&amp;rev=1253209167&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:setpwtoneverexpire&amp;rev=1599651576&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:settcpipdnssettings&amp;rev=1326619272&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sortfilesinsubfolder&amp;rev=1253209426&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sqldbcompress&amp;rev=1279640200&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sqlmirroring&amp;rev=1320520041&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:startappwithparams&amp;rev=1253107759&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:tssetpowershellexerights&amp;rev=1321369441&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:whichtemplate&amp;rev=1253209673&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:wmi-setopticaldriveletter-remote&amp;rev=1305041425&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:wmi-setopticaldriveletter&amp;rev=1328860857&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.de12werken.nl/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Notes</title>
        <link>http://www.de12werken.nl/</link>
        <url>http://www.de12werken.nl/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:7zipcompresssubdirs&amp;rev=1253107892&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-16T13:31:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>7zipcompresssubdirs</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:7zipcompresssubdirs&amp;rev=1253107892&amp;do=diff</link>
        <description>Versie 1

Voor het comprimeren van subdirectories van een directory naar een 7-zip archief met de naam van de subdirectory.


&#039;Voor het comprimeren van alle subfolders van een folder met 7-zip.
&#039;Bedoeld voor scheduled task

&#039;on error resume next

sourcefolder = &quot;d:\Misc\uit dienst home dir\&quot;
destinationfolder = &quot;D:\Misc\BACKUP\UITDIENST\&quot;

&#039;logfile en tooldir locatie mogen geen spaties bevatten.
logfile = &quot;C:\Logs\7zipCompressSubdirs-log.txt&quot;
tooldir = &quot;c:\Tools\7-zip\&quot;

CONST HideWindow = 0
CON…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:copyfromshare&amp;rev=1253107651&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-16T13:27:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>copyfromshare</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:copyfromshare&amp;rev=1253107651&amp;do=diff</link>
        <description>Versie 3


&#039;Voor het kopiëren van bestanden van een remote share naar lokaal.
&#039;Start dit in een scheduled task die met de juiste credentials gestart word.
&#039;20080124, v1
&#039;20080515, v2, nu met function.
&#039;20090405, v3, functie aanroep aangepast en set object commando buiten de functie gezet.

On Error Resume Next

&#039;Definieer constanten
CONST overwrite = True

Set objFso = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set objNetwork = CreateObject(&quot;WScript.Network&quot;)

Function CopyFromShare(remoteDirect…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:createmd5fromstring&amp;rev=1276784185&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-17T14:16:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>createmd5fromstring</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:createmd5fromstring&amp;rev=1276784185&amp;do=diff</link>
        <description>Versie 1


&#039;CreateMD5FromString.vbs
&#039;Voor het maken van een MD5 sum van een string.
&#039;Vereist installatie van de MD5 Component ActiveX van XStandard
&#039;http://www.xstandard.com/en/documentation/xmd5/
&#039;20100609, v1.

Set objParam = WScript.Arguments

If objParam.Count = 0 Then

	WScript.Echo &quot;Geef aub één of meerdere parameters op (gescheiden door spaties).&quot;
	
	WScript.Quit

End If

Set objMD5 = CreateObject(&quot;XStandard.MD5&quot;)

intNrOfParameters = objParam.Count

For intNrOfParameters = 0 To objParam.…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:deldircontents&amp;rev=1253208590&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:29:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>deldircontents</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:deldircontents&amp;rev=1253208590&amp;do=diff</link>
        <description>Versie 1

For deleting the contents of a directory but not the directory itself:


folderName = &quot;C:\Temp&quot;

CONST WaitOnReturn = true
CONST HideWindow = 0

Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set objShell = CreateObject(&quot;WScript.Shell&quot;)

&#039;Declare the function
Function DeleteContents(dirName)

	If objFSO.FolderExists(dirName) Then

	Set delcontentsfolder = objFSO.GetFolder(dirName)

	&#039;Remove all files in the directory
	For Each File in delcontentsfolder.Files
		
		objFSO.Delete…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:desktopchecker&amp;rev=1253208701&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:31:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>desktopchecker</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:desktopchecker&amp;rev=1253208701&amp;do=diff</link>
        <description>Here&#039;s a useful script to quickly display the configuration of a remote system for troubleshooting or inventory purposes.

This handy script will attempt to gather various Windows NT/2000/XP/2003 operating-system attributes and display them in a coherent way to assist in troubleshooting. I highly suggest modifying the customization variables located within the script. To edit this text file, just open it with Notepad (leave Word Wrap turned off). Even if you have no experience with VBScript, you…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:diskpartscripting&amp;rev=1253208798&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:33:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>diskpartscripting</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:diskpartscripting&amp;rev=1253208798&amp;do=diff</link>
        <description>Verplaatst de CD-/DVD-ROM naar E, maakt een nieuw volume aan met de beschikbare ruimte, geeft deze schijfletter D en formatteerd het volume als NTFS. 



HideWindow = 0
WaitOnReturn = True
ForReading = 1
ForWriting = 2
Create = True
FormatASCII = 0
Fixed = 2

Set objWshShell = WScript.CreateObject(&quot;WScript.Shell&quot;)
Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)

&#039;Voor het verplaatsen van de CD-/DVD-drive:

Set objTextStream = objFSO.OpenTextFile(&quot;c:\Temp\dpartscript.txt&quot;,ForWriting,Creat…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:enablenetbioswithbroadcast&amp;rev=1253208885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:34:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>enablenetbioswithbroadcast</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:enablenetbioswithbroadcast&amp;rev=1253208885&amp;do=diff</link>
        <description>Versie 1


&#039;EnableNetBIOSWithBroadcast.vbs
&#039;Voor het instellen van node type op broadcast en het aanzetten van NetBIOS over TCP/IP.
&#039;Gebaseerd op code van: http://develnet.blogspot.com/2006/10/disabling-netbios-over-tcpip-via.html
&#039;20090415, v1.

strComputer = &quot;.&quot;
HKLM = 2147483650
strValueName = &quot;NetbiosOptions&quot;
strSubKey = &quot;System\CurrentControlSet\Services\NetBT\Parameters\Interfaces\&quot;

&#039;Get registry provider from WMI
Set objRegistry = GetObject(&quot;winmgmts:\\&quot; &amp; strComputer &amp; &quot;\root\default:St…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:expanddevicepath&amp;rev=1326619679&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-15T09:27:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>expanddevicepath</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:expanddevicepath&amp;rev=1326619679&amp;do=diff</link>
        <description>Description

For expanding the DevicePath key below HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion. 

An easy way to add extra driver directories to search for devices that are added to the system after install (printers, extra expansion cards, etc.).</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:moveiisinetpub&amp;rev=1253209086&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:38:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>moveiisinetpub</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:moveiisinetpub&amp;rev=1253209086&amp;do=diff</link>
        <description>Voor het kopiëren van de Inetpub directory naar D en het aanpassen van de Default Web Site directory naar D: 



CONST DontOverWrite = False
CONST HideWindow = 0
CONST WaitOnReturn = True

Set objShell = CreateObject(&quot;WScript.Shell&quot;)
Set objFso = CreateObject(&quot;Scripting.FileSystemObject&quot;)

objFso.CopyFolder &quot;C:\Inetpub&quot;, &quot;D:\Inetpub&quot;, DontOverWrite

objShell.Run &quot;cscript.exe c:\inetpub\adminscripts\adsutil.vbs SET w3svc/1/root/path d:\inetpub\wwwroot&quot;, HideWindow, WaitOnReturn

Set objFso = Noth…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:restartprintspooler&amp;rev=1259750286&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-02T10:38:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>restartprintspooler</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:restartprintspooler&amp;rev=1259750286&amp;do=diff</link>
        <description>Versie 1

Stopt de Print Spooler service, wacht 60 seconden en start &#039;m weer. Wacht vervolgens nog 30 seconden en start &#039;m weer, voor het geval de service problemen heeft met opstarten.


&#039;RestartPrintSpooler.vbs
&#039;Voor het stoppen en starten van de Print Spooler service.
&#039;20091202, v1

On Error Resume Next

strComputer = &quot;.&quot;

Set objWMIService = GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!\\&quot; &amp; strComputer &amp; &quot;\root\cimv2&quot;)

&#039;Win32_Service: http://msdn.microsoft.com/en-us/library/aa39441…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:restartservices&amp;rev=1279695960&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-21T07:06:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>restartservices</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:restartservices&amp;rev=1279695960&amp;do=diff</link>
        <description>Versie 2


&#039;RestartServices.vbs
&#039;Voor het stoppen en starten van services.
&#039;Win32_Service: http://msdn.microsoft.com/en-us/library/aa394418(VS.85).aspx
&#039;20100720, v1.
&#039;20100721, v2:
&#039;Functie voorzien van intWaitTime parameter om de wachttijd na het stoppen in te kunnen stellen.

On Error Resume Next

strComputer = &quot;.&quot;

Set objWMIService = GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!\\&quot; &amp; strComputer &amp; &quot;\root\cimv2&quot;)

&#039;Functie: RestartService
&#039;Parameter1: display name van de service (str…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:setblankscreensaver&amp;rev=1253209167&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:39:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>setblankscreensaver</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:setblankscreensaver&amp;rev=1253209167&amp;do=diff</link>
        <description>Voor het instellen van een blanco screensaver voor de huidige en de default user.


CONST scrnsaver = &quot;C:\WINDOWS\system32\scrnsave.scr&quot;

Set objShell = CreateObject(&quot;WScript.Shell&quot;)

objShell.RegWrite &quot;HKCU\Control Panel\Desktop\SCRNSAVE.EXE&quot;, scrnsaver, &quot;REG_SZ&quot;

objShell.RegWrite &quot;HKEY_USERS\.DEFAULT\Control Panel\Desktop\SCRNSAVE.EXE&quot;, scrnsaver, &quot;REG_SZ&quot;

objShell.Run &quot;REG LOAD HKLM\DEFUSER &quot; &amp; chr(34) &amp; &quot;C:\Documents and Settings\Default User\NTUSER.DAT&quot; &amp; chr(34)

WScript.Sleep(5000)

obj…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:setpwtoneverexpire&amp;rev=1599651576&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-09T11:39:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>setpwtoneverexpire</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:setpwtoneverexpire&amp;rev=1599651576&amp;do=diff</link>
        <description>Microsoft - Scripting - VBScript - SetPwToNeverExpire

Sets the password of accountname passed to it as argument to never expire.

Version 3


&#039;SetPwToNeverExpire.vbs
&#039;Thanks to Biber http://www.administrator.de/index.php?content=37803
&#039;20060811, v1, Biber.
&#039;20110319, v2.
&#039; 	Copy and paste of script from mentioned URL with some style modifications.
&#039;20200909, v3.
&#039;	Use the COMPUTERNAME as the computer to use in GetObject.
&#039;	Remove the extra &quot;/.&quot; after strWorkGroupOrDomain so that it works on Win…</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:settcpipdnssettings&amp;rev=1326619272&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-01-15T09:21:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>settcpipdnssettings</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:settcpipdnssettings&amp;rev=1326619272&amp;do=diff</link>
        <description>Version 2

Sets the following DNS related settings on the network adapters:

	*  IP&#039;s of the DNS servers (arrDNSServers)
	*  The primary domain to which the computer belongs (strDNSDomain)
	*  The list of domains that should be searched when only given a hostname to resolve (strDNSSuffixSearchDomains)</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sortfilesinsubfolder&amp;rev=1253209426&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:43:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sortfilesinsubfolder</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sortfilesinsubfolder&amp;rev=1253209426&amp;do=diff</link>
        <description>Maakt in de opgegeven directory per datum van de aanwezige bestanden in het yyyymmdd formaat subdirectories aan en verplaatst de bestanden in de directory op datum naar de subdirectories. 

Bedoeld voor een directory waar veel van dezelfde bestanden in terechtkomen als uitvoer uit een programma.</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sqldbcompress&amp;rev=1279640200&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-20T15:36:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sqldbcompress</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sqldbcompress&amp;rev=1279640200&amp;do=diff</link>
        <description>Info

Script voor het comprimeren van SQL database bak dump bestanden. 

Bedoeld voor in dagelijkse scheduled task.
7za.exe moet in de directory staan die genoemd wordt onder toolsdir. 

Het bak bestand van de database moet in de directory staan die genoemd wordt onder backupdir in de vorm databasenaam.bak.</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sqlmirroring&amp;rev=1320520041&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-05T19:07:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sqlmirroring</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:sqlmirroring&amp;rev=1320520041&amp;do=diff</link>
        <description>Version 2

The below script should be executed with cscript on the source server. 

It takes care of setting up database mirroring for one or all databases on a sourceserver. 

Modify the directory and server variables before executing. 

The account running this script has to have the correct perissions on both servers.</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:startappwithparams&amp;rev=1253107759&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-16T13:29:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>startappwithparams</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:startappwithparams&amp;rev=1253107759&amp;do=diff</link>
        <description>Versie 1

Gemaakt voor gebruik in MSI project waarbij advertised snelkoppelingen naar applicaties op de netwerkschijf gemaakt moeten worden. Hierbij staat het merendeel van de applicatie op een netwerkschijf met een paar onderdelen, waaronder de snelkoppeling(en), lokaal.</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:tssetpowershellexerights&amp;rev=1321369441&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-11-15T15:04:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tssetpowershellexerights</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:tssetpowershellexerights&amp;rev=1321369441&amp;do=diff</link>
        <description>Version 1

Removes Users group from powershell(_ise).exe as there is no GPO or other setting to prevent the usage of PowerShell like there is for the command prompt (cmd.exe).

Tested and used on Windows Server 2008 R2 Remote Desktop Session Host (aka Terminal Server).</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:whichtemplate&amp;rev=1253209673&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-17T17:47:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>whichtemplate</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:whichtemplate&amp;rev=1253209673&amp;do=diff</link>
        <description>Script om alle Word bestanden in een directory na te gaan op de gebruikte templates. 

Uitvoer van script komt in strLogFilePath en voortgang word bijgehouden in strCheckedFiles, zodat het script herstart kan worden en dan oppakt waar het gebleven was.</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:wmi-setopticaldriveletter-remote&amp;rev=1305041425&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-05-10T15:30:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wmi-setopticaldriveletter-remote</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:wmi-setopticaldriveletter-remote&amp;rev=1305041425&amp;do=diff</link>
        <description>Version 1


&#039;WMI-SetOpticalDriveLetter-Remote.vbs
&#039;For moving the optical drive of a remote machine.
&#039;Contains code from http://www.visualbasicscript.com/tm.aspx?high=&amp;m=30133&amp;mpage=1.
&#039;20110510, v1.

Set objLocator = CreateObject(&quot;WbemScripting.SWbemLocator&quot;)

strComputer = &quot;10.1.1.1&quot;
strAcc = &quot;administrator&quot;
strPassword = &quot;password&quot;

Set objWMIService = objLocator.ConnectServer ( strComputer, &quot;\root\cimv2&quot;, strComputer &amp; &quot;\&quot; &amp; strAcc, strPassword )
objWMIService.Security_.impersonationlevel = …</description>
    </item>
    <item rdf:about="http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:wmi-setopticaldriveletter&amp;rev=1328860857&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-02-10T08:00:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wmi-setopticaldriveletter</title>
        <link>http://www.de12werken.nl/doku.php?id=microsoft:scripting:vbscript:scripts:wmi-setopticaldriveletter&amp;rev=1328860857&amp;do=diff</link>
        <description>Version 1

Assumes C and D are local hard drives/partitions and E is the optical drive.


&#039;WMI-SetOpticalDriveLetter.vbs
&#039;For moving the optical drive of the local machine.
&#039;Contains code from http://www.visualbasicscript.com/tm.aspx?high=&amp;m=30133&amp;mpage=1.
&#039;20110701, v1.

strComputer = &quot;.&quot;
Set objWMIService = GetObject(&quot;winmgmts:&quot; _
 &amp; &quot;{impersonationLevel=impersonate}!\\&quot; &amp; strComputer &amp; &quot;\root\cimv2&quot;)

&#039;Select all volumes of type compact disc.
&#039;http://msdn.microsoft.com/en-us/library/aa394515(…</description>
    </item>
</rdf:RDF>
