Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

psc1 file using community extensions

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 03-11-2008   #1 (permalink)
Achim Domma
Guest


 

psc1 file using community extensions

Hi,

if I start Powershell via the short cut in my start menu, I get a nice
looking shell with community extension working. If I execute
"powershell" in the "run" dialog or from command line, I don't get the
extensions. $profile contains the same path in both cases. Could
somebody explain the difference? I'm quite confused.

What I wanted to do is the following:

I wrote some custom Cmdlets, have opened powershell with community
extensions, have added my snapin and have exported my shell via
"export-shell MyShell" into a psc1 file. If I execute that file, I get
an error, because the community snapin is already there, so I removed
all entries from the psc1 file, but let only my snapin there. If I now
start the psc1 file, it works but I don't get the look and feel of the
community extensions.

Any hint how to create a psc1 file using my custom snapin and having
the look and feel of the community extensions?

regards,
Achim

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerShell Community Extensions 1.1.1 Released Keith Hill [MVP] PowerShell 2 06-28-2007 10:22 AM
PowerShell Community Extensions 1.1 Released! Keith Hill PowerShell 4 03-08-2007 12:22 PM
PowerShell Community Extensions 0.1 Alpha Release Keith Hill [MVP] PowerShell 5 10-26-2006 07:47 AM
PowerShell Community Extensions RSS Feed Keith Hill [MVP] PowerShell 0 09-10-2006 09:48 PM
New community project created for Windows PowerShell Extensions Arul Kumaravel [MSFT] PowerShell 2 08-08-2006 04:17 AM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008
Page generated in 0.26381 seconds with 10 queries