PowerShell Team

Automating the world one-liner at a time…

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 wanted to provide an example of how to do it. 2) Vivek Sharma left a comment asked ...

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 up. You can use the amazing PowerShell_ISE to fix this problem.  All...

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.  I haven't done anything to clean this up or document it which I ...

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 Serve into a hosted virtual machine and kick the tires. In other words you get to run ...

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 range of; scenarios: simple one liners; personal ad hoc scripts; scripts you share ...