Gallery发布

1.0.0

使用 Export-Clixml 将 PSGallery API 密钥加密保存到本地文件(Windows DPAPI,仅本机当前用户可解密)。
首次运行提示输入密钥并保存,后续运行自动读取,实现一键发布。密钥文件会自动加入 .gitignore。

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Gallery发布

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 一致行动党。MIT 许可证。

Package Details

Author(s)

  • 埃博拉酱-机器人

Tags

PSGallery publish api key secure encrypt DPAPI PowerShell 发布 密钥 加密

Dependencies

This script has no dependencies.

Release Notes

初始版本。首次输入 API 密钥后自动加密保存(Windows DPAPI,仅本机当前用户可解密),以后无需输入。

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 6 6/7/2026