Alan's Blog

"Yeah. I wrote a script that will do that."

Menu
  • About My Blog
Menu

Month: June 2010

UAC and vbScripts

Posted on June 24, 2010March 9, 2015 by Alan

I am spending more and more of my time on operating systems with User Access Control.  ReRunUAC.vbs is a script fragment (scriptlet) which allows you to force a vbscript to run with a UAC prompt when executed.  It also allows you to select the host – cscript or vbscript.  Tags: UAC

Read more

How to maximize a minimized HTA file

Posted on June 22, 2010March 9, 2015 by Alan

MaximizeMeTest.HTA (MaximizeMeTest.zip) is example code for how to maximize an HTA file that has had windowstate set to mimimize. There are quite a bit of remarks about this, see, ex: http://www.scriptinganswers.com/forum2/forum_posts.asp?TID=2103  Because the state is read only after the HTA loads, I use a pretty big kludge to achieve this.  The HTA writes out a temporary vbScript that…

Read more

Get information about all Exchange mailboxes

Posted on June 22, 2010March 9, 2015 by Alan

This script, AllMailBoxes.vbs, queries all of your exchange servers, returning a report with these items: NT Name, Display Name, Limit Info, Box Size(MB), Total Items, Orphaned, Store name, StorageGroupName, Server Name.  Orphaned mailboxes are those that have no associated AD account. [link fixed 6/23] Tags: Exchange, mailboxes

Read more

Compare Active Directory and SCCM databases

Posted on June 22, 2010March 9, 2015 by Alan

There is no good way to see what systems are in Active Directory which are not in SCCM, and sometimes you may want to manually delete systems from SCCM that are no longer in AD. AD_SMS_Compare_and Cleanup.vbs does both.  It creates a temporary mdb file (whether or not Access is installed), and two reports on your desktop. …

Read more

Create search filter for Microsoft ISA (Proxy) server

Posted on June 7, 2010March 9, 2015 by Alan

The query interface for Microsoft’s ISA server can be tedious to use.  This script, CreateDestinationAndTimeFilter.vbs, creates a filter to be used by ISA server to capture all traffic to an IP during an interval of time. It was tested only with ISA 2004 Standalone Cached mode.  You can run it interactively or from command line, example:…

Read more

Zero-day exploit for Adobe Reader, Flash now in the wild

Posted on June 7, 2010March 9, 2015 by Alan

Zero-day exploit for Adobe Reader, Flash now in the wild. Again.

Read more

Search

Please Note

All the scripts are saved as .txt files. Newer files have a “View Script” button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use “Save Target As”. Rename file from Name_ext.txt to Name.ext.

To see a full post after searching, please click on the title.

PowerShell Scripts were written with version 3 or later.

https connections are supported.

All new users accounts must be approved, as are comments. Please be patient.  If you find a post error or a script which doesn’t work as expected, I appreciate being notified.  My email is my first name at the domain name, and you are welcome to contact me that way.

Tags

1E ACLS Active Directory ActiveDirectory ADSI Advanced Functions Audit Change Administrator Password COMObject Computer Groups DateTime Desktop DNS Excel FileScriptingObject Forms General GPO GPS Group Policy Hacks ISE Lockout logons NAV740 Nessus OU OU permissions Outlook Pick Folder Power PowerShell Powershell Scriptlets RDP SCCM schedule reboot Scripting Security Shell.Application user information VBA Windows Update WMI WordPress WPF

Categories

akaplan.com

  • Back to Home Page

Archives

Scripting Sites

  • A Big Pile of Small Things
  • Adam, the Automator
  • Art of the DBA
  • Ashley McGlone
  • Boe Prox
  • Carlo Mancini
  • DexterPOSH
  • Doug Finke
  • Jaap Brasser's Blog
  • JeffOps The Scripting Dutchman
  • Jonathan Medd's Blog
  • Keith Hill's Blog
  • LazyWinAdmin
  • Nana Lakshmanan
  • PowerShell Magazine
  • PowerShell Team Blog
  • PowerShell.org
  • PwrShell.net
  • Richard Siddaway's Blog
  • Ryan Yates' Blog
  • Skatterbrainz
  • The Lonely Administrator

SQL Site

  • Art of the DBA

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Alan's Blog | Theme by SuperbThemes

Terms and Conditions - Privacy Policy