Blog - Title

  • Windows PowerShell Blog

    PowerShell Tip: How to “shift” arrays…

    • 14 Comments
    It's fairly common in scripts to extract the first element out of an array then "shift" the remaining elements. Perl has a special shift operator for doing this as do many of the UNIX shells. PowerShell, however, doesn't have a shift operator built-in...
  • Windows PowerShell Blog

    Documenting TRAP and THROW

    • 14 Comments
    We pride ourselves about being a bit overboard when it comes to Error handling. That is why our sparse (non-existing?) documentation of THROW and TRAP handling is both ironic and sad. 10,000 apologizes for that, we'll fix it in the next release. In...
  • Windows PowerShell Blog

    Managing Active Directory with Windows PowerShell

    • 14 Comments
    MOW is now posting the details of his Managing Active Directory with Windows PowerShell demo that he performed at my TechEd talk. This is worthwhile for everyone to review. For the people at the talk, we covered a huge amount of data in a very short time...
  • Windows PowerShell Blog

    Hosting PowerShell in a GUI – the Movie

    • 14 Comments
    You've just got to stop and take 4 minutes to watch David Aiken's demonstration of how easy it is to host PowerShell in a GUI. Seriously, it is a 4 minute video! Even if you aren't a developer, it is worth looking at so you understand the concept and...
  • Windows PowerShell Blog

    MMS: What's Coming In PowerShell V2

    • 14 Comments
    MMS is going well. Yesterday Dan and Bruce presented an Introduction To PowerShell talk and then we all presented a What's Coming In PowerShell V2 talk. The slides are attached. Cheers! Jeffrey Snover [MSFT] Windows Management Partner Architect...
  • Windows PowerShell Blog

    Introducing the Azure PowerShell DSC (Desired State Configuration) extension

    • 14 Comments
    UPDATE 11/4/2014: For information on using PSCredential objects, please refer to this blog post . UPDATE 11/21/2014: For information on OS support, and other features, please refer to our release history . Earlier this year Microsoft released the Azure...
  • Windows PowerShell Blog

    Join-Object

    • 14 Comments
    Problem: How do I join two lists of objects into a single list? Or the equivalent: How do I join two CSV files into a single one? Note that joining makes sense only when the two lists or CSV files have something in common. Why do we need Join...
  • Windows PowerShell Blog

    Seeking Input on PowerShell Summit Sessions

    • 14 Comments
    One of the best things about PowerShell is its strong community. Events like the annual PowerShell Summit are a great way to get involved and learn more about PowerShell. As in the past, the PowerShell team will present several sessions at the PowerShell...
  • Windows PowerShell Blog

    How to Create an Object in PowerShell

    • 14 Comments
    Today someone in Xbox Live Operations (the folks that keep xBox Live alive and well) pinged me with a simple question about PowerShell with a complicated answer: “How do I create a class in PowerShell?” There’s two scenarios I find where...
  • Windows PowerShell Blog

    Detection logic for PowerShell installation

    • 14 Comments
    "How do we programmatically detect that PowerShell is installed ?" - This question has started coming up frequently as more folks (both internally and externally) have started to build applications with PowerShell support. As we approach Win7/W2K8-R2...
  • Windows PowerShell Blog

    My PowerShell_ISE Profile

    • 14 Comments
    [UDPATE - the original post had a script which did not work with CTP3 so I've replaced it with the correct version. Apologizes for the screw up. I've updated the attached file as well. - jps] I thought I would share my PowerShell_ISE profile with you...
  • Windows PowerShell Blog

    Scorecarding My 2009 Resolutions

    • 14 Comments
    A year ago I broke my habit and made a set of News Years resolutions and then published them on the team blog HERE.   Lee Holmes suggested I go back and review how I did on those.  Glug!  Let’s give it a go: Ship a great PowerShell V2,...
  • Windows PowerShell Blog

    Windows PowerShell in Bing Visual Search

    • 14 Comments
    Beginning today, there's a new way to look at Windows PowerShell cmdlets. You're used to looking at them this way: Or, perhaps, this way: But would you like to look at them this way? What if getting a list of the...
  • Windows PowerShell Blog

    Free PowerShell V1 Book From the Makers of PowerShell Plus

    • 14 Comments
    A number of you are already familiar with Dr Tobias Weltner.  Tobias has been involved with Windows scripting for many many years.  He was very active in the VBScript and WMI communities and then an very early adopter of PowerShell.  He...
  • Windows PowerShell Blog

    Announcing: Open Source PowerShell Cmdlet and Help Designer

    • 13 Comments
    http://www.codeplex.com/CmdletDesigner During the development of Windows 7, most cmdlet design and help authoring in Microsoft went through an internal tool called the “Cmdlet Designer.” The Cmdlet Designer makes it much easier for teams to concentrate...
  • Windows PowerShell Blog

    Advanced Functions and Test-LeapYear.ps1

    • 13 Comments
    Welcome to CTP3! There are just an amazing amount of really important features in V2 but the one I want everyone to start using ASAP is Advanced Functions. In CTP2 we called this cmdlets. We dropped that term in favor of taking the idea of a FUNCTION...
  • Windows PowerShell Blog

    Why Should I Test With PowerShell?

    • 13 Comments
    Today, on our internal discussion list, someone asked if there were any advantages to testing with PowerShell versus testing with C#. I was able to come up with 10 quick reasons to test with PowerShell: Being able to run command line programs easier within...
  • Windows PowerShell Blog

    PowerShell Eventing QuickStart

    • 13 Comments
    The second CTP of PowerShell V2 (CTP2) introduces another new feature called PowerShell Eventing. PowerShell Eventing lets you respond to the asynchronous notifications that many objects support. We didn’t get a chance to fully document these cmdlets...
  • Windows PowerShell Blog

    574 Reasons Why We Are So Proud and Optimistic About W7 and WS08R2

    • 13 Comments
    In my previous blog post , I mentioned that we were all very proud and optimistic about W7 and WS08R2. There are tons of reasons for this including how well the project has been run, the hardcore focus on quality and performance, the great new features...
  • Windows PowerShell Blog

    PowerShell Training Available Through Microsoft

    • 13 Comments
    A number of you have asked when Microsoft would be providing training for Powershell.   Apparently the answer is “NOW”.  I just came across this 3 day instructor led training class, Course 6434 “ Automating Windows Server 2008 Administration...
  • Windows PowerShell Blog

    PowerShellIDE

    • 13 Comments
    Check out the amazing PowerShellIDE at http://PowerShell.com . Many of you probably already know Dr Tobias Weltner from his product SystemScripter http://www.scriptinternals.com . The PowerShell team has been talking to Tobias on and off for years now...
  • Windows PowerShell Blog

    Windows PowerShell and the “PowerShell Worm”

    • 13 Comments
    Full Article is here: http://blogs.msdn.com/powershell/archive/2006/08/03/687838.aspx A “PowerShell Worm” has recently been reported by several antivirus companies and some news organizations. There has been some confusion and concern around the classification of this malicious script as a worm as well as questions about the risk. It is important to note that the PowerShell Worm will not work and cannot infect Windows PowerShell in its default configuration. This is a proof-of-concept virus whose “Worm” replication mode is just a simple file copy and could have been implemented in any language which supports copying files. The fact that the worm is written in PowerShell rather than another scripting language or even as an executable has actually made it even harder for this virus to spread since the additional security features around PowerShell scripts result in many additional steps for the user to perform before an infection can take place....
  • Windows PowerShell Blog

    Writing and Reading info from Serial Ports

    • 13 Comments
    PSMDTAG:FAQ: How do I read/write data from a Serial Port? Writing to a Serial Port PS> [System.IO.Ports.SerialPort]::getportnames() COM3 PS> $port= new-Object System.IO.Ports.SerialPort COM3,9600,None,8,one PS> $port.open() PS> $port...
  • Windows PowerShell Blog

    The new TabExpansion feature...

    • 13 Comments
    One of the nicest new features in the latest drop of Windows PowerShell is enhanced tab-completion. We now tab-complete properties on variables and parameters on cmdlets in addition to the old filename completion. But that's not the interesting part....
  • Windows PowerShell Blog

    Exposing the Power of .NET in a Admin-friendly way

    • 13 Comments
    One of our primary goals for Monad was to: "Expose the power of .NET in an Admin-friendly way" . The challenges of systems administration are large and growing at the same time organizations are under ever more pressure to reduce costs and do more...
Page 5 of 39 (966 items) «34567»