Our Exchange admin always complains about not having enough space. He remarked to me that one of the space problems comes from users having calendar items with large attachments. He wanted an easy way for users with maxed out mailboxes to identify this easy source of size reduction. Outlook Calendar Items with Attachments.vbs should be run…
Author: Alan
Check User or Computer Group membership in logon script
As an administrator, we put users into user groups all the time. In my experience, however, we rarely put computers into computer groups. Computer groups are a great way to control the user’s logon script and batch installations, especially for patch restricted or other special systems. There are a number of tools that allow you to check…
Force Local Logoff
This script, ForceLocalLogoff.vbs I use with SMS/SCCM for force local logoff prior to running other scripts. Rename to .vbs.
Kindle? Not for me
I have been looking at eBook readers, and have decided that now is not the time to buy. The new Kindle DX (link purposefully omitted) does not change my mind. In my view, eBooks are not a value added item. Why? Because in my home they are competing against the public library, where books, and many audiobooks are…
Logged on User
There are many ways to get the current logged on user. This one is does not rely on any third party tools. It has some things that I like to uses but do not see frequently. You will see the setlocal command, which limits the environment change to the batch file. I have prompted input…
LogParser
Microsoft’s brief description of LogParser is this: “Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows® operating system such as the Event Log, the Registry, the file system, and Active Directory®.” …
PSExec, an admins best friend
Some programs are indispensable for an admin’s tool kit. PSexec is one of those tools. It allows you to execute command on a remote computer (similar to RConsole). Originally a SysInternals tool, it is now available from Microsoft at http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx. This batch file will use PSExec to run netstat on a remote system and return the open…
Alan’s Favorites
I added categories called “Alan’s Favorites” , vbscript and HTA to help navigate through my site. I have gone back to edit some of the scripts to recategoirize them and to clean up some of the older posts.
Nt Security Event Log Properties
As a security guy, I am often asked to find the logons or access based on the NT Security event log. The size and settings of these are critical. This script, Security Log properties.vbs gives you a quick report on the Security event log settings. Rename from .txt to .vbs Tags: Security+Log, Event+Log
Using DNS servers with DHCP
There is a good TechNet article about how to permit your DHCP servers to update DNS. One of the things recommended is that the list of DHCP servers be placed in the DNSUpdateProxy builtin group. In a prior post I referred to a script that got a list of DHCP servers. I found that one to be inadequate…