Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Get this Tag RSS feed
Translate this page
Powered by
Microsoft® Translator
Popular Tags
Active Directory
AD
AD DS
AD FS
adfs
ASP.NET
azure
BizTalk
BizTalk Server
BizTalk Server 2010
C#
Candidate for deletion
certification
cloud
core docs
de-DE
EAA
Ed Price
Ed's Stub Pages
en-US
ESA
es-ES
Excel
Exchange
Exchange 2010
Exchange Server 2010
fa-IR
Fernando Lugao Veltem
FIM
FIM 2010
forefront
forums
fr-FR
Gokan Ozcifci
has code
has comment
has comments
has image
has Images
has Other Languages
has See Also
Has Table
Has TOC
Horizon_Net
How To
Hyper-V
id-ID
IIS
Italian Wiki Articles
it-IT
ja-JP
Jordano Mazzoni
Link Collection
Luciano Lima
Luigi Bruno
Lync Server 2010
MCTS
MIISILMFIM MACAULAY
Multi Language Wiki Articles
needs work
operations manager
Portal
Português Brasil
PowerShell
Private Cloud
pt-BR
security
SharePoint
SharePoint 2010
SharePoint 2013
Small Basic
solucionando problemas
spam
SQL Server
SQL Server 2012
stub
System Center
System Center 2012
TechNet Wiki Featured Article
tonyso
Translated into Japanese
troubleshooting
tr-TR
UAG
vídeo
Video
Virtualization
VMM
Wiki
Windows
Windows 7
Windows 8
Windows Azure
Windows Server
Windows Server 2003
Windows Server 2008
Windows Server 2008 R2
Windows Server 2012
yottun8
اکتیو دایرکتوری
Browse by Tags
>
TechNet Articles
>
All Tags
>
VBScript
Tagged Content List
Wiki Page:
Management Pack Composition Exercise #1 - Creating a Monitor Based on a Custom Module
jskiba
This document is part of the Operations Manager Management Pack Authoring Guide . Table of Contents Overview Product Versions Prerequisites Revisions Sample Code Details Authoring Console Procedure Create Probe Action Module to Run a Script Create Data Source Module to Run Probe Action...
on
13 May 2013
Wiki Page:
How to Add GacUtil Refresh as a Context Menu Item in the Windows Shell - Gacutil
- Will -
A long time ago when most of my development was on a Windows Server 2003 machine, we had a registry tweak that allowed us to quickly refresh dll's in the GAC by right-clicking the dll file and choosing a custom context menu item that would call a simple cmd script that would uninstall and reinstall...
on
8 May 2013
Wiki Page:
Management Pack Health Model Exercise #9 - Creating a Recovery Based on the Output of a Diagnostic
Richard Mueller
This document is part of the Operations Manager Management Pack Authoring Guide . Table of Contents Overview Product Versions Prerequisites Revisions Sample Code Details Authoring Console Procedure Creating a diagnostic that runs a script Creating a recovery based on the output of a diagnostic...
on
5 May 2013
Wiki Page:
Management Pack Service Model Exercise #6 - Creating a Script Discovery (VBScript)
Richard Mueller
Table of Contents Overview Product Versions Prerequisites Revisions Details Authoring Console Procedure Visual Studio Authoring Extensions Procedure See Also Overview The following procedures show how to create a VBScript script discovery using the Operations Manager 2007 Authoring console...
on
5 May 2013
Wiki Page:
How to Use VBScript to Run a PowerShell Script
Richard Mueller
FIM ScriptBox Item Summary If you you want to run a PowerShell script by just double-clicking it, you can do this calling the PowerShell script from a VBScript. The VBScript code below shows an example for this. To use the VBScript, save the VBS file in the folder where your PowerShell script...
on
3 May 2013
Wiki Page:
VBscript to create AD security groups (en-US)
Carsten Siemens
If you are working with System Center Configuration Manager (SCCM 2007),you know what the post means here. Have been getting lot of requests per day/week to create AD security groups for new applications to deploy applications . Here is the VB Script that fulfills your requirememnt but test it in...
on
27 Apr 2013
Wiki Page:
FIM: How to Script for Clearing Run History
Richard Mueller
Here is a little script I wrote for clearing the run history via script and using WMI. Clear Run History Script Dim Service Dim ManagementAgent Dim DeleteDate Set Service = GetObject( "winmgmts:\root\MicrosoftIdentityIntegrationServer" ) Set Server...
on
17 Apr 2013
Wiki Page:
VBScript: Find out Who Owns Your Computers
Yagmoth555
There are times when what you really want to know about a given computer is, who’s responsible for it. With good user education, your OU admins or computer admins will pre-stage a computer and at the very least populate the ManagedBy property. This effectively lets anyone who can read that property...
on
9 Apr 2013
Wiki Page:
Active Directory: Characters to Escape
Richard Mueller
Almost any characters can be used in distinguished names in Active Directory. However, some characters must be escaped with the backslash "\" escape character. Table of Contents Active Directory ADSI Non-Keyboard Characters VBScript PowerShell PowerShell New-AD* Cmdlets ADsPath LDAP Filters...
on
8 Apr 2013
Wiki Page:
Active Directory: LDAP Syntax Filters
Richard Mueller
LDAP Syntax filters can be used in many situations to query Active Directory. They can be used in VBScript and PowerShell scripts. Many utilities, like adfind and dsquery *, accept LDAP filters. Many PowerShell Active Directory module cmdlets, like Get-ADUser, Get-ADGroup, Get-ADComputer, and Get-ADObject...
on
19 Mar 2013
Wiki Page:
VBScript: Map network drives on logon
Yagmoth555
Need to create logon scripts that would automatically map network drives for users as they logon? The process is quite simple if you adopt a simple vbscript to connect the required printers and then apply a group policy that would run the script during logon. Below is a simple script that will do...
on
24 Feb 2013
Wiki Page:
Hyper-V: How to Find Virtualization Hosts (Servers with Hyper-V Enabled)
Ed Price - MSFT
John Howard , Senior Program Manager in the Hyper-V team at Microsoft, shared a sample VBScript you can use how to determine which domain-joined servers are running Hyper-V by using the SCP or "Service Connection Point" information in Active Directory. NOTE: To use the script, edit the call...
on
16 Feb 2013
Wiki Page:
Management Pack Health Model Exercise #12 - Creating a Script Based Performance Collection Rule
Richard Mueller
This document is part of the Operations Manager Management Pack Authoring Guide . Table of Contents Overview Product Versions Prerequisites Revisions Sample Code Details Authoring Console Procedure Visual Studio Authoring Extensions Procedure See Also Overview The following...
on
12 Feb 2013
Wiki Page:
VBScript - SendKeys Method
Yagmoth555
The SendKeys method is used to send keystrokes to the currently active window as if they where typed from the keyboard. object . SendKeys Keystrokes Single alphanumeric keystrokes can simply be specified using a string representation of the character required. For example, to send the letter S...
on
7 Feb 2013
Wiki Page:
Query a reg key for bulk computer (en-US)
i.biswajith
On Error Resume Next Set objShell = CreateObject("Wscript.Shell") Set oFso = CreateObject("Scripting.FileSystemObject") sDesktop = objShell.SpecialFolders("Desktop") spath = sDesktop & "\Dclist.txt" Set oT = oFso.OpenTextFile(spath,1) Do Until oT...
on
18 Jan 2013
Wiki Page:
Active Directory: Querying User Accounts
Richard Mueller
Various scripting and command-line methods for querying Active Directory for a list of users. Table of Contents Directory Services DSQuery User DSGet User DSQuery * VBScript PowerShell ADSI Active Directory module Quest ActiveRoles snapin Directory Services DSQuery User Query a...
on
1 Jan 2013
Wiki Page:
VBScript: Determine Script Execution Time
Fernando Lugão Veltem
To output a script's execution time, include this at the beginning: dtmStartTime = Timer And include this at the end: Wscript.Echo "Script execution time: " & Round(Timer - dtmStartTime, 2) & " seconds" The Timer function returns the number of seconds...
on
11 Jun 2012
Wiki Page:
Remover e Adicionar Impressoras com VBScript (pt-BR)
João Ricardo Wilde Neto
Aqui um exemplo, onde podemos remover as impressoras mapeadas de um usuário e mapear novas impressoras. Para executar o script, copie e cole as linhas abaixo em um arquivo texto e o salve como [qualquer nome].vbs Esse arquivo pode por exemplo ser adicionado como script de inicialização...
on
1 Jun 2012
Wiki Page:
How to Get a List of User Accounts Created on a Given Day or Over a Given Period
Ed Price - MSFT
How to get list of user accounts created on a given day or over a given period? Hey, Scripting Guy! How to apply a query to Active Directory for a list of user accounts created on a given day or period? - PG Hi, PG. You may not even aware of it, but August is the Scripting Guys and...
on
14 May 2012
Wiki Page:
How to Determine Which Organizational Unit (OU) Must Be a User Account
Ed Price - MSFT
How can I determine which organizational unit (OU-organizational unit) must be a user account? Hello Skrypciarzu! How can I determine which organizational unit (OU) is a user account? Hey What! Oh yes: to which OU the user. Without a doubt, many of you thought: "well, are you sure it is...
on
14 May 2012
Wiki Page:
How to Find and Move the Account from Active Directory
Ed Price - MSFT
How to find and move the account from Active Directory? Hello Skrypciarze! I need to move the account from one OU (Organizational Unit to an organizational unit) to another, unfortunately I do not know where the OU account are currently located. Some idea? Part Of The AA. Great rubric...
on
14 May 2012
Wiki Page:
How to Determine the Date of Creation of a User Account in Active Directory
Ed Price - MSFT
How to determine the date of creation of a user account in Active Directory? Hello Skrypciarzu! Is there a way to specify the date that you created the user account in Active Directory? After DD! Thanks: Nice, when between the nagromadzonymi during the holidays, the upcoming Scripting Week stacks...
on
14 May 2012
Wiki Page:
How to Assign All of My Users with a New Name for UPN
Ed Price - MSFT
How to assign all of my users with a new name for UPN? Skrypciarzu Hi! How to assign all of my users with a new name for UPN? CH Hi! UPN (User Principal Name - a user principal name) is an alternative way to log into the domain. In general, log on to the domain is done by pressing Ctrl-Alt-Delete...
on
14 May 2012
Wiki Page:
How to Read Computer Names from a Text File and then See if the Computers Still Exist
Ed Price - MSFT
How to read computer names from a text file and then see if the computers still exist? Hey, Scripting Guy! How to read computer names from a text file and then see if the computers still exist in Active Directory? - CL This is a very good question, CL - but why the sad face? But soon...
on
14 May 2012
Wiki Page:
Migrating Print Server (en-US)
Patris_70
In his article about the batch creation of printers I described how you can without much time and moral cost, quickly create a similar set of printers on the new server. According to the problem we have in the old and the new print server. In my case this is an old Windows 2003 and the new Windows...
on
21 Feb 2012
Page 1 of 2 (31 items)
1
2
Can't find it? Write it!
Post an Article