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

[PSCX] What happened to Get-CmdLetMaml

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 03-11-2007   #1 (permalink)
Joris van Lier
Guest


 

[PSCX] What happened to Get-CmdLetMaml

I've been backreading this froup, and i see a couple of references to Get-CmdLetMaml in PowershellCX, but it does not seem to be in the latest release.

I can see it's been removed, is there a replacement?

Joris

My System SpecsSystem Spec
Old 03-11-2007   #2 (permalink)
RichS
Guest


 

RE: [PSCX] What happened to Get-CmdLetMaml

Have a look at get-pssnapinhelp
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"Joris van Lier" wrote:

> I've been backreading this froup, and i see a couple of references to Get-CmdLetMaml in PowershellCX, but it does not seem to be in the latest release.
>
> I can see it's been removed, is there a replacement?
>
> Joris
>

My System SpecsSystem Spec
Old 03-11-2007   #3 (permalink)
Keith Hill
Guest


 

Re: [PSCX] What happened to Get-CmdLetMaml

"RichS" <RichS@discussions.microsoft.com> wrote in message
news:3742F9D0-244A-4FB6-B3D4-858AC271D562@microsoft.com...
> Have a look at get-pssnapinhelp
> --


Get-PSSnapinHelp requires access to partial help files in order to generate
output. In this area I think we took a step backwards in 1.1 but our
ultimate goal is to provide a mechanism that allows for help localization.
There was no good way to get there with the old cmdlet (Get-CmdletMaml) and
our new approach isn't anywhere near as streamlined as I would like it to
be. Anyway I've include a zip of the help generation scripts and XSLTs that
we used in PSCX 1.1 to generate the Pscx.dll-help.xml file.

The way to use this stuff is:

1. Modify the last line New-HelpSkeleton.ps1 to specify your snapin name and
run the script. Specify something like .\Help (make sure there is a Help
folder created) as the parameter. A template file for each cmdlet will be
generated in this Help dir.
2. Fill in the description, detailed description and so in the template
files.
3. Now run GeneratePscxHelpXml.ps1 - again you will need to modify line 33
to substitute the name of your cmdlet.

Sorry about the roughness of this all. We will make this better (ie a
reusable piece of what PSCX delivers) for the next release.

--
Keith

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with PSCX and Quest AD Cmdlets Kuma PowerShell 3 07-19-2008 08:44 AM
Custom type error with PSCX under PS v2 CTP JamieB PowerShell 7 11-08-2007 09:03 PM
PSCX 1.1 issues Marco Shaw PowerShell 8 03-16-2007 10:48 PM
PSCX 1.0 Released Keith Hill [MVP] PowerShell 4 12-13-2006 10:06 AM
PSCX - Send-SmtpMail Keith Hill [MVP] PowerShell 1 11-12-2006 09:10 PM


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51