Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martins-vds/poc-azure-devops-install-extension
This PowerShell script is designed to help you install an Azure DevOps extension. It requires several parameters to be provided in order to install the extension.
https://github.com/martins-vds/poc-azure-devops-install-extension
automation azure-devops azure-devops-api azure-devops-extension devops powershell
Last synced: 6 days ago
JSON representation
This PowerShell script is designed to help you install an Azure DevOps extension. It requires several parameters to be provided in order to install the extension.
- Host: GitHub
- URL: https://github.com/martins-vds/poc-azure-devops-install-extension
- Owner: martins-vds
- License: mit
- Created: 2023-05-31T19:40:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-31T20:28:54.000Z (over 1 year ago)
- Last Synced: 2024-10-29T18:26:43.447Z (about 2 months ago)
- Topics: automation, azure-devops, azure-devops-api, azure-devops-extension, devops, powershell
- Language: PowerShell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install-DevOpsExtension PowerShell Script
This PowerShell script is designed to help you install an Azure DevOps extension. It requires several parameters to be provided in order to install the extension.
## Prerequisites
Before running this script, please ensure you have the following:
- PowerShell version 7.3 or later. You can download PowerShell from [here](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3)
## Usage
To use this script, follow the steps below:
1. Open PowerShell.
2. Run the script using the following command:```powershell
.\Install-DevOpsExtension.ps1 -Organization -PublisherName -ExtensionName -Token
```Replace ``, ``, ``, and `` with your own values.
## Parameters
The script accepts the following parameters:
- `Organization`: Azure DevOps organization name. **This parameter is mandatory**.
- `PublisherName`: Publisher name for the extension. Must meet the specified pattern and length criteria. **This parameter is mandatory**.
- `ExtensionName`: Name of the extension. Must meet the specified pattern and length criteria. **This parameter is mandatory**.
- `Token`: Personal Access Token with at least the scope `Extensions (Read & Manage)` . **This parameter is mandatory**.
- For more information on how to create a Personal Access Token (PAT), please refer to [this documentation](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows).> Note: The `PublisherName` and `ExtensionName` parameters can be found in the marketplace URL for the extension. For example, if the URL is `https://marketplace.visualstudio.com/items?itemName=my-publisher.my-extension`, then the `PublisherName` is `my-publisher` and the `ExtensionName` is `my-extension`.
## Example
Here is an example of how to use this script:
```powershell
.\Install-DevOpsExtension.ps1 -Organization "myorg" -PublisherName "my-publisher" -ExtensionName "my-extension" -Token "token"
```Make sure to replace `"myorg"`, `"my-publisher"`, `"my-extension"`, and `"token"` with your own values.
## License
This script is released under the [MIT License](https://opensource.org/licenses/MIT).
## Contributions
Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.
## Disclaimer
This script is provided as-is, without any warranty or support. Use it at your own risk.