Huddled Masses
The internet home of Joel "Jaykul" Bennett...
Browse: Home / Metadata

Metadata

PowerShell Module Manifests Tip: allowed cmdlets and variables

By Joel 'Jaykul' Bennett on 17-Jan-2010

I was under the impression that module manifests allow only DATA stuff. In fact, if you try to use cmdlets or variables in them, you get the usual Data-language errors, like this: Import-Module : The module manifest ‘C:\Modules\Test\Test.psd1’ could not be processed because it is not a valid PowerShell restricted language file. Please remove the [...]

Posted in Huddled | Tagged Manifest, Metadata, Modules, PowerShell, Windows 7 | 1 Response

Another Module Manifest Gotcha

By Joel 'Jaykul' Bennett on 14-Jan-2010

Shay Levy, ScriptFanatic, wrote about the PowerShellHostVersion on his blog this morning, explaining how it is not a field you should use in your module manifests. Of course, there’s an exception: if your module is dependent on a specific host. For instance, if you’ve written a module for PoshConsole which exploits the WpfHost display features [...]

Posted in Huddled | Tagged Error message, Globally Unique Identifier, Import-Module, Metadata, Modules, PowerShell, RequiredModules | 1 Response

A question about PowerShell Module Manifests

By Joel 'Jaykul' Bennett on 07-Jan-2010

So, I’m building the next PoshCode around modules, with CPAN as my model … Scripts are still there, but they’re still basically done the way they are now: you just upload a single file. Modules, however, will be treated specially. You’ll have to have an account to upload, but you’ll be able to just upload [...]

Posted in Huddled | Tagged CPAN, Metadata, Module Manifest, Modules, PoshCode, Windows PowerShell | 3 Responses

Lijit Search

Tags

.Net .Net 2008 Scripting Games Automation Bugs Design Development Funny Gadgets GeoShell GUI Huddled Masses Internet licensing Microsoft Modules My Software News Personal PInvoke Pipeline Politics PoshCode PoshConsole PowerBoots PowerShell PowerShell Functions PowerTips Rants Recommender Repository Scripting ShowUI Software Solutions Textile Tips User Group UserInterface WalkThrough WebHosting Windows 7 WordPress WPF Xml

About Huddled Masses

This is web site is dedicated to the musings of Joel Bennett (aka Jaykul) about technology, software, software development, the web, and the world.

Any resemblance of the views expressed and the views of my employer, my terminal, or the view out my window are purely coincidental. The resemblance between them and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader.

P.S.: I occasionally link to things I think are great. When I do, I occasionally find a "referral code" so I can make a little cash. I promise that I don't link to anything just because of that cash (I wouldn't cross the street for the amount of cash those links bring in, never mind write a whole blog post) ... but I do not promise that things I link to will stay great as time passes, nor that you will agree with me about their greatness!

Archives

  • April 2012
  • February 2012
  • January 2012
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2011
  • January 2011

Copyright © 2012 Joel Bennett.

Powered by WordPress and Hybrid.