Install and inspect the PowerShellCookbook module

Published · Updated

Save

PowerShellCookbook is a community module published in PowerShell Gallery. Check the published owner, version and commands before adding it to an automation environment.

Check the package in your shell

Run Find-Module -Name PowerShellCookbook -Repository PSGallery and confirm it is the package you intended. Inspect the gallery release and pin a known version for repeatable builds. Where policy permits, install with Install-Module -Name PowerShellCookbook -Repository PSGallery -Scope CurrentUser.

Check exports and provenance

Run Get-Module -ListAvailable PowerShellCookbook and Get-Command -Module PowerShellCookbook after importing. If a sample command is missing, verify the version and exported list before treating an old recipe as a supported command. Review publisher code and local policy before using the module on important hosts.

References

PowerShell Gallery package history

Install-Module reference

Discuss this answer