Monad

Monad Technology Blog

  • Monad

    Debugging Monad Scripts, Part 4: set-mshdebug

    • 4 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

    Debugging Monad Scripts, Part 5: Preferences and Commandline Options

    • 5 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 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

    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

    Monitor the Event Log

    • 2 Comments
    Administrators often want to monitor the event logs and look for specific error conditions. The most capable way to do this, of course, is to use a dedicated monitoring application such as Microsoft Operations Manager , or get down-and-dirty with the...
  • 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

    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

    Debugging Monad Scripts, Part 6: Trace-Expression, Breakpoint Script

    • 4 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

    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

    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

    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

    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

    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

    Please point your RSS readers to http://blogs.msdn.com/PowerShell/

    • 3 Comments
    Along with our new name comes a new team blog: http://blogs.msdn.com/PowerShell/ . Please subscribe to that blog instead -- as this blog will now go dark. Lee
  • Monad

    Using-Culture -Culture culture -Script {scriptblock}

    • 5 Comments
    One of the traditional challenges with scripting is dealing with different CULTURES. Imagine the case where you are writing a script and you'll have to parse datetime string from different cultures. If it was just one culture, you could set the process...
  • 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

    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

    Debugging Monad Scripts, Part 7 (Final): How Traps Work

    • 2 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

    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

    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

    .NET types

    • 3 Comments
    In response to the recent Days till Xmas post, applepwc asked the question > where can I find more ".NET types"?I mean is there a list of ".NET type" available in monad? Excellent question but there are a number of aspects to it so let's break it...
  • 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

    Invoking Scriptblocks from C#

    • 1 Comments
    Last time somebody asked for an example of a C# method that took a scriptblock. First of all, there’s one very important thing you have to know about scriptblocks as they are currently implemented. They can’t be invoked outside of a runspace. Any attempt...
  • 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...
Page 1 of 3 (60 items) 123