TechNet Gallery - resources for IT professionals

Download resources and applications for Windows 7, Windows Server 2008 R2, Windows Server 2008, SharePoint, System Center, Office, and other products. Find resources written in VB Script, PowerShell, SQL, JavaScript, or other script languages. New resources are added frequently so check often and see what's new.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.
Sort by: rss
36 results in Sukhija Vikas [Clear]
Sukhija Vikas
Hi Readers,As my love for powershell is growing so is my repository of scripts.This script that I have written has been requested by various community members & by front facing Teams in our organization.By using this script you have to just in put CN of a group (otherwise it will
(2)
Updated 6/2/2013
Released 5/31/2013
1,214 Downloads
Sukhija Vikas
Hi Readers,Sharing a sweet code to send HTML email via powershell.Aattched is a very simple method for sending the html email.zip file contains script & html file (you can edit in MS word according to your requirment).Most of the parameters that  are required to send email are in
(1)
Updated 6/19/2013
Released 6/12/2013
652 Downloads
Sukhija Vikas
Hi Readers,Today I am sharing a old script that I have modified,this has been used by us in various enviornments.This scripts reads from text file (name of machines) , pings them & returns status (up or down).place the script in a folder & create MachineList.Txt file inside it th
(1)
Updated 6/10/2013
Released 5/29/2013
422 Downloads
Sukhija Vikas
This script will feed data from CSV file to Active directory user attributes.I have included two scripts one will overwrite the existing data & other will only write if existing attributes are blank.Prerequisites:- quest management tools should be installed.CSV format:- This is a
(2)
Updated 6/19/2013
Released 3/7/2013
323 Downloads
Sukhija Vikas
Hi Readers,This script is alternative to below script & it is fairly simple.http://gallery.technet.microsoft.com/scriptcenter/Export-AD-group-members-6e6c8a9fThis just needs a single line of code for extracting the members recursively from the group.(Thanks to Quest) Extract the
(1)
Updated 6/3/2013
Released 6/3/2013
549 Downloads
Sukhija Vikas
There are many methods to extract data from Active directory for example:- csvde , vbscript etc..I have created a script using Quest management shell & excel to extract the attributes from AD directly in to excel file.No need of formating or  importing CSV to excel file as this w
(3)
Updated 6/9/2013
Released 2/14/2013
910 Downloads
Sukhija Vikas
Hi All,Today I am sharing a powershell method for exporting the content of SQL Table to CSV file.This can be used from remote server or machine as well if you have sql powershell installed.Download & install sql management tools from below path on your admin server.http://www.mic
(0)
Updated 7/18/2013
Released 7/18/2013
247 Downloads
Sukhija Vikas
Hi All,Today I am sharing a script that We use to report the diskspace percentage available on servers.Here are the columns that are reportedNote:- Excel should be installed on machine from which you will run it.


Server Name
Drive
Total Size (GB)
Free Space (GB)
Free Sp
(3)
Updated 11/14/2013
Released 8/9/2013
277 Downloads
Sukhija Vikas
Hi Readers,This script is the extension of below scripthttp://gallery.technet.microsoft.com/Export-AD-group-members-6e6c8a9fThe only difference is: It takes input of group names from text file & you can run thisfor multiple groups.You just have to put CN of a group (otherwise it
(0)
Updated 12/13/2013
Released 12/7/2013
12 Downloads
Sukhija Vikas
Hi All,This script is part two of Export active directory scripthttp://gallery.technet.microsoft.com/scriptcenter/Export-Active-Directory-5cf4938dThis works same as above except it will extract the data from particular OU.No need of formating or  importing CSV to excel file as th
(1)
Updated 6/17/2013
Released 6/17/2013
202 Downloads
Sukhija Vikas
Hi Readers,I have written this script as this was requested by someone in this gallery.This script will delete the files & folders based on the date except the folders mentioned in the exclude variable.two excelude folders are defined, you can define more as well, just modify the
(1)
Updated 6/8/2013
Released 5/21/2013
159 Downloads
Sukhija Vikas
Hi Readers,I have been given a below task which needs to be done due to some security issue:-
Critical APP send invoice(pdf) to mailbox User than reads the email address of vendor from body After that fwd that email to Vendor. This manual process needs to be automated.below is t
(0)
Updated 9/27/2013
Released 9/20/2013
41 Downloads
Sukhija Vikas
Hi Readers,I am sharing a script that I have been using since long for creating mailboxes thru CSV file.Below input is required by the script.Database,Password,Name,OU,Alias,fqdnfqdn is your domain name.Sharing the example :-run the script using script.ps1 csvfileresult will be a
(0)
Updated 6/21/2013
Released 5/30/2013
99 Downloads
Sukhija Vikas
Hi Readers,There can be a situation where you are migrating from another exchange organization & you have to import legacy exchange DN.This is required so that users does'nt get delivery failure when they reply to old messages or send to cached outlook contacts.Just extract the s
(0)
Updated 6/7/2013
Released 6/7/2013
77 Downloads
Sukhija Vikas
Hi Readers,Today I am sharing a amazing script that I & my Colleague has written to reduce Team's work for daily checking list.Also We utilize it after maintenance activities.This script is compatible with exchange 2007 server & do the following tasks.
Check CCR status & which a
(3)
Updated 6/27/2013
Released 6/22/2013
167 Downloads
1 - 15 of 36 Items