Monad

Monad Technology Blog

  • Monad

    Windows PowerShell (Monad) Has Arrived

    • 39 Comments
    I just got out of Bob Muglia's keynote speech where he formally announced Windows PowerShell (previously known as Monad). The key things he announced are: Monad (MSH) has a new name: Windows PowerShell Windows PowerShell will RTW (Web download...
  • Monad

    Monad breaking change announcement: Approved verb names enforcement.

    • 30 Comments
    In order to prevent a mass usability nightmare with developers picking their own improvised cmdlet verbs, the Monad team, based on customer feedback, decided to enforce the use approved verbs. The idea is to provide a more uniform and consistent...
  • Monad

    Why did you do that? $VAR/ {} / Weak Intellisense

    • 12 Comments
    I strongly encourage people to let us know where we could be doing better and to let us know if we are getting into the weeds. I believe that being open to such bad news is core to the the virtuous cycle of self improvement so such feedback provides opportunities...
  • Monad

    Comparative Examples in MSH and KSH

    • 11 Comments
    M ost shells (such as Windows CMD.EXE and the UNIX shells SH, KSH, CSH, and BASH) operate by executing a command or utility in a new process, and presenting the results (or errors) to the user as text. Text-based processing is the way in which system...
  • Monad

    Support for Existing apps in Monad

    • 11 Comments
    Monad provides strong support for existing apps and technology. If you use native cmdline exes, vbscripts, batch files, perl scripts etc to manage and maintain windows, you can pretty much use them the same way from monad as you would from cmd.exe. ...
  • Monad

    Base64 Encode/Decode a string

    • 10 Comments
    Today I came across http://scripts.readify.net/ . This sight is focused on Monad and MSH and is starting a collection of scripts at: http://scripts.readify.net/Scripts.aspx . You should visit their site and let them know what type of scripts would be...
  • Monad

    Mshsnapin (part 1): usage of mshsnapin commands.

    • 9 Comments
    Latest beta3 release of monad added the capability of adding/removing cmdlets and providers in current running session through mshsnapins. Mshsnapin is a logic group of cmdlets and providers can be manipulate as a unit in monad engine. Following commands...
  • Monad

    Duplicate Files

    • 8 Comments
    Need a way to check if two files are the same? Calculate a hash of the files. Here is one way to do it: ## Calculates the hash of a file and returns it as a string. function Get-MD5([System.IO.FileInfo] $file = $(throw 'Usage: Get-MD5 [System...
  • Monad

    Image Conversion

    • 8 Comments
    I needed to convert some images from bmp to gif for a web site I've been working on. I figured that I could script this pretty easy - here's what I came up with. It's a little more general than I needed, and I thought it might be useful to others. Anyway...
  • Monad

    Debugging Monad Scripts, Part 3: Write-Host

    • 8 Comments
    Did your command or script fail and/or report an error? We hope to have a proper script debugger in a future version, but until then, MSH has some handy features to help you figure out what went wrong. In this series of blog entries, I will present some...
  • Monad

    How does Match-String with with Pipelines of objects?

    • 8 Comments
    In our newsgroup (Microsoft.Public.Windows.Server.Scripting) , Vasu asked about how match-string works in pipelines: Here is what I observe: 1. MSH C:\> get-alias ..truncated.. Alias ri remove-item Alias rni rename-item ..truncated.. 2. MSH C...
  • Monad

    Monad cmdlet cleanup update

    • 7 Comments
    As Jeff re y mentioned in an earlier Blog “ Finding which parameters are used the most ” The Monad team is in the process of cleaning up our cmdlets to promote a more consistent user experience . The following two areas which we are focused on might have...
  • Monad

    Debugging Monad Scripts, Part 1: Teminating vs. Non-Terminating, ErrorRecord

    • 7 Comments
    Did your command or script fail and/or report an error? We hope to have a proper script debugger in a future version, but until then, MSH has some handy features to help you figure out what went wrong. In this series of blog entries, I will present some...
  • Monad

    Minding Path Inputs in a Cmdlet

    • 7 Comments
    When I was a Monad neophyte, I was asked to write a Cmdlet taking a file path as a parameter. A big mistake I made was not keeping in mind that in Monad the FileSystem provider was just one of the many providers. (This makes Monad different from many...
  • Monad

    Using Monad for logon scripts

    • 6 Comments
    In case you were wondering, yes, you can use Monad for your logon scripts. You can't just assign a .MSH file as a logon script however, since only file types with file associations work as logon scripts. Monad installation doesn't create a file association...
  • Monad

    PINVOKE or accessing WIN32 APIs

    • 6 Comments
    In the very early days of Monad, we focused on a world where everyone would publish Cmdlets and providers. Cmdlets and providers were designed around providing the best user experience. They provide the right, high-level, task-oriented abstractions that...
  • Monad

    Getting MSDN help urls for .NET BCL types and Members

    • 6 Comments
    Often when playing with .Net objects in Monad, I need to use MSDN class library reference to learn how to use a particular type and its members. Now, I have my bookmarks and favorite search engine but I always thought it would be cool if get-member cmdlet...
  • Monad

    Debugging Monad Scripts, Part 2: $error

    • 6 Comments
    Did your command or script fail and/or report an error? We hope to have a proper script debugger in a future version, but until then, MSH has some handy features to help you figure out what went wrong. In this series of blog entries, I will present some...
  • Monad

    Days till Xmas

    • 6 Comments
    My daughter loves christmas. She often asks me, "how long is it till christmas?" The problem with that is that I'm one of those people that can barely remember what year it is much less the date. Well, it is one thing to be a flawed person and its another...
  • Monad

    How to Access or Modify StartUp Items in the Window Registry

    • 6 Comments
    Some applications launch themselves whenever you start your computer and load Windows. In most cases, this is the desired behavior. However in some instances, malicious programs such as spyware, Trojans, worms, viruses load in this manner and hijack your...
  • Monad

    Verb-Noun vs Noun-Verb

    • 6 Comments
    Kurt asked the question "why not Noun-Verb vs Verb-Noun" in his post: http://blogs.msdn.com/monad/archive/2006/02/16/533522.aspx#574708 There are lots of answers to this some better than others. Let me rattle off a couple of them: VMS DCL/AS400...
  • Monad

    Is it safe to use ALIASES in scripts?

    • 5 Comments
    In our newsgroup (Microsoft.Public.Windows.Server.Scripting) , Mark Ayers asked the question: > Shouldn't best practice for scripts be full command name? The answer is YES, NO, and MAYBE. YES - Full names provide the most readable experience...
  • Monad

    Monad Beta 2 Available

    • 5 Comments
    We've just uploaded the new release to Download Center and the bits are now live! x86: http://go.microsoft.com/fwlink/?linkid=51989&clcid=0x409 x64: http://go.microsoft.com/fwlink/?linkid=52472&clcid=0x409 Please direct any questions or comments...
  • Monad

    MshObject and Methods that take object

    • 5 Comments
    Every once in a while people ( including me) run into trouble calling methods that take object. Why? Well, as I told you earlier objects in MSH are wrapped by an invisible MshObject. As it turns out that this invisible object is not always so invisible...
  • Monad

    Welcome to Monad Team Blog

    • 5 Comments
    Welcome to Monad Team Blog. We will posting information related to Monad in this blog. Feel free to send us your comments to make this blog useful to you. -Arul
Page 1 of 3 (60 items) 123