Arul Kumaravel's WebLog

Windows PowerShell technology blog

Blog - About

About Arul Kumaravel's WebLog

  • Arul Kumaravel's WebLog

    ADSI Scripting with Windows PowerShell.

    • 5 Comments
    We have made significant improvements in ADSI support in the upcoming release of Windows PowerShell RC2. In this and future blogs, I will talk about how to use Windows PowerShell for ADSI Scripting. Windows Scripting Guide 2000 provided scripting examples...
  • Arul Kumaravel's WebLog

    Msh Language Quick Start

    • 23 Comments
    MSH LANGUAGE QUICK START Arithmetic Operators (also see Unary and String operators) + addition, concatenation - subtraction * multiplication, string repetition / division % modulus Array Comparison Return all elements equal to 3: 1,2,3,5,3,2 –eq 3 Return...
  • Arul Kumaravel's WebLog

    Monad cheat sheet for cmd.exe users

    • 5 Comments
    Many people in windows environment are cmd.exe users. This cheat sheet will help these users to move to Monad shell easily by showing cmd.exe equivalents in Monad. I will keep this blog uptodate as I discover commands for which users are struggling...
  • Arul Kumaravel's WebLog

    Modifying Directory Service Objects with Windows PowerShell

    • 5 Comments
    Modifying an object is equivalent to writing an attribute to an existing object in Active Directory. If an attribute contains a value, modifying it will clear the existing value and replace it with a different value. Typically, the type of modification...
  • Arul Kumaravel's WebLog

    Monad Beta1 Released

    • 3 Comments
    After nearly nine months, the Monad team has released Beta 1 of the Microsoft Command Shell. Although initially promised for release at the end of the month, the Monad team has worked hard to release Beta1 to BetaPlace ahead of schedule! To download the...
  • Arul Kumaravel's WebLog

    Reading Attributes of Directory Service Objects

    • 4 Comments
    The previous blogs described how to create an OU, a user account, and a group, and set the description attribute on each of these objects. The next common task is to read an attribute of each object. Reading an Active Directory object’s attributes involves...
  • Arul Kumaravel's WebLog

    Monad Beta3 available.

    • 1 Comments
    I wish everyone happy new year. We had a fantastic 2005 in Monad team. We delivered multiple betas to our customers and we finished the year with our feature complete milestone. Monad beta3 which contains our feature complete bits is ready. You...
  • Arul Kumaravel's WebLog

    How Can I Determine the Beginning and Ending Date of the Previous Month?

    • 0 Comments
    Hey, PowerShell! Given a specific date, how can I determine the beginning and ending date of the previous month? In other words, given 8/11/2005, I need to get back 7/1/2005 and 7/31/2005. Powershell provides access to .Net framework. We can use .Net...
  • Arul Kumaravel's WebLog

    Where to get Monad?

    • 3 Comments
    Monad is currently in development. A preview is available for those who are interested. To get Monad Preview 1. go to http://beta.microsoft.com 2. login using guestid mshPDC 3. You will get information to download the monad bits.
  • Arul Kumaravel's WebLog

    Difference between $() and ()

    • 2 Comments
    Today, I was writing some script to play around hash declaration. My line of script to declare hash was MSH>$a = @{(‘foo’ + ‘bar’) = 5)} MSH>$a.foobar 5 MSH> Then, I tried MSH>$a = @{$(‘foo’ + ‘bar’)=5} MSH>$a...
  • Arul Kumaravel's WebLog

    Free English version of Windows PowerShell Course book

    • 0 Comments
    Frank Koch has translated his Windows PowerShell course book into English and made it available for free. You can get the free book here Arul Kumaravel Windows PowerShell Development Manager Microsoft Corporation.
  • Arul Kumaravel's WebLog

    What is Monad ?

    • 5 Comments
    Monad is the new command line shell developed by Microsoft. Goal of Monad is to deliver an extensible scripting environment that is secure,interactive, programmable and production-ready to enable consistent and reliable automation of administrative tasks...
  • Arul Kumaravel's WebLog

    COM support in Monad

    • 1 Comments
    I was reading Tony’s Blog MSHFORFUN about using Microsoft Text to Speech engine to output using voice. He created an Interop assembly for Microsoft TTS com object and used the resulting .Net assembly to do voice output. Monad provides great support for...
  • Arul Kumaravel's WebLog

    How Can I Determine the Date for the Friday in a Given Week?

    • 1 Comments
    Hey, Powershell! Given a date, can a script tell me the date that the Friday for that week occurs? Here’s a script that – given a date – will report back the date that the Friday of that week falls on: param ([system.datetime]$date = $([system.datetime...
  • Arul Kumaravel's WebLog

    Welcome to Windows PowerShell (Monad)

    • 5 Comments
    In his keynot address at MMS 2006, Bob Muglia, Senior Vice President, announced the product name for Monad. Monad will be called Windows PowerShell . We are also announcing the public availability of our RC1 drop in the download center. You can get...
  • Arul Kumaravel's WebLog

    Announicing public availability of Monad Beta

    • 0 Comments
    Folks, Monad beta is now publicly available as part of WinFx beta release. You can get this beta at the following location http://www.microsoft.com/downloads/details.aspx?FamilyID=23a22468-5807-4ff7-a363-ce6fe69b8f04&DisplayLang=en
  • Arul Kumaravel's WebLog

    How Can I Determine the Day of the Week?

    • 0 Comments
    Hey, PowerShell! I have a script that does certain management tasks based on the day of the week. I know how get the date in a script, but how can I tell whether it’s a Monday or a Tuesday or whatever? This is very easy to do with Syste.Datetime class...
  • Arul Kumaravel's WebLog

    New PowerShell Bloggers Jim Truher, Abhishek Agrawal

    • 0 Comments
    We have two new PowerShell Bloggers. Jim Truher is program manager in our team. He is one of co-designer of PowerShell scripting language. You can read his blog at http://spaces.msn.com/jtruher Abhishek Agrawal is test lead in our team. He...
  • Arul Kumaravel's WebLog

    How Can I Delete All the Duplicates in a Set of Processes But Keep the Oldest Process?

    • 2 Comments
    This blog corresponds to the scripting guy column with the same title. I am posting the script for doing the same with PowerShell 1: $processes = get-wmiobject -query "Select * from win32_process where name = 'notepad.exe'" 2: 3: if ($processes.count...
  • Arul Kumaravel's WebLog

    New community project created for Windows PowerShell Extensions

    • 0 Comments
    We have worked with CodePlex team to create a new Community Project for Windows PowerShell. Keith Hill, MVP for Windows PowerShell, will be the project coordinator. Microsoft employees won't be able to participate in the community projects directly due...
  • Arul Kumaravel's WebLog

    Monad on Hanselminutes Show

    • 0 Comments
    Hanselminutes is a weekly audio talk show with noted web developer and technologist Scott Hanselman and hosted by Carl Franklin. In this week’s radio show, Hanselman talk about Monad. Click here to listen to the show. He has also written a blog on Monad...
  • Arul Kumaravel's WebLog

    Training course for Windows PowerShell from DesktopEngineer.com

    • 0 Comments
    I came across this recently,DesktopEngineer.com has acourse on Windows PowerShell for Administrators. You can visit their website at http://desktopengineer.com/ps310 for more details.
  • Arul Kumaravel's WebLog

    How to determine Monad version?

    • 1 Comments
    if you are running Monad and would like to determine the version of Monad you are running then you can determing the version by doing the following MSH>$host.version Major Minor Build Revision ----- ----- ----- -------- 1 0 224 0 This...
  • Arul Kumaravel's WebLog

    Monad WebCast

    • 1 Comments
    Jeffrey Snover, our architect, is going to give a web cast on Monad. Please mark your calendars and attend these events. You will get tons of information on Monad TechNet Webcast: Next Generation Command Line Scripting using Monad (Part 1 of 2)...
  • Arul Kumaravel's WebLog

    Windows PowerShell blog for French users

    • 0 Comments
    Jacques Barathon has created a new Windows PowerShell blog . What is unique about this blog is that it is entirely in French. If you are on the French speaking administrator who is reluctant to try out Windows PowerShell due to lack of documentation then...
Page 1 of 2 (32 items) 12