Created
June 15, 2021 21:14
-
-
Save toddboyd/7ffb7edad1670a6a8d16b63fabae58e1 to your computer and use it in GitHub Desktop.
Install Unlocked Package PowerShell Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install package | |
Write-Host -ForegroundColor green "Installing package..." | |
& sfdx force:package:install -p [package id] -u $orgName -s AllUsers -r -w 10 -k [package password] | |
if ($LASTEXITCODE -ne 0) { | |
exit 1 | |
} | |
Write-Host "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment