Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » PowerShell V2   (RSS)

Sending Automated emails with Send-MailMessage, ConvertTo-HTML, and the PowerShellPack’s TaskScheduler module

On October 15th I released a large collection of scripts called the PowerShellPack .  The PowerShellPack has tons of PowerShell V2 scripts that can be used to do all sorts of fun and practical things.  Today, we’ll show how to use a module in

Advanced Debugging in PowerShell

Here is a collection of tips and tricks to debug PowerShell Read Up There is a 7-part series of “ Debugging Monad Scripts ” that Jon Newman wrote a few years ago that covers a lot of tips, including error handling, traps, tracing, and covers a lot of

Adding Custom Cmdlet Help for Providers

A new feature of Windows PowerShell 2.0 lets you write custom cmdlet help for Windows PowerShell providers. This blog explains how to do it. (The topic will also be covered in excruciating detail in MSDN, but we don't want you to wait.) What's a Provider?

Differences between the ISE and PowerShell console

Here is a collection of differences between the PowerShell_ise.exe and PowerShell.exe, as well as workarounds and suggestion if you need them (assuming we have them :)) Limited support for interactive console apps, try cmd.exe, then try cmd.exe /k cmd.exe

Debugging PowerShell Script Using the ISE Editor

Hi writers and consumers of buggy scripts. This post explains the basics of the Graphical Debugger in the ISE. There’s a lot of good stuff, with some tips and tricks. The debugger support got the cmdlets and user interface. The cmdlets include Enable/Disable/Get/Set/Remove-PsBreakpoint
Posted by PowerShellTeam | 8 Comments
Attachment(s): debugger.png

Finding a URL For File Transfer Cmdlets

I just posted a blog about our new File Transfer Cmdlets in which I artfully dodged a difficult question: How do you get the URL to do the file transfer? Sometimes you are going to have it but other times you’ll go to a website and it can be bloody impossible

Transferring (Large) Files Using BITs

Have you had a file copy fail? Does that drive you crazy or what? How about when it is a REALLY big file and it takes a couple of hours and JUUUUUST before it finishes something happens to interrupt the transfer and you have to start all over again. Does

Test-PSCmdlet

Everyone needs to get good with Advanced Functions – this is the easiest path to the best semantics for everyone. In previous posts we’ve shown how you can add a few simple attributes and get a TON of stuff for free. There is a LOT more to advanced functions.

PS> Dir –A D The Screencast

I decided to experiment with a screencast. This is my first and I have no idea what I’m doing so please forgive me if it sucks. I’d like to know whether you find this format useful or not and then specific feedback about how to make the screencast better

Extending and/or Modifing Commands with Proxies

There are so many powerful features in V2, it is hard to know where to begin. This one is going to blow to top of your head off when you understand what it enables you to do. In this blog, I talk about Proxy Cmdlets which is the ability for one Cmdlet

Diagnosing Here-Strings With PowerShell_ISE

James Brundage posted a blog entry How To Write a Console Application in PowerShell with Add-Type which used a here-string.   One user (lcr) copied and pasted the text and got the following error: Unrecognized token in source text. At line:1

Windows PowerShell CTP2 to CTP3 Conversion Guide

I write a lot of scripts, and, since I blog some of what I write, my home computer has been running Windows PowerShell CTP2 since it came out. Since CTP3 has a number of changes from CTP2, I've got to update my home script library to work with CTP3. While

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

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,
Posted by PowerShellTeam | 12 Comments
Filed under: ,

NY Times Delcares PowerShell to be 30% of the value of Windows 7 :-)

Wow - the NY Times is Johnny-on-the-spot with their analysis of the 10 best features of Windows 7 for IT Pros HERE . It turns out that PowerShell is responsible for 3 of them! Come review time, I'm telling my boss that we're responsible for 30% of the

PowerShell will be installed by default on Windows Server 08 R2 (WS08R2) and Windows 7 (W7)!

Yes that’s right, it’s not a typo. At today’s PDC, all attendees received a Pre Beta of WS08R2 & W7 (there are advantages to going to the PDC J ). Every version has PowerShell installed by default. The one exception is Server Core were we are trying
Posted by PowerShellTeam | 24 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker