Nick
Getchell

I'm a Senior DevOps Engineer overseeing releases, developer experience, and cloud infrastructure. I have 20+ years of running web apps and systems administration both during my personal time and in my career.

I write about my hobbies, including technology, movies, books, and music.

Engineering › Systems Administration · · 1 min read

Update-ModuleManifest is Back

Starting with Windows Management Framework 5.1 PowerShell now comes with Update-ModuleManifest. This is after Update-ModuleManifest broke and was removed from WMF 5.

WMF 5.1 has been added to Windows 10 build 14342 and can be installed using the fast ring.

Note: If you’ve been relying on a wildcard to load all of your exported functions you may run into issues.

See, using wildcards cause up to 15 seconds of lag when loading the module. The new Update-ModuleManifest now explicitly creates an empty collection if you don’t provide input to the corresponding parameter. Make sure to explicitly state which functions, variables, and cmdlets.

Tagged PowerShell