Useful Links, Editors and Books for Visual Basic, Scripting Edition (VBScript)

Here is a list of links, editors and books. I have mentioned some of them, in the Visual Basic, Scripting Edition Course (MOC 2433). Links: Microsoft Script Center: http://www.microsoft.com/technet/scriptcenter/default.mspx VBScript Introduction http://wiht.link/vbscript-resources VBScript Language Reference: http://msdn.microsoft.com/en-us/library/d1wf56tt.aspx Microsoft Scripting Guys! Forum - Technet: http://social.technet.microsoft.com/Forums/en-US/ITCG/threads/ w3Schools - VBScript Section: http://w3schools.com/vbscript/default.asp SCCM and other Scripts: http://myitforum.com/cs2/blogs/dhite/ UAC and VBSCript: http://www.winhelponline.com/articles/185/1/VBScripts-and-UAC-elevation.html Naming Conventions for Visual Basic: http://support.microsoft.com/kb/110264 Scripting Guy’s Determine Last Logon time: http://technet.microsoft.com/da-dk/magazine/2006.01.scriptingguy(en-us).aspx Encode a Script – Sample: http://www.microsoft.com/technet/scriptcenter/csc/scripts/security/scripts/cscse001.mspx Scripting Games  - Don't Worry, Get SAPI: Using the Speech API to Add Voice and Sound Effects to a Script http://www.microsoft.com/technet/scriptcenter/funzone/games/sapi.mspx COM Authenticating Level [...]

By |2009-01-14T12:17:18+01:00januar 14th, 2009|Scripting & Development|1 Kommentar

Usefull Powershell Links and Books.

Links: Microsoft Scripting guys! Forum: Usually you will get very quick replys and help in there http://social.technet.microsoft.com/Forums/en/ITCG/threads Powershell 2.0 and others for All Windows (Windows Management Framework) http://support.microsoft.com/default.aspx/kb/968929 Writing Help for Windows Modules http://msdn.microsoft.com/en-us/library/windows/desktop/dd878343(v=vs.85).aspx Importing / Exporting Credentials in Powershell (Manually create Credential object) http://www.leeholmes.com/blog/ImportingAndExportingCredentialsInPowerShell.aspx Working wth ODBC: http://theessentialexchange.com/blogs/michael/archive/2008/01/07/multi-platform-database-access-with-powershell.aspx Create Custom Inputbox: http://www.microsoft.com/technet/scriptcenter/resources/pstips/feb08/pstip0208.mspx Working with Arrays: http://powershell.com/cs/blogs/tips/archive/2008/11/19/working-with-arrays.aspx Change Error Message Colors: http://www.microsoft.com/technet/scriptcenter/resources/pstips/aug07/pstip0817.mspx PowerBoots - Interface for creating WPF GUI's in powershell http://huddledmasses.org/powerboots-tutorial-walkthrough/ Powershell SDK: http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en Free PowerShell Commands for Active Directory http://www.quest.com/powershell/activeroles-server.aspx Blog: ADPowershell: http://blogs.msdn.com/adpowershell/ Outputting Calculated Coloumns in Powershell: http://powershell.com/cs/blogs/tips/archive/2008/11/21/outputting-calculated-properties.aspx The Scripting Guys: How does the RemoteSigned execution policy [...]

Notepad++

Download: http://sourceforge.net/projects/notepad-plus/ System Requirements: All Windows OS Licence: Free Developer: Sourceforge.net (multiple developers) Info: http://notepad-plus.sourceforge.net/uk/site.htm   Short Description: Replacement for Notepad, that gives you collar coding, and lots of other useful stuff for editing a variety of script languages. Personally I use for editing XML, VBS and WSF files..

By |2008-12-12T15:17:00+01:00december 12th, 2008|Scripting & Development|Kommentarer lukket til Notepad++

Checking if User is member of group including nested/sub groups!

Download: [download#4#size#nohits] I had a challenge today. Problem: My Customer needs to insert a specific text in the Computer description field on the local PC, if the user is member of a specific group. Challenges: The problem is that most of the user are not directly members of the group. but they are members of a nested group that if member of the group, or a nested group , that is member of a nested group , that is member of the group and so on. This gave me a problem, since the usual way of checking the user membership [...]

By |2008-12-01T12:41:43+01:00december 1st, 2008|Scripting & Development|8 Comments

Automated Windows Installer Properties from .INI (Embedded VBScript)

Download: [download#2#size#nohits] Have you ever needed the functionality to read the property values from an .ini file, every time a installation or repair is run? This small script created for Windows installer, will do the job. Purpose:   Automatically reads a ini file located in the MSI SOURCEDIR property. Each parameter in the ini file is read into the property that have the same name. ex. "DaysSerial"="0100000" line is read in to property named DaysSerial and setting the value to 0100000 System works both with "DaysSerial"="0100000" ini format, or DaysSerial=0100000 ini format. If you later change the ini file at the [...]