Browse by Tags

Related Posts
  • Blog Post: ISA Server logging

    In order to query the log, in addtion to the builtin query viewer of ISA, you can install SQL client tools, then use SQL Analyzer to connect to ISA-SERVER\MSFW (replace ISA-SERVER with your actual server name) and query the log. See the example here . The builtin query viewer of ISA can show only...
  • Blog Post: Exchange Server scripting

    * Exchange Server Message Tracking script examples: Get-MessageTrackingLog –EventID “RECEIVE” –MessageSubject “hello” –Start “01/12/2006 00:00:00” –End “28/12/2006 18:50:00” Get-MessageTrackingLog -EventID "RECEIVE" -MessageSubject...
  • Blog Post: Using script with AD database

    Courtesy: Nguyen Quoc Dung. Use these scripts if you want to list and execute all AD objects that are inactive for more than 60 days and count all Computers in AD grouped by OS, so you can know how many percentages of computers running XP or Windows 7. These information is extracted from AD Database...
  • Blog Post: Programmatically change phone numbers in Outlook

    First of all, you need to allow Macro execution by going to Tools/Marcro/Security, then restart Outlook Press Alt-F11 to open the Macro window. Below is the code skeleton for you to start with. Sub Outlook_Contact_Change() Dim folder As Outlook.folder Set folder = Session.PickFolder MsgBox folder...
  • Blog Post: Windows Server scripting - first steps

    ************ Server machines << note the number 1 at the end of netsh command, which is for the metric of the 192.168.1.10 gateway >> netsh interface ip set address name="Local Area Connection" static 192.168.1.1 255.255.255.0 192.168.1.10 1 netsh interface ip set dns name="Local Area Connection...
  • Blog Post: Hyper-V Scripting

    * Dung K Hoang (HP USA) blog: http://dungkhoang.spaces.live.com/default.aspx - VM creation script * PowerShell management library for Hyper-V * Hyper-V remote management configuration: http://code.msdn.microsoft.com/HVRemote
  • Blog Post: Scripting - Sample Users/Group creation in AD

    Set oRoot = GetObject(" LDAP://rootDSE ") Set oDomain = GetObject("LDAP://" & oRoot.Get("defaultNamingContext")) Set oOU=oDomain.Create("organizationalUnit", "ou=My Corp Users") oOU.SetInfo Set oUser = oOU.Create("User", "cn=Director One") oUser.Put "sAMAccountName", "director1" oUser.SetInfo...