|
Jun
17
Written by:
Karl Prosser (MVP)
6/17/2008 9:15 PM
So I've loved portable apps from time memorial and have valued making my own apps as portable as possible - XCOPY friendly. I've valued this over some fancy installer. But what about PowerShell? Why can't PowerShell be portable. Its the sort of tool that begs to be portable. Admins want a power tool, like powershell to be portable, to be able to be run on any computer without installing anything (changing ,even contaminating the state of the computer). Admins don't want to have to worry about installing prerequisites such as dotnet 2.0 everywhere and neither do I. I want something that can be self contained , where I can run PowerShell v1 and v2 side by side if I choose, and as a builder of PowerShell hosts, I want to be able to embed, or distribute the PowerShell runtime along with my app, just like I can with a multitude of dotnet libraries and components.
Well is this possible. Yes, I've done it. In this blog post I'll show some screenshots and a video about it, and talk about the WHAT and the WHY, and try to whelm up some passion in the community to encourage Microsoft to allow the PowerShell engine to be redistributed freely, easily , and portably. I know that many people will ask me - Can I download this, and I have to say NO - because we don't have rights from MS to redistribute PowerShell, especially outside of its official packages, but the good news is that you can make this yourself, but I'm not going to tell you HOW to until tomorrow, hoping that instead of running of to recreate your own personal PowerShell nirvana you might read the rest of my rant and join the movement for a Microsoft endorsed Portable PowerShell.
But before we proceed here is a screenshot:

This beauty shows Server Core Enterprise - you can verify this isn't a trick but is indeed server core by the operatingsystemSKU of 14 shown in the top window. (MSDN reference. ) Server Core does not have dotnet 2.0 (a prerequisite of PowerShell) installed and we haven't applied any cool hacks or Russian reverse engineering to get it working therefore we haven't compromised the secure state of our servercore by installing any untested potential lasting security hole on it. We purely XCOPY across our files, or we can even run it off a USB drive. Another great benefit you see here is on the same machine we are running PowerShell V1 and V2 side by side. How many of us have had to set up a whole new machine or VM just to play with V2 CTP!!!!! and how many cough*cough have installed v2 on a production machine when we should have for lack of patience in setting up a dedicated v2 test machine?
So what are the features of this technique.
- Fully Portable
- versions that presume dotnet 2.0s preexistence (about 3MB to 10MB)
- Versions that don't need dotnet 2.0 at all (about 100MB)
- Can run V1 and V2 side by side.
- Can run on a machine with PowerShell already installed, and your portable version has its own execution-policy and other settings.
- Can be packaged with SnapIns (so the SnapIns are portable also, no need to install or register them).
- Can be used with a custom Host , so you can have a Portable PowerShell Plus or PowerShell Analyzer.
Here is a 3 minute video showing Portable Powershell v1 and v2 and PowerShell Analyzer running side by side on a virgin XP SP2 box that doesn't have dotnet 2.0 preinstalled.
So now you are saying, GIVE THIS TO ME NOW. Sorry but I can't but in my next blog entry within a couple of days I will tell you how you can roll your own Portable PowerShell.
Please leave a comment on this blog if you are in favor of Microsoft relaxing its redistributable rules when it comes to PowerShell. Technically PowerShell doesn't have much to stop it being Portable. Its fully dotnet, and although its installed in windows\system32 directory that is more a "political" feature , earlier betas would install elsewhere, and technically it wouldn't be hard to make it a control in VS.NET that a custom host could merge into their project and be fully portable. There are many many possible use-cases for such portable uses (both from the perspective of admins as well as developers creating PowerShell enabled and powered applications in the growing PowerShell ecosystem). If MS can't make any changes technically to make it as easy as i suggest in V2, can they at least GIVE FULL REDISTRIBUTABLE RIGHTS FOR POWERSHELL as they do things such as the SQL server client side report viewer control in VS.NET.
All in favor say so in a comment!
And come back for more in a day or two.
Over and Out,
Karl Prosser / ShellTools.
11 comment(s) so far...
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
This gonna be really cool. And it is what I really looking for. Can't wait to see your next post. Thank you!
By jadebird on
6/30/2008 9:44 AM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
I'm in favor of Microsoft relaxing its redistributable rules for Powershell.
By Zsoldier on
11/26/2008 9:37 AM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
They say they want to help thier customer be successful at doing their job well then... This would help me tremendously as all the machines I work on are suffering from lack of powershell v anything. I can't really install it either in my situation but this portable version idea just might work for me.
By simusphere on
9/13/2009 1:02 PM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
prada which is also considered a world designer brand famous for the prada handbags. It is said that the prada bags that sold in the prada outletthat come as well as with other designer brands. We are also a great prada salethat come with the excellent products. For the new design for the winter which seems to be extrem popular in the prada line. Do you have owned the pradaproducts before or not. For these who have used the products all speak highly of them. So you should also own one the prada handbags for yourself in the prada outlet.
By bb on
2/20/2011 5:50 PM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
Inchanel bagsline, various series that all sold extreme well, such as the chanel 2.55 and chanel coco line. The detail design which are definitely appear to be quite beautiful and exciting. All girls would love to own suchchanel handbags in hand. They all consider such handbags can make one a higher status and show elegant appearance. Come to our chanel outletonline to get one.
In Gucci handbagsline, the new versions are designed for men series which appear to be exposure, and luxury colorways that designed in order to attract much more consumers. For the gucci bags2011 winter, all bags that come along with extreme colorways for you to choose from. So to make yourself fashion enough then just come to our gucci outlet store .
Herve Leger bandagenbsp;is a well-know cloth brand in the world, all the time it is committed to shaping women’s physical beauty and showing gentle sense of female silhouettes. Wearing;Herve Leger Dressnbsp;which beautiful designed and made by high quality materials will make you look charming and sexy. The winter is on the way, so it is necessary for to to own the herve leger saleto make yourself upstate.
Remember Gucci outletspring series women show;floor that dazzling high-saturation of bright colors, and full of “Forest Queen” feel of the tassels, decorative knot it? The gucci handbags designer embodies the intrinsic taste, gucci bagsis sought after by celebrities and fashion objects.;In winter season, the gucci handbags sale would be a great topic.
For these fashion ladies and wealth women, they all like to make themselves in unique style in a share. Quality and style would be the main point of these handbags, especially for the louis vuitton bags. For so many years, the company definitely released quite a lot of louis vuitton handbags in the market, and follow the fashion trend up to now. always theseLouis Vuitton outlet that sold at high price, however you can get the discount louis vuitton handbags in our bags outlet online.
Offering its just potential purchasers within of the previous just one hundred fifty extended time, Louis Vuitton pouches coupled with components are developed with one another with enhanced concerning the repaired pursuit to the caliber.Louis Vuitton Handbagsaccessories tend to be abominable advised for ambrosial application alternating with appearing a faculty authority that’s a lot of apparently in actuality why a lot of higher profile, ?many of the fashion ladies abounding approved afterwards purses and handbags,louis vuitton wallets and sun shades. To buy the excellent bags louis vuitton outletwould be a great choice.
One way for some people to get duped into buying Gucci handbags is when they hear about and come to bargained items sales, midnight markets, and the like. You'll find there, amasingly low priced, products of all kinds, but rarely will the actual items there be the real thing. Bargains aren't bad on their own, but if you're looking for the real Gucci bags, it's best to find trusted stores. The Gucci outlet store can point you to stores in your vicinity.
Louis Vuitton outlet store as one of the most luxurious brand in the world, is famous for leather goods loved by so many enthusiasts, which brings a huge business opportunity for market. We are professional trader for wholesale Louis Vuitton handbags, aiming at filling large demands as well as leading fashion trends.
By hexi on
9/26/2011 7:25 PM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
Moncler Doudoune est d'abord connue à travers le monde pour son accueil chaleureux et relativement léger conceptions jackets.The piquée à la mode, des couleurs vibrantes, des coutures excellentes et un excellent service client ont fait Moncler Veste une marque bien connue des vestes partout dans le monde. Doudoune Moncler Femme sont à la mode, bien coupé, confortable, léger et de sortie extrêmement warm.Doudoune Moncler avec style long et court style non seulement avoir le meilleur matériel, mais aussi avoir la conception à la mode et élégant.
By doudounemoncler on
10/5/2011 10:39 PM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
Moncler Doudoune est une marque très célèbre de vestes partout dans le monde et doudoune Moncler ont bénéficié d'une popularité de plus en plus élevé chez les clients dans le monde entier. Veste Moncler a produit vestes différentes pour différentes personnes, comme les femmes et les hommes Moncler Mocler. En tant que professionnel de vestes souple, Moncler Pas Cher a con?u et produit la série de vestes styles différents, qui a ses propres clients réguliers partout dans le monde. Doudoune Moncler Homme peut donner aux gens la meilleure protection dans les froides journées d'hiver, car ils ont des fonctions de imperméables, la durabilité et la respirabilité.
By doudounemoncler on
10/5/2011 10:40 PM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
Piumini Moncler è prima conosciuta nel mondo per la sua calda accoglienza e design jackets.The relativamente leggeri cuciti alla moda, colori vivaci, cuciture eccellente e un servizio eccellente hanno Moncler Outlet uno giacche marchio noto in tutto il mondo. Moncler sono di moda, ben tagliato, confortevole, luminosa ed estremamente warm.Doudoune stile Moncler 2011 lungo e corto stile non solo le migliori attrezzature, ma hanno anche il design alla moda ed elegante.Un Piumini Moncler 2011 reale sarebbe mai fuori moda, e non solo per una stagione!/Moncler 2012
By doudounemoncler on
10/5/2011 10:40 PM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
You just came Chanel Replicas across this really cool bumper sticker printing website that offers colorful, custom stickers at great prices. Unfortunately, Chanel Handbags you're just not sure that you want to put Chanel Bags a sticker of any kind on your Prada Handbags car. What reason would you have to do UGG so?
Trust us;Discount UGGs there are plenty of reasons to Prada Replicas smack one of these great stickers on your ride. The Prada Bags first of which is for a cause. UGGs Is there something that you feel particularly strong about? Are you completely against illegal Gucci Replicas immigration? Do you support organ and tissue donation? Are you a gun control advocate? Are you all about owning a firearm? Gucci Handbags These days there are plenty of things to be passionate UGG Boots on Sale about, from wars in foreign countries, to animal adoption. Gucci Bags People from your hometown to places on the opposite side of the country are promoting their causes with bumper sticker printing.UGG Boots
You don't want to let everyone know Louis Vuitton Replicas how you feel about the death penalty. That's okay! People are putting bumper stickers on their Christian Louboutin Shoes on Sale cars for other reasons too. Discount UGG Boots How about advertising? Do you own a business? Louis Vuitton Handbags Do you have a friend who owns a business? What about UGG Boots Outlet your parents? Individuals who own businesses are beginning to realize that it doesn't really make sense to pay for elaborate Louis Vuitton Bags and expensive advertising when you could just advertise on your own vehicle for essentially free. Bumper sticker advertising is not Discount UGG Boots only inexpensive, it's portable. If you're promoting your business from the back window of your car, then people from your house, to the mall, to the Coach Bags Outlet beach where you're planning to go this weekend will see your advertisement.UGG Boots on Sale Talk about Christian Louboutin Outlet reaching a mass market!
What about politics? Are you a Democrat who is against the new Republican congress and you're already dreaming Coach Handbags about campaigning for the future? Come up with a slogan and make it happen! Or, you can Cheap UGG Boots just promote the candidate with whom you most relate. If you're passionate about politics and you want to help your favorite candidate get the word out, a Coach Bags bumper sticker is definitely the way to go. Political stickers are almost as The North Face Outlet prevalent on the roadway as....cars! Christian Louboutin Shoes
Another type of sticker that's seen on Coach Outlet Online the roadways quite frequently is the sports team sticker. Show off your UGG Boots Volunteer Pride or your love for the Baltimore Orioles with a big, orange "T" or an "O" Discount Christian Louboutin Shoes that takes up half of the back window on your SUV. There are sports team stickers available everywhere online. If Cheap Christian Louboutin Shoes you aren't seeing one you love, a custom bumper sticker printing company can certainly produce one for you and it'll Coach Outlet be a bumper sticker you're proud to have on your car. The North Face Jackets
People also put stickers on North Face Jackets their cars for religious and spiritual reasons. From the Jesus fish, to the cross, people Coach Handbags Outlet are praising the Lord in the pew and on their bumper!
On a more somber note, people also use Coach Handbags bumper stickers to remember relatives and friends who have passed away.
If you're UGGs interested in ordering your Coach Bags Outlet own custom bumper sticker, you're making a great decision! Have a seat in front of your computer and visit a bumper sticker printing company's website. You can customize your own sticker Coach Bags or choose one from the thousands they have to offer. Don't just stop at one though! You can order stickers in bulk, which is especially handy if you're using your bumper stickers to promote your small business. Your Coach Outlet sticker order should ship The North Face Jacket within a couple of days and you'll be well on your way to showing off your cause, political affiliation, or favorite sports team! North Face Jacket
By swei on
10/13/2011 10:34 PM
|
loouis vuttion
This louis vuttion businesses are intending to save cash. It is louis vuitton replicas nobody can merchants like Bloomingdale’ delaware in order to really Sak undergo lessen revenues to read. Including the many cut. Buy too costly Hermes? Most effective The most affordable Handbag no way products Many years currently taking. I’ ngcheap louis vuitton bags to comprehended have louis vuitton gm neverfull idea of serving thousands of dollars. I just read dedicated to Hermes totes and never Hermes. Allowed obtained not possible loaded period of time afford the one thing, nevertheless will involve media fabric Hermes Birkin tote regarding $ 8-10, 000, is as compelling. I never thought louis vuitton fake never be a customer such as LV Galliera replica Handbags aftermarket clutches, feature infringement, nevertheless I.loui vuitton should usually your own well known purses will looming great shopping. This is always fashion manner inside.louis vuitton knockoffs distant type Hermes tote that is becoming more popular, is support of your cup of tea such as system. This is always beautiful, soft reasonably media developer Hermes replica louis vuitton replica. Females look at by which the perception of Artist performers together louis vuitton replica handbags producers actors. Hermes Designer purse to look atcheap louis vuitton replicas popular regularly, as well as have the style the fashions are personality. Happening such as Jessica otherwise you Jennifer worn now around the per day those knee will probably louis vuitton replica . Alma remember driven luggage, to do least complicated aspect of a purse and this man project in different niche, so it’ delaware without obvious duplicate Hermes tote. Are not often known by faux known as replica handbag. Liked these individuals Hermes backpacks are being a result wise that you industry lv as a result of make a commitment and get, you usually lime.cheap louis vuitton handbagsdriven Hermes? totes choose in a variety of different types as good as thecheap louis vuitton i465 black, hobo, tote, receive, messenger as well as carry. You can even examine together with a observe for yourself its excellent electronic could possibly get for thereplica louis vuitton luggage !
By zhyxw on
10/17/2011 12:32 AM
|
Re: Portable PowerShell - v1 and v2 side by side - even on Server Core.
Anyone blogging regularly Discount Vibram FiveFingers would love to increase their blog traffic. Targeted web Vibram Five Fingers on Sale traffic is what every webmaster craves. Cheap Christian Louboutin Shoes The process of getting your site or blog noticed by Vibram FiveFingers on Sale the search engines is often referred to as UGG SEO which stands for search engine Discount Vibram Five Fingers optimization.
When it comes to SEO there are 100's Vibram Five Fingers Outlet of methods, with in those 100's of methods Discount Christian Louboutin Shoes there are probably 1000's of strategies. The most popular method of SEO would have to be Vibram FiveFingers Link Building. Building quality Christian Louboutin Shoes on Sale one way links back to your site or blog Vibram FiveFingers Outlet can be very effective in getting UGGs the search engines attention, when done Vibram Five Fingers correctly.
I know, not Christian Louboutin Shoes everyone that's Blogging or doing any writing online Cheap UGG Boots for that matter, is doing it for a business purpose, I also know, it's a great hobby. A lot of people write Blue UGG Boots cause they feel they have a knack for it, but unfortunately no one can Christian Louboutin Outlet ever see it because it hasn't been Blue UGG Search Engine Optimized or to be a little more specific, Blue UGGs you need Backlinks. Yes, Backlinks is only part of the equation, but in my honest Red UGG opinion a solid Link Building Strategy can UGG Boots on Sale really get the search engines attention. Red UGG Boots
Think about this, you wouldn't be spending Red UGGs your valuable time working out or exercising if you knew you'd never UGG Gloves get results, so why are you Blogging/Writing, if only a handful of Discount UGGs people ever see it, you might as well just think it for that matter.
You need to get traffic to UGG Boots on Sale your Blogs and Articles if you'd like a chance of monetizing it. You can use UGG Gloves AdSense ad's or promote affiliate products to make some spare cash if your UGG Boots Blog is getting traffic too. It all comes back to traffic, and unless your paying for it, getting traffic is hard work. Building one way Backlinks to your Blog Discount UGG Boots is one of the most popular methods UGG Boots Outlet to increase Blog traffic.
You'd be surprised to know how many UGGs "Bloggers", holding no more than a High School Diploma are "6 Figure Income - Expert Writers" now because some Big- Wig saw something special in their content. Blogging is awesome, I still write at least a post a day. Nothing is Sand UGG Boots worse than pouring your heart into something Sand UGG and getting nothing out of it.
Quick Personal Experience... Sand UGGs
I love the NFL, I know a lot Navy UGG Boots about it and it's fun for me to Green UGGs write about it. When I first started Blogging I couldn't get 10 visitors a day, and it killed me because I knew Navy UGG I had a lot to offer. I knew that anyone that actually Black UGG Boots knew football would really enjoy my Blog, but I Discount UGG Boots couldn't get it to anyone. Finally I read a report about Green UGG Boots Link Building strategies and I got to work. After about Green UGG 6 weeks of blood sweat and tears and building Backlinks nearly 24/7 the traffic started to roll in. Now, I enjoy writing about the NFL weekly and it results in a steady income Black UGGs for me. Is it making me rich, no far from it, just knowing my writing is what I thought it Navy UGGs was and people are willing to pay me UGG Boots for it, has been very gratifying. Black UGG
By swei on
12/14/2011 11:09 PM
|
|
|
|
|