Santhosh Sivarajan’s Blog

Santhosh Sivarajan’s Microsoft Technology Blog

Saturday, September 4, 2010

Identify PoweShell Version

Here are a few cmdlets/options which you can use to find out the version of PowerShell:

$psversiontable

image

$host.version

image

get-host|Select-Object version

image

You can also look at a following registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\PowerShellVersion

image

Technorati Tags: ,

Twitter Notify and Windows Live Writer Issue

You may have noticed that the Windows Live Writer keeps prompting for user name and password when you try to update Twitter.  This is because of the recent change in the authentication type.  Twitter has changed the authentication mechanism to OAuth (Open Authorization). You can read more info here: http://blog.twitter.com/2010/08/twitter-applications-and-oauth.html

So you need to get an updated version of Twitter Notify plug-in from the following location to resolve this issue:

http://gallery.live.com/liveItemDetail.aspx?li=6b2b5ffe-936a-4cb3-869c-c01de29de176&bt=9&pl=8

 

Technorati Tags: ,

Tuesday, August 31, 2010

Verify and Extend Windows 2008 Evaluation Period

As you know, you can evaluate the Windows Server 2008 without activating the product for 60 days.  You can verify the status of evaluation period by using the following command:

Slmrg /dlv

image


After the initial 60 days, you can reset (rearm)the evaluation period 3 times (180 days).  That means you can evaluate the Windows Server 2008 product for 240 days (180 + 60).    You can reset the evaluation period using the following command:

Slmgr -rearm

Wednesday, August 25, 2010

Exchange 2010 SP1

The Exchange team has released Service Pack 1 (SP1) for Exchange Server 2010. 

  • Flexible and reliable - Exchange Server 2010 gives you the flexibility to tailor your deployment based on your company's unique needs and a simplified way to keep e-mail continuously available for your users.
  • Anywhere access - Exchange Server 2010 helps your users get more done by giving them the freedom to securely access all their communications - e-mail, voice mail, instant messaging, and more - from virtually any platform, Web browser, or device.
  • Protection and compliance - Exchange Server 2010 delivers integrated information loss prevention, and compliance tools aimed at helping you simplify the process of protecting your company's communications and meeting regulatory requirements.

Download:

http://www.microsoft.com/downloads/details.aspx?FamilyID=50b32685-4356-49cc-8b37-d9c9d4ea3f5b&displaylang=en

Tuesday, August 24, 2010

Exchange Server 2010 SP1 Beta Help

The Exchange Server 2010 SP1 Beta Help file is available for download.  This download contains a standalone version of Help file.   You can download it from the following location:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2685440c-8e55-463a-ab96-102eddf8a7c4

Wednesday, August 18, 2010

Search Active Directory – PowerShell Script

This script searches user accounts from an input file (input.csv). If the user does not exist in the Active Directory Domain, it will be added to the output file (UserOutput.csv).

image

Download: http://www.sivarajan.com/scripts/SearchAD-1.txt

More Scripts:

http://www.sivarajan.com/scripts.html

http://gallery.technet.microsoft.com

Monday, August 16, 2010

Forefront Identity Manager (FIM) 2010 Capacity Planning Guide

The Forefront Identity Manager (FIM) 2010 Capacity Planning Guide is available for download. 

This document provides advice and considerations for organizations that are planning deployments of FIM 2010. The first part of the document describes multiple factors to consider as you begin to plan your FIM 2010 deployment. Topic subjects include FIM 2010 topology, hardware, policy configuration objects, scale, and load. The latter part of this document describes measurements and observations that were made during the initial deployment test scenarios. The main goal of this guide is to help you set up a test lab environment that will help you in preparing the deployment of FIM 2010 to a production environment.

Download:

http://www.microsoft.com/downloads/details.aspx?FamilyID=b991b665-a0fc-4e10-a498-49ddfa398577&displayLang=en

List Group Members in Active Directory–PowerShell Script

This script can be used to list group membership in Active Directory.

image

As you can see on the following screenshot, this script uses an input file called Glist.csv which contains all group names.

image

You will see the output on the screen as well as in the GroupDetails.csv file.

image

You can download the script from the following location.  Rename the file to .PS1

http://www.sivarajan.com/scripts/Group_Members.txt

Sunday, August 15, 2010

Exchange Server 2010 VHD

This download comes as a pre-configured VHD. This download enables you evaluate Microsoft Exchange Server 2010 for 60 days.

Download this fully configured virtual machine of the latest release of Exchange Server 2010. Evaluate the new capabilities of Exchange Server 2010, which helps you achieve new levels of reliability and performance by delivering features that help to simplify your administration, protect your communications, and delight your users by meeting their demands for greater business mobility.

  • This download comes as a pre-configured VHD. This download enables you evaluate Exchange Server 2010 for 60 days.
  • This trial software is intended for evaluation purposes only.
  • There is no product support for this trial. You are welcome to share your trial experience with others and to ask for advice by participating in the forums.

Download

http://www.microsoft.com/downloads/details.aspx?familyid=53F7382A-3664-4DE3-8303-31E514D69F02&displaylang=en#filelist

Saturday, August 14, 2010

Core Configurator 2.0 for Hyper-V

This Tool is a collection of PowerShell scripts which will help provision and configure a Windows Server 2008 R2  and Microsoft Hyper-V Server 2008 R2 Server core installation.

image

You can download the latest version from the following location:

http://coreconfig.codeplex.com/releases/view/36678

Wednesday, August 11, 2010

Active Directory Certificate Services Monitoring Management Pack

The Active Directory Certificate Services Monitoring Management Pack monitors service availability for System Center Operations Manager 2007 SP1 or R2. The Active Directory Certificate Services Monitoring Management Pack monitors service availability for Certification Authority (CA) servers running on a Windows Server 2008 SP2 or Windows Server 2008 R2 managed machines, including server core installations, and provides alerts for critical events.

You can download the Management Pack (MP) from the following location:

http://www.microsoft.com/downloads/details.aspx?FamilyID=c486307a-e136-434b-9748-6f6c8f44216b&displayLang=en

Tuesday, August 10, 2010

Deploying System Center Data Protection Manager 2010

Another Data Protection Manager 2010 guide from the DPM team.

This guide provides step-by-step instructions for installing, upgrading, and configuring DPM 2010, and includes an introduction to the DPM user interface, DPM Administrator Console. This guide also provides step-by-step instructions for troubleshooting, repairing, and uninstalling a DPM 2010 installation.

Download:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=4ea389ef-7626-48ac-bac2-66ef4173f167

Other DPM Guides and Whitepapers:

http://portal.sivarajan.com/2010/08/new-dpm-2010-whitepapers-and-datasheets.html

Sunday, August 8, 2010

Domain Controllers doesn't have Replicating Directory Changes In Filtered Set

Issue

In a windows 2008 mixed Active Directory environment, the DCDIAG reports the following error:

Starting test: NCSecDesc
         Error NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS doesn't have
            Replicating Directory Changes In Filtered Set
         access rights for the naming context:
         DC=ForestDnsZones,DC=santhosh,DC=lab

Cause/Resolution

You will see this error message when you promote a Windows Server 2008 domain controller in a Windows Server 2003 domain without preparing the AD Schema for RODC (read-only domain controller) using adprep /rodcprep command. If you do not plan to add an RODC to the forest, you can safely ignore this error message. Otherwise, run adprep /rodcprep to update the AD schema.

http://technet.microsoft.com/en-us/library/cc754463(WS.10).aspx

Saturday, August 7, 2010

New DPM 2010 Whitepapers and Datasheets

New DPM 2010 whitepaper and datasheets are available now.  

Whitepaper -   How to protect Exchange with DPM 2010 – Why and how to protect Exchange data with DPM 2010

Whitepaper -   How to protect SQL Server with DPM 2010 – Why and how to protect SQL Server data with DPM 2010

Whitepaper -   How to protect SharePoint with DPM 2010 – Why and how to protect SharePoint data with DPM 2010

Datasheet -      How to protect Hyper-V with DPM 2010 – How to protect Hyper-V with DPM 2010

Datasheet -      How to protect Windows Clients with DPM 2010 – Overview of capabilities for protecting Windows desktops and laptops (running Windows XP, Vista or Windows 7) with DPM 2010

Wednesday, August 4, 2010

Microsoft Forefront Server Protection Script Kit

The Microsoft Forefront Protection Server Script Kit provides multi-server management for Forefront Protection 2010 for Exchange Server and Forefront Protection 2010 for SharePoint.  This script kit includes a set of integrated Microsoft Windows PowerShell scripts that enable you to manage from one console multiple Forefront Protection servers deployed across your environment.

You download these PowerShell scripts from the following location:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=70a3fb33-a4bf-4a08-aa3c-cc05c81e4ee3

Tuesday, August 3, 2010

How to protect Exchange with Data Protection Manager (DPM) 2010

The DPM team has released a new whitepaper on “How to protect Exchange with Data Protection Manager (DPM) 2010”

You can download this whitepaper from the following location:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=be885d26-25e5-41ff-afc8-506414aed960

Monday, August 2, 2010

Updated TCPView V3.02

This major update to TCPView, a TCP/UDP endpoint viewing utility, adds endpoint send and receive statistics by leveraging ETW when TCPView is run with administrative rights. It also breaks ports and addresses into separate columns

TCPView is a Windows program that will show you detailed listings of all TCP and UDP endpoints on your system, including the local and remote addresses and state of TCP connections. On Windows Server 2008, Vista, and XP, TCPView also reports the name of the process that owns the endpoint. TCPView provides a more informative and conveniently presented subset of the Netstat program that ships with Windows. The TCPView download includes Tcpvcon, a command-line version with the same functionality.

Download: http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

Sunday, August 1, 2010

Search Users from Multiple Domains Using a Common Attribute–PowerShell Script

This script searches 2 Active Directory domains using a common matching attribute value (employeeID) and creates an out file with Source SamAccountName, Target SamAccountName and Name.  You can use this script if you are performing user migrations and merging user accounts during the migration.

image

Input file – Empid.csv – contains all employee IDs.

image

Output file – UserInfo.txt - The script generates a TAB delimited file output which contains Source SamAccountName, Target SamAccountName and Name files.

image

In this script I am using employeeID as the common attribute to search user account in the source (ss-infra.lab) and target (santhosh.lab) domains.

Download:

http://www.sivarajan.com/scripts/Search_Multiple_Domains_Using_EmpID.txt

Saturday, July 31, 2010

Active Directory Explorer v1.42

An updated version of Active Directory Explorer (1.42) is available for download now.

Active Directory Explorer (AD Explorer) is an advanced Active Directory (AD) viewer and editor. You can use AD Explorer to easily navigate an AD database, define favorite locations, view object properties and attributes without having to open dialog boxes, edit permissions, view an object's schema, and execute sophisticated searches that you can save and re-execute.

http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx

You can see my “Active Directory Snapshot Creation and Comparison Using AD Explorer” blog on the following link:

http://portal.sivarajan.com/2010/03/active-directory-snapshot-creation-and.html

Thursday, July 29, 2010

Hyper-V Update and HotFix List for Windows Server 2008 and 2008 R2

The following links shows the list of software updates and hotfixes for Hyper-V in Windows Server 2008 and Windows 2008 R2:

Windows 2008: http://technet.microsoft.com/hi-in/library/dd430893(en-us,WS.10).aspx

Windows 2008 R2: http://technet.microsoft.com/hi-in/library/ff394763(en-us,WS.10).aspx

Tuesday, July 27, 2010

SharePoint 2010 Forms Based Authentication Configuration Manager

Here is utility which you can use to configure FBA in SharePoint 2010. This tool can be used to update to the web.config files, central admin, and the STS virtual directory to support FBA web application.

You can download this tool from the following location:

http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-03-34-73-88/FBAConfigMgr.zip

Monday, July 26, 2010

Stop/Start or Enable/Disable Service - Credential – PowerShell Script

I have updated the Stop/Start or Enable/Disable Service script with Get-Credential command which will prompt you to enter a user name password rather than using the default logged in credential for the remote connection. 

image

You can download the updated script from the following location:

www.sivarajan.com

digicert - SSL Certificate Management & Troubleshooting Tool

Digicert is a certificate management tool which can be used to manage, troubleshoot, and fix the SSL certificates.   This utility provides the following features:

  • See all the SSL certificates installed on your server.
  • Easily view details for each certificate.
  • Fix intermediate certificate problems with one click.
  • Import and Export your certificates to make a backup or move them between servers.
  • Test a certificate to verify its private key is functional.
  • Install a certificate to a pending request.
  • Repair a certificate whose private key exists on the server but is not correctly associated with the certificate.

You can download this utility from Digicert’s site for free: https://www.digicert.com/util/

Sunday, July 25, 2010

Search AD Users and Computes – PowerShell Script

This script can be used to generate a list of Active Directory users and computes.

image

This script generates 2 output files ADUserInfo.csv and ADCompInfo.csv which contains user and computer information respectively.

image

Note: By default, an Active Directory search returns only 1000 items; if your domain contains more than 1000 users or computers, you need to set the $objSearch.PageSize value in the script ($objSearch.PageSize = 5000). 

You can download the script from the following location:

www.sivarajn.com

Tuesday, July 20, 2010

Microsoft System Center Configuration Manager 2007 R2 VHD

You can download a fully configured System Center Configuration Manager 2007 R2 VHD from the Microsoft site.  This download enables you evaluate Microsoft System Center Configuration Manager 2007 R2. 

Download:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=e0fadab7-0620-481d-a8b6-070001727c56

Sociable

About Santhosh Sivarajan

Santhosh Sivarajan is an Infrastructure and Security Consultant based out of Houston, TX. He works for Idea Integration as a Technical Architect. His certifcations inclue MCTS, MCSE (W2k3/W2K/NT4), MCSA (W2K3/W2K/MSG)MCP+I, CCNA and Network +. View my MS Virtual Business Card

The postings on this blog are provided "AS IS" with no warranties, and confers no rights