Compartilhar via


OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

[Script of Jan. 14] Display a notification when the PST file reaches the size limit (VBA)

Script Download: PSTChecker.zip...

Author: Huilin zhu Date: 01/13/2014

[Script of Jan. 13] Save attachments from multiple selected items in Outlook (VBScript)

Script Download: AttachmentSaver.zip...

Author: Huilin zhu Date: 01/12/2014

[Script of Jan. 10] Script to hide drive letters in Windows (VBScript)

Script Download: HideDrive(VBS).zip...

Author: Huilin zhu Date: 01/10/2014

[Script of Jan. 9] Remove orphaned SIDs from File/Folder ACL (PowerShell)

Script Download: ReomveSIDFromACL.zip...

Author: Huilin zhu Date: 01/09/2014

[Script of Jan. 8] Verify and reset SRV record (PowerShell)

Script Download: SRVrecord.zip...

Author: Huilin zhu Date: 01/07/2014

[Script of Jan. 7] Script to add Windows Gadget to user profile (PowerShell)

Script Download: AddWindowsGadgetToUserProfile.zip...

Author: Huilin zhu Date: 01/06/2014

[Script of Jan. 6] Script to hide drive letters in Windows (PowerShell)

Script Download: HideDriveLetter.zip...

Author: Huilin zhu Date: 01/05/2014

[Script of Jan. 3] Disable turn off this device to save power for NIC Power Management (PowerShell)

Script Download: DisableNetworkAdapterPnPCapabilities.zip...

Author: Huilin zhu Date: 01/03/2014

[Script of Jan. 2] Hide the specified full path of mapped drive

Script Download: HideFullPathForMappedDrive.zip...

Author: Huilin zhu Date: 01/02/2014

[Script of Jan. 1] Update Users Display Name after Enabling Forms-based Authentication (FBA) in SPS

Script Download: UpdateFBAUserDisplayname.zip...

Author: Huilin zhu Date: 01/01/2014

[Script of Dec. 31] Set User Profile Picture in Microsoft SharePoint Server 2010

Script Download: SetOSCSPUserPicture.zip...

Author: Huilin zhu Date: 12/31/2013

[Script of Dec. 30] How to review indexing information and issues in SQL Server (T-SQL)

Script Download:21984.zip...

Author: Huilin zhu Date: 12/30/2013

[Script of Dec. 27] Create Non-compliant Collections in System Center 2012 Configuration Manager SP1

Script Download: NewOSCCMCollection-NonCompliant.zip...

Author: Huilin zhu Date: 12/27/2013

[Script of Dec. 26] Create Collections Based on Organizational Units in System Center 2012

Script Download: NewOSCCMCollection-OU.zip...

Author: Huilin zhu Date: 12/26/2013

[Script of Dec. 25] Enumerate Conditions in an OS Deployment Task Sequence in System Center

Script Download: 22237.zip...

Author: Huilin zhu Date: 12/25/2013

[Script of Dec. 24] Create User Collections Based on User Groups in System Center 2012

Script Download: 22236.zip...

Author: Huilin zhu Date: 12/24/2013

[Script of Dec. 23] Get Active Directory user account last logged on time (PowerShell)

Script Download: 22229.zip...

Author: Huilin zhu Date: 12/22/2013

[Script of Dec. 20] How to get Best Practice Analyzer result in Windows Server 2012

Script Download: 22228.zip...

Author: Huilin zhu Date: 12/20/2013

[Script of Dec. 19] Get Active Directory user account last logged on time (VBScript)

Script Download: 22227.zip...

Author: Huilin zhu Date: 12/19/2013

[Script of Dec. 18] How to set User's Logon hours based on admin's requirement (PowerShell)

Script Download: 22226.zip https://gallery.technet.microsoft.com/How-to-set-Users-Logon-1bb4b1a2 This...

Author: Huilin zhu Date: 12/18/2013

[Script of Dec. 17] How to check if Active Directory user password is expired on specified days(VBS)

Script Download: 22222.zip https://gallery.technet.microsoft.com/How-to-check-if-Active-2f3e9407 This...

Author: Huilin zhu Date: 12/17/2013

[Script of Dec. 16] How to check if Active Directory user password is expired on specified days

Script Download: 22208.zip https://gallery.technet.microsoft.com/How-to-check-if-Active-f27b7d39 This...

Author: Huilin zhu Date: 12/16/2013

[Script of Dec. 13] Reset Distribution Group Members from a CSV File

Script Download: 22266.ziphttps://gallery.technet.microsoft.com/Reset-Distribution-Group-904fafa0...

Author: Huilin zhu Date: 12/12/2013

[Script of Dec. 12] Create Address Lists for All Departments in Exchange Environment

Script Download: 22265.ziphttps://gallery.technet.microsoft.com/Create-Address-Lists-for-a777bf3b...

Author: Huilin zhu Date: 12/11/2013

[Script of Dec. 11] Enable or Disable Active Sync For Distribution Groups

Script Download: 22264.ziphttps://gallery.technet.microsoft.com/Enable-or-Disable-Active-d57908d2...

Author: Huilin zhu Date: 12/10/2013

[Script of Dec. 10] Create Address List for Mailboxes According to Company Name

Script Download: 22263.ziphttps://gallery.technet.microsoft.com/Create-Address-List-for-15271344 This...

Author: Huilin zhu Date: 12/09/2013

[Script of Dec. 9] Count the number of users on each dial plan

Script Download: 22262.ziphttps://gallery.technet.microsoft.com/Count-the-number-of-users-1ebb65c3...

Author: Huilin zhu Date: 12/08/2013

[Script of Dec. 6] Remove all Secondary Email Addresses for Mailboxes

Script Download: 22021.ziphttps://gallery.technet.microsoft.com/Remove-all-Secondary-Email-31ca680c...

Author: Huilin zhu Date: 12/05/2013

[Script of Dec. 5] Send Lync Instant Message with the PowerShell script

Script Download: 21946.ziphttps://gallery.technet.microsoft.com/Send-Lync-Instant-Message-66e7bb22...

Author: Huilin zhu Date: 12/04/2013

[Script of Dec. 4] Backup Windows product key in Windows 8 (PowerShell)

Script Download: 22253.ziphttps://gallery.technet.microsoft.com/Backup-Windows-product-key-b41468c2...

Author: Huilin zhu Date: 12/03/2013

[Script of Dec. 3] Backup Windows product key in Windows 8 (VBScript)

Script Download: 22251.ziphttps://gallery.technet.microsoft.com/Backup-Windows-product-key-1a200645...

Author: Huilin zhu Date: 12/02/2013

[Script of Dec. 2] Delete Unused user Profiles on local machine (PowerShell)

Script Download: 22233.ziphttps://gallery.technet.microsoft.com/Delete-Unused-user-4047f41d This...

Author: Huilin zhu Date: 12/01/2013

[Script of Nov. 29] Security hardening for SharePoint 2010 farms (PowerShell)

Script Download: 22231.ziphttps://gallery.technet.microsoft.com/Security-hardening-for-c425db1d This...

Author: Huilin zhu Date: 11/29/2013

[Script of Nov. 28] Find inefficient query plans

Script Download:...

Author: Huilin zhu Date: 11/27/2013

[Script of Nov. 27] Check the frequency of a report access (T-SQL)

Script Download:...

Author: Huilin zhu Date: 11/26/2013

[Script of Nov. 26] Backup SQL Server Analysis Service database (PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/25/2013

[Script of Nov. 25] Check the state of all instances in a SQL Server (PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/24/2013

[Script of Nov. 22] Retrieve a list of Active Directory User based on Display Names (PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/21/2013

[Script of Nov.21] How to add credentials to the Windows Vault (PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/20/2013

[Script of Nov.20] Send a Warning Report of a Mail Storm

Script Download:...

Author: Huilin zhu Date: 11/19/2013

[Script of Nov.19] Convert .XLR file to .XLS file

Script Download:...

Author: Huilin zhu Date: 11/18/2013

[Script of Nov.18] How to set RecyclebinRetentionPeriod settings for SharePoint Web Application

Script Download:...

Author: Huilin zhu Date: 11/17/2013

[Script of Nov.15] Change upload file limit in specified Webapllication in SharePoint (PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/15/2013

[Script of Nov.14] Checking For Protected ACLs in Active Directory (PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/14/2013

[Script of Nov.13] Check instantaneous and historical wait types (T-SQL)

Script Download:...

Author: Huilin zhu Date: 11/13/2013

[Script of Nov.12] How to force automatic restarts after finish installing updates (VBScript)

Script Download:...

Author: Huilin zhu Date: 11/12/2013

[Script of Nov.11] Copy Files with version and metadata using PowerShell

Script Download:...

Author: Huilin zhu Date: 11/10/2013

[Script of Nov.8] How to force automatic restarts after finish installing updates (PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/08/2013

[Script of Nov.7] Check pre-requisite fixes on a system for SQL Server 2012 AlwaysOn(PowerShell)

Script Download:...

Author: Huilin zhu Date: 11/07/2013

[Script of Nov.6] Automatic Email Notification to Administrator about Inactive Accounts in AD

Script Download:...

Author: Huilin zhu Date: 11/06/2013

<Previous Next>