Brownserve.PSTools
0.16.1
A collection of common tools for use in Brownserve projects
Minimum PowerShell version
6.0
Installation Options
Owners
Copyright
2026 Brownserve UK
Package Details
Author(s)
- Brownserve UK
Tags
Functions
Publish-TeamcityArtifact Set-TeamcityBuildNumber Write-TeamcityBuildProblem Write-TeamcityStatus Assert-Command Assert-Directory Assert-Path ConvertTo-BlockComment ConvertTo-SortedHashtable Format-BrownserveContent Get-BrownserveContent Get-Response Invoke-DownloadMethod Invoke-NativeCommand Merge-Hashtable New-BrownserveTemporaryDirectory New-BrownserveTemporaryFile Read-ConfigurationFromFile Search-FileContent Select-BrownserveContent Set-BrownserveContent Set-LineEndings Test-Administrator Test-Numeric Test-OperatingSystem Add-GitChanges ConvertTo-HTTPSRepoURL Copy-GitRemoteRepository Get-GitBranches Get-GitChanges Get-GitCurrentBranch Get-GitMerges Get-GitRemoteOriginURL Get-GitRootDirectory New-GitBranch Push-GitChanges Submit-GitChanges Switch-GitBranch Install-ChocolateyPackage Send-SlackNotification Format-TerraformResourceName Get-Terraform Get-TerraformResource Invoke-TerraformApply Invoke-TerraformInit Invoke-TerraformPlan Invoke-TerraformShow Invoke-TerraformValidate New-TerraformResourceBlock Set-TerraformLogLevel Import-PlatyPSModule Invoke-ConvertFromYaml Invoke-ConvertToYaml New-BrownservePowerShellModule Update-BrownservePowerShellModule Add-ModuleHelp Build-ModuleDocumentation Add-BrownserveChangelogEntry Add-ChangelogEntry Format-NuGetPackageVersion Get-BrownserveRepositoryPaths Get-SPDXLicenseIDs Initialize-BrownserveRepository New-BrownserveChangelogEntry New-BrownservePowerShellModuleBuild New-NuGetPackageVersion New-SPDXLicense Read-BrownserveChangelog Read-Changelog Send-BuildNotification Update-BrownserveRepository Update-Changelog Update-Version Split-URI Get-Vault Get-VaultSecret Add-GitHubReleaseAsset Add-PullRequestComment Get-GitHubIssues Get-GitHubPullRequests Get-GitHubRelease Get-GitHubTags Get-OpenPullRequests New-GitHubBranch New-GitHubCommit New-GitHubPullRequest New-GitHubRelease New-PullRequest Format-Markdown Remove-Markdown
Dependencies
This module has no dependencies.
Release Notes
# Features
These are the changes that have been made since v0.15.0:
- fix: don't try to publish preview packages when a stable package exists. in #105 by @shoddyguard
- fix: revert using .NET nuget in #104 by @shoddyguard
- fix: remove references to Mono - nuget is available on Linux now in #103 by @shoddyguard
- cicd: switch over to using the app token rather than a user token. in #102 by @shoddyguard
- fix: broken nuget build logic in #101 by @shoddyguard
- Prepare for v0.16.0-preview2 in #100 by @brownserve-ci-cd[bot]
- fix: ensure changelog release notes are generated correctly. in #97 by @shoddyguard
- cicd: Move staging build over to using new GitHub App to avoid using PAT/GPG keys in #92 by @shoddyguard
- fix: don't throw when we can't find a merge commit in #94 by @shoddyguard
- fix: remove references to UpdateModulePageHelpVersion, we don't use this method anymore. in #93 by @shoddyguard
- feat: add new cmdlets for creating remote branches and commits via the GitHub API. in #91 by @shoddyguard
- feat: add temp location logic to New-BrownservePowerShellModule in #90 by @shoddyguard
- check dotnet has at least one SDK installed so dotnet new will work in #88 by @shoddyguard
- ops: update Slack webhook build secret name in #89 by @shoddyguard
- Overhaul of the Initialize-BrownserveRepository and Update-BrownserveRepository cmdlets in #87 by @shoddyguard
- Set standard location for user configs. in #86 by @shoddyguard
- Fix generated docs to keep them consistent in #83 by @shoddyguard
- Standardise GitHub cmdlet styling in #82 by @shoddyguard
- Add Add-GitHubReleaseAsset cmdlet in #81 by @shoddyguard
- Prepare for v0.16.0-preview in #77 by @brownserve-automatedbuild
- Bring in Dev changes in #74 by @shoddyguard
- Documentation Overhaul in #61 by @shoddyguard
- Rework PowerShell-YAML logic in #60 by @shoddyguard
- feat: Add Get-GitHubPullRequests in #59 by @shoddyguard
# Bugfixes
The following bugs have been closed since v0.15.0:
- N/A
# Known Issues
The following bugs have been raised since v0.15.0 and remain unresolved:
- #78 - [BUG]: Snippet Creator is deprecated
For a full list of current known issues see the project's issues page.
FileList
- Brownserve.PSTools.nuspec
- Brownserve.PSTools.psd1
- Brownserve.PSTools.psm1
- Private\Build\Classes.ps1
- Private\Build\Compare-BrownserveRepository.ps1
- Private\Build\New-BrownserveBuildScript.ps1
- Private\Build\New-BrownserveBuildTasksScript.ps1
- Private\Build\New-BrownserveChangelogBlock.ps1
- Private\Build\New-BrownserveInitScript.ps1
- Private\Build\New-ChangelogBlock.ps1
- Private\Build\New-GitHubActionsWorkflow.ps1
- Private\Build\New-PaketDependenciesFile.ps1
- Private\Build\templates\init.ps1.template
- Private\Build\templates\psmodule_build_script.ps1.template
- Private\Build\templates\psmodule_build_tasks.ps1.template
- Private\Chocolatey\Chocolatey.ps1
- Private\Classes.ps1
- Private\General\Classes.ps1
- Private\Git\Classes.ps1
- Private\Git\New-GitIgnoresFile.ps1
- Private\IDE\New-BrownserveEditorConfig.ps1
- Private\IDE\Read-BrownserveEditorConfig.ps1
- Private\PowerShell\Classes.ps1
- Private\PowerShell\Module.template
- Private\PowerShell\New-BrownservePoShModuleFromTemplate.ps1
- Private\PowerShell\Read-BrownservePowerShellModule.ps1
- Private\PowerShell\platyPS\Add-PlatyPSCommonParameter.ps1
- Private\PowerShell\platyPS\Remove-PlatyPSCommonParameter.ps1
- Private\PowerShell\platyPS\Update-PlatyPSModulePageDescription.ps1
- Private\PowerShell\platyPS\Update-PlatyPSModulePageGUID.ps1
- Private\PowerShell\platyPS\Update-PlatyPSModulePageHelpVersion.ps1
- Private\PowerShell\platyPS\Update-PlatyPSModulePageLinks.ps1
- Private\Terraform\ConvertTo-TerraformObject.ps1
- Private\VSCode\Classes.ps1
- Private\VSCode\Extensions\Merge-VSCodeSpellings.ps1
- Private\VSCode\Extensions\New-VSCodeSpellingsExtensionConfig.ps1
- Private\VSCode\Extensions\cSpell_settings.json
- Private\VSCode\Get-VSCodeWorkspaceExtensions.ps1
- Private\VSCode\Get-VSCodeWorkspaceSettings.ps1
- Private\VSCode\New-VSCodeDevcontainer.ps1
- Private\VSCode\brownserve-pstools.code-snippets
- Private\VSCode\devcontainer\Dockerfile_Generic
- Private\VSCode\devcontainer\Dockerfile_PowerShellModule
- Private\VSCode\devcontainer\devcontainer.json
- Public\Build\Add-BrownserveChangelogEntry.ps1
- Public\Build\Add-ChangelogEntry.ps1
- Public\Build\Format-NuGetPackageVersion.ps1
- Public\Build\Get-BrownserveRepositoryPaths.ps1
- Public\Build\Get-SPDXLicenseIDs.ps1
- Public\Build\Initialize-BrownserveRepository.ps1
- Public\Build\New-BrownserveChangelogEntry.ps1
- Public\Build\New-BrownservePowerShellModuleBuild.ps1
- Public\Build\New-NuGetPackageVersion.ps1
- Public\Build\New-SPDXLicense.ps1
- Public\Build\Read-BrownserveChangelog.ps1
- Public\Build\Read-Changelog.ps1
- Public\Build\Send-BuildNotification.ps1
- Public\Build\Update-BrownserveRepository.ps1
- Public\Build\Update-Changelog.ps1
- Public\Build\Update-Version.ps1
- Public\Chocolatey\Install-ChocolateyPackage.ps1
- Public\Common\Assert-Command.ps1
- Public\Common\Assert-Directory.ps1
- Public\Common\Assert-Path.ps1
- Public\Common\ConvertTo-BlockComment.ps1
- Public\Common\ConvertTo-SortedHashtable.ps1
- Public\Common\Format-BrownserveContent.ps1
- Public\Common\Get-BrownserveContent.ps1
- Public\Common\Get-Response.ps1
- Public\Common\Invoke-DownloadMethod.ps1
- Public\Common\Invoke-NativeCommand.ps1
- Public\Common\Merge-Hashtable.ps1
- Public\Common\New-BrownserveTemporaryDirectory.ps1
- Public\Common\New-BrownserveTemporaryFile.ps1
- Public\Common\Read-ConfigurationFromFile.ps1
- Public\Common\Search-FileContent.ps1
- Public\Common\Select-BrownserveContent.ps1
- Public\Common\Set-BrownserveContent.ps1
- Public\Common\Set-LineEndings.ps1
- Public\Common\Test-Administrator.ps1
- Public\Common\Test-Numeric.ps1
- Public\Common\Test-OperatingSystem.ps1
- Public\Git\Add-GitChanges.ps1
- Public\Git\ConvertTo-HTTPSRepoURL.ps1
- Public\Git\Copy-GitRemoteRepository.ps1
- Public\Git\Get-GitBranches.ps1
- Public\Git\Get-GitChanges.ps1
- Public\Git\Get-GitCurrentBranch.ps1
- Public\Git\Get-GitMerges.ps1
- Public\Git\Get-GitRemoteOriginURL.ps1
- Public\Git\Get-GitRootDirectory.ps1
- Public\Git\New-GitBranch.ps1
- Public\Git\Push-GitChanges.ps1
- Public\Git\Submit-GitChanges.ps1
- Public\Git\Switch-GitBranch.ps1
- Public\GitHub\Add-GitHubReleaseAsset.ps1
- Public\GitHub\Add-PullRequestComment.ps1
- Public\GitHub\Get-GitHubIssues.ps1
- Public\GitHub\Get-GitHubPullRequests.ps1
- Public\GitHub\Get-GitHubRelease.ps1
- Public\GitHub\Get-GitHubTags.ps1
- Public\GitHub\Get-OpenPullRequests.ps1
- Public\GitHub\New-GitHubBranch.ps1
- Public\GitHub\New-GitHubCommit.ps1
- Public\GitHub\New-GitHubPullRequest.ps1
- Public\GitHub\New-GitHubRelease.ps1
- Public\GitHub\New-PullRequest.ps1
- Public\Markdown\Format-Markdown.ps1
- Public\Markdown\Remove-Markdown.ps1
- Public\PowerShell\Import-PlatyPSModule.ps1
- Public\PowerShell\Invoke-ConvertFromYaml.ps1
- Public\PowerShell\Invoke-ConvertToYaml.ps1
- Public\PowerShell\New-BrownservePowerShellModule.ps1
- Public\PowerShell\PlatyPS\Add-ModuleHelp.ps1
- Public\PowerShell\PlatyPS\Build-ModuleDocumentation.ps1
- Public\PowerShell\Update-BrownservePowerShellModule.ps1
- Public\Slack\Send-SlackNotification.ps1
- Public\Teamcity\Publish-TeamcityArtifact.ps1
- Public\Teamcity\Set-TeamcityBuildNumber.ps1
- Public\Teamcity\Write-TeamcityBuildProblem.ps1
- Public\Teamcity\Write-TeamcityStatus.ps1
- Public\Terraform\Format-TerraformResourceName.ps1
- Public\Terraform\Get-Terraform.ps1
- Public\Terraform\Get-TerraformResource.ps1
- Public\Terraform\Invoke-TerraformApply.ps1
- Public\Terraform\Invoke-TerraformInit.ps1
- Public\Terraform\Invoke-TerraformPlan.ps1
- Public\Terraform\Invoke-TerraformShow.ps1
- Public\Terraform\Invoke-TerraformValidate.ps1
- Public\Terraform\New-TerraformResourceBlock.ps1
- Public\Terraform\Set-TerraformLogLevel.ps1
- Public\Vault\Get-Vault.ps1
- Public\Vault\Get-VaultSecret.ps1
- Public\Web\Split-URI.ps1
- en-US\Brownserve.PSTools-help.xml
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.18.0 | 0 | 5/18/2026 |
| 0.17.1 | 0 | 5/17/2026 |
| 0.17.0 | 3 | 5/13/2026 |
| 0.16.1 (current version) | 3 | 5/11/2026 |
| 0.16.1-preview1 | 2 | 5/11/2026 |
| 0.16.0 | 94 | 9/9/2023 |
| 0.15.0 | 10 | 8/10/2023 |
| 0.14.0 | 12 | 7/29/2023 |
| 0.13.1 | 10 | 7/23/2023 |
| 0.13.0 | 10 | 7/22/2023 |
| 0.12.0 | 11 | 6/4/2023 |
| 0.11.0 | 16 | 4/19/2023 |
| 0.10.1 | 10 | 4/13/2023 |
| 0.9.0 | 15 | 3/27/2023 |
| 0.8.2 | 80 | 2/21/2022 |
| 0.8.1 | 15 | 2/21/2022 |
| 0.8.0 | 17 | 2/20/2022 |
| 0.7.0 | 22 | 12/7/2021 |
| 0.6.0 | 16 | 12/7/2021 |
| 0.5.3 | 19 | 11/19/2021 |
| 0.5.2 | 15 | 11/18/2021 |
| 0.5.1 | 15 | 11/18/2021 |
| 0.5.0 | 15 | 11/17/2021 |
| 0.4.1 | 15 | 11/17/2021 |
| 0.4.0 | 15 | 11/15/2021 |
| 0.3.0 | 40 | 10/12/2021 |
| 0.2.1 | 18 | 10/6/2021 |
| 0.2.0 | 15 | 10/6/2021 |
| 0.1.1 | 17 | 10/5/2021 |
| 0.1.0 | 16 | 10/5/2021 |
| 0.1.0-rev | 13 | 10/4/2021 |
| 0.1.0-dev | 14 | 10/4/2021 |