≡ Menu
Write a Haiku for Microsoft Windows Server 2008 and Win prizes.
The software giant, Microsoft has recently launched a contest for writing a Haiku for its successful product, “Windows 2008 Server R2”. And the winner of this content will get a “Home theater system” and “Xbox 360 Elite”.
All you need to do is to write a Haiku. So hurry up and write yours at www.r2haiku.com. And don’t miss to down load the free Ebook on “Introduction to Windows Server 2008 R2” from the website (look at bottom right corner of www.r2haiku.com page).
All the best.
Happy Learning…,
S
itaram Pamarthi
{ 0 comments }

Recover Active Directory objects using PowerShell

I am an avid fan of quest products when it comes to Active Directory restoration. Their products make you to restore objects in active directory without taking the domain controller offline to DSRM mode. There are many products available in market but it is efficient than other in my opinions. The purpose of writing this post is not give publicity for Quest product but I want to take you through couple of videos from Quest which shows how seamless it is to restore objects from active directory. These videos are completely for Windows 2008 R2 where “Recycle bin” option feature is functional. Refer to Technet if you want to know more about “Recycle bin” optional feature in Active Directory 2008 and “Active Directory Recycle Bin Step-by-Step Guide”.
Recover single object using Quest AD Cmdlets:
Recover OU structure using Quest AD Cmdlets:
You can also do this with PowerPack from PowerGUI which is a cost effective solution compared to Quest products. This PowerPack helps you to recover deleted objects from Active Directory recycle bin only but not the items which enterd tombstone — that means it is out of recyclebin.

Visit this blog entry to know more about the PowerPack for recovering AD. Below video give you the procedure for operating the PowerPack.

Happy Learning..,
Sitaram Pamarthi
{ 0 comments }

Confirmed: Windows 7 Zero-day Bug

As per the source(www.cio.in), Microsoft has confirmed first bug with Windows 7. A Canadian researcher, Mr. Laurent Gaffie is the first person who reported this bug. As per Gaffie’s blog entry, this bug triggers a infinite loop which can make the windows 7 system unusable. This bug can be triggered via SMB or through IE.
One can read about this bug and the advisory at Gaffie’s Blog
Happy Learning…,
Sitaram Pamarthi
{ 0 comments }

Inside Windows Vista Kernel

While searching for some other stuff, I came across below interesting articles about Internals of Windows Vista Kernel. I felt it will be handy for troubleshooting any OS/Application related issues that you experience in Windows Vista/Windows 7(I am thinking there won’t be much change in Win7).
Happy Learning…,
Sitaram Pamarthi
{ 0 comments }

Copy file/Folder path easily in Windows 7

Windows 7 brought lot of features for users and easy options for administrators. If you ever want to copy a file/folder patch in windows 7, just hold SHIFT button and right click on that file/folder. It will give an option called “Copy as Path”, select that and it takes the file path into windows clip board and paste it where ever you want. It pretty pretty easy than conventional method of copying from address bar(or from file/folder properties)

windows-7-copy-path
Do you know a tip/trik in Windows 7 and want to share that? Put it here it in comments with a link to your blog.

{ 0 comments }


I have seen system administrators who feels bending the CPU box or rebooting the system are only ways to find out serial number of a machine. In situations where a remote systems serial is required, they do nothing but reaching that machine physically.

Enough doing hard work and be smart, guys; here is a small powershell code which helps you to get serial number of local or remote machine without moving your feet.

PS C:> (Get-WmiObject -computer COMP-A -cl win32_BIOS).SerialNumber
ABCDEFG

Replace COMP-A with the computer name you want to query and needless to say that you need admin rights to execute this command.

Post in comments section here if you have any questions.

Happy Learning,
Sitaram Pamarthi

{ 1 comment }

Who wrote Notepad?


Back in the late 1990s, some large Internet association conducted a survey in order to bestow awards in categories like Best Web server and Best Web browser, and one of the categories was Best Web authoring tool.

We didn’t find out about this until the organization contacted the Windows team and said, “Hi, we would like to present Microsoft with the award for Best Web authoring tool. Please let us know who the author of Notepad is, so that we can invite them to the award ceremony.”

Yup, Notepad won the award for Best Web authoring tool.

The mail went out to the team. “Hey, does anybody remember who wrote Notepad?”

Even a decade ago, the original authorship of Notepad was lost to the mists of time. I think the person who ended up going was the original author of the multi-line edit control, since that’s where the guts of Notepad lie.

[souce : msdn blogs]

{ 0 comments }

PowerShell: Text to Voice conversion


Today, while playing with PowerShell, I came across a interesting COM object “SAPI.SpVoice”. Using this object you can convert given text stream to voice.

Sample script:

[PS] C:>(new-object -com SAPI.SpVoice).speak(“Sitaram Pamarthi”)

Usage:

Copy this sample script into powershell window and switch ON your speakers/head phones. You can listen to the voice conversion of text you entered. You can explore more options of this by going through it’s properties and methods, (new-object -com SAPI.SpVoice) | get-member.

Happy Learning…,
Sitaram Pamarthi

{ 1 comment }

Free Exchange 2010 ebook for download


The first Exchange 2010 ebook I have seen.! I had glimpse at the book and it has topics a general Exchange admin look for and a good stage to start the journey with Exchange 2010.

This was written by a member (Jaap Wesselius) in http://draft.blogger.com/www.sysadmin-network.com and published through redgate.

Here is the TOC if you want to take a look and download the complete book from reg-gate site

Chapter 1: Introduction to Exchange Server 2010
1.1 Getting Started
1.2 What’s been removed from Exchange Server 2010?
1.3 What’s new in Exchange Server 2010
1.4 Exchange Server 2010 and Active
1.5 Exchange Server coexistence
1.6 Exchange Server 2010 Server roles
1.7 Summary
Chapter 2: Installing Exchange Server 2010
Chapter 3: Exchange Server 2010 Coexistence
3.1 Coexistence with Exchange Server 2003
3.2 Installing Exchange Server 2010 in an Exchange Server 2003 environment
3.3 Coexistence with Exchange Server 2007
3.4 Installing Exchange Server 2010 into an Existing
Exchange Server 2007 Environment
3.5 Summary
Chapter 4: Managing Exchange Server 2010
4.1 The Exchange Management Shell
4.2 The Exchange Management Console
4.3 The Exchange Control Panel (ECP)
4.4 Role Based Access Control (RBAC)
4.5 Archiving and Compliancy
4.6 Summary
Chapter 5: High Availability in Exchange Server 2010
5.1 High Availability in Exchange Server 2010
5.2 Exchange Server Database technologies
5.3 High Availability in Exchange Server
5.4 High Availability on other Server Roles
5.5 Summary
Summarizing Exchange Server 2010 – A Practical Approach

Happy Learning…,
Sitaram Pamarthi

{ 0 comments }

PowerShell: Check if a file is read only or not

This small powershell script checks if a given file is read-only or not.
 $status = Get-ChildItem c:temptest.txt
 If ($status.isreadonly)
 {
 Write-host -b yellow -f red “The file, $status.fullname is a read-only file”
 }
Else
{
Write-host -b yellow -f red “The file, $status.fullname is a read-only file”
}
If you want to make a file as readonly, use the below code
$status = Get-ChildItem c:temptest.txt
$status.set_isreadonly($true)
If ($status.isreadonly)
{
Write-host -b yellow -f red “The file, $status.fullname is a read-only file”
}
Else
{
Write-host -b yellow -f red “The file, $status.fullname is a read-only file”
}
If you want to remove the read-only a ttribute just change the parameter of set_isreadonly method to $false.
Happy Learning,
Sitaram Pamarthi
{ 2 comments }