Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Jeffrey Snover   (RSS)

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

A Module to Create Modules and Advanced Functions

[1/3/09 Update - the original link to the attachment containing this code was broken but is now fixed. Sorry. jps] It is hard to overstate how important Modules and Advanced Functions are. If you are a PowerShell user - you need to take the time to learn
Posted by PowerShellTeam | 6 Comments
Attachment(s): module.zip

PowerShell_ISE Scripting: ConvertTo-Comment

Let me combine a couple of things. 1) When I posted my PowerShell_ISE profile, I included a function Goto-Line that is now builtin to the ISE so I reposted the blog with this function commented out. I commented it out instead of deleting it because I

My Powershell_ISE Profile Part 2

I messed up. First let me remind you that what you have are CTP bits and that CTP bits are subject to change. It turns out that we are tweaking the PowerShell_ISE object model and that the profile I posted does not work with CTP3. I’m sorry for that screw

My PowerShell_ISE Profile

[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.

PowerShell ISE Can Do a Lot More Than You Think

In CTP2, we released the first version of PowerShell_ISE. It was VERY rough and primitive and we came close to deciding to wait to CTP3 to ship it. We decided to go head and ship it in CTP2 because the team got it to critical mass and we wanted to let

PowerShell v2 Pipelining in 73 (make that 53) Characters

I started using Twitter and saw a request from Thomas Lee for help about pipelining in CTP3. The thing about Twitter is that the messages have to be tiny so I wasn’t sure I could answer using it. It turns out I can solve this problem AND give a usage

PowerShell V2 – External MAML Help

As you’ve probably picked up by now – Advanced Functions are super important. We’ve been showing a bunch of scripts that have embedded help using comments and dot-tags. Let me take a second and drill into this. We believe that PS will be used in a wide

Experiment with PowerShell V1 Without Installing It

If you are reading this, you probably already use PowerShell but you might know someone that has resisted installing it and trying it out. Thomas Lee posted a blog HERE with a pointer to a Virtual PowerShell lab on TechNet. This allows you to Terminal
Posted by PowerShellTeam | 2 Comments
Filed under:

PowerShell V2: ParameterSets

One of the great benefits of PowerShell V2 Advanced Functions is the ease in which you can support parametersets. ParameterSets are, well, different SETS of valid parameters. For instance you can say: Get-Process -id 0 Get-Process -Name *ss Those are
More Posts Next page »
 
Page view tracker