publish.ps1
$Key=(op item get "Powershell Gallery OptWin" --fields credential) #todo: Update-ModuleManifest -FunctionsToExport [] -ModuleVersion x.y.z -Path OptWin.psd1 Publish-Module -Path . -NuGetApiKey $Key -Repository PSGallery Install-Module -Name OptWin -Force Optimize-Windows -Preset Harmless -WhatIf Remove-Variable "Key" |