Bicep

2.7.0

A module to run Bicep using PowerShell. The module is a community project built using the Bicep assemblies to provide you with an enhanced Bicep experience directly from PowerShell without having Bicep CLI installed.

The module also provides the additional features:
- Generate ARM template parameter files directly from a Bicep file
- Quickly open the API reference d
A module to run Bicep using PowerShell. The module is a community project built using the Bicep assemblies to provide you with an enhanced Bicep experience directly from PowerShell without having Bicep CLI installed.

The module also provides the additional features:
- Generate ARM template parameter files directly from a Bicep file
- Quickly open the API reference docs by referencing the Bicep types
- Get the result from a build as a string or hashtable instead of writing to a file
- Test if a Bicep file is valid without building it
- Convert JSON objects to Bicep Language
- Install/Update/Uninstall Bicep CLI
- Specify output folder when building* and decompiling Bicep/ARM templates
- Specify output filename when building Bicep files
- Find modules in private module registries
- Clear local module cache

For more information about Bicep, please visit the official Bicep GitHub Repository:
https://github.com/Azure/bicep
Show more

Minimum PowerShell version

7.4

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name Bicep -RequiredVersion 2.7.0

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

Install-PSResource -Name Bicep -Version 2.7.0

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) Stefan Ivemo. All rights reserved.

Package Details

Author(s)

  • Stefan Ivemo

Tags

azure bicep arm-json arm-templates windows bicepnet psbicep

Cmdlets

Get-BicepConfig

Functions

Build-Bicep Build-BicepParam Clear-BicepModuleCache Convert-BicepParamsToDecoratorStyle Convert-JsonToBicep ConvertTo-Bicep Export-BicepChildResource Export-BicepResource Find-BicepModule Format-BicepFile Get-BicepApiReference Get-BicepMetadata Get-BicepUsedModules Get-BicepVersion Install-BicepCLI New-BicepMarkdownDocumentation New-BicepParameterFile Publish-Bicep Restore-Bicep Test-BicepFile Uninstall-BicepCLI Update-BicepCLI Update-BicepParameterFile Update-BicepTypes

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

## [2.7.0] - 2024-10-28

### Changed

- Fix bug with Get-BicepConfig not properly resolving paths

### Added

- Bicep support for version 0.30.23
- Clear-BicepModuleCache has new parameter -Path to support custom cache path set in bicepconfig (fixes #306)
- Publish-Bicep now supports -DocumentationUri (fixes #294)

FileList

  • Bicep.nuspec
  • Bicep.psd1
  • PSBicep.Core\Grpc.Core.Api.dll
  • PSBicep.Core\Azure.Deployments.Extensibility.Core.dll
  • PSBicep.Core\SharpYaml.dll
  • LICENSE
  • PSBicep.Core\System.Configuration.ConfigurationManager.dll
  • PSBicep.Core\Microsoft.IdentityModel.Abstractions.dll
  • PSBicep.Core\System.Security.Cryptography.ProtectedData.dll
  • CHANGELOG.md
  • PSBicep.Core\System.ServiceModel.Http.dll
  • PSBicep.Core\Microsoft.ApplicationInsights.dll
  • PSBicep.Core\Microsoft.Graph.Bicep.Types.dll
  • Bicep.psm1
  • PSBicep.Core\OmniSharp.Extensions.JsonRpc.dll
  • PSBicep.Core\Microsoft.Extensions.Logging.Abstractions.dll
  • PSBicep.Core\Sprache.StrongNamed.dll
  • PSBicep.Core\CommandLine.dll
  • PSBicep.Core\Azure.ResourceManager.Subscription.dll
  • PSBicep.Core\Azure.Deployments.Core.dll
  • en-US\Bicep-help.xml
  • PSBicep.Core\System.ServiceModel.Duplex.dll
  • PSBicep.Core\System.Memory.Data.dll
  • PSBicep.Core\Newtonsoft.Json.Bson.dll
  • PSBicep.Core\Azure.Deployments.Engine.dll
  • PSBicep.Core\Microsoft.Bcl.AsyncInterfaces.dll
  • PSBicep.Core\Json.More.dll
  • PSBicep.Core\Azure.Identity.dll
  • PSBicep.Core\System.Diagnostics.PerformanceCounter.dll
  • PSBicep.Core\Microsoft.Extensions.Primitives.dll
  • PSBicep.Core\Microsoft.Extensions.Configuration.dll
  • PSBicep.Core\Azure.Bicep.Local.Deploy.dll
  • PSBicep.Core\TestableIO.System.IO.Abstractions.dll
  • PSBicep.Core\System.ServiceModel.NetTcp.dll
  • PSBicep.Core\System.Net.IPNetwork.dll
  • PSBicep.Core\System.ServiceModel.Syndication.dll
  • PSBicep.Core\System.Threading.AccessControl.dll
  • PSBicep.Core\System.IO.Ports.dll
  • PSBicep.Core\Microsoft.IdentityModel.JsonWebTokens.dll
  • PSBicep.Core\System.Data.SqlClient.dll
  • PSBicep.Core\Azure.Bicep.Types.Az.dll
  • PSBicep.Core\Azure.Core.dll
  • PSBicep.Core\TestableIO.System.IO.Abstractions.Wrappers.dll
  • PSBicep.Core\System.ServiceModel.Primitives.dll
  • PSBicep.Core\Grpc.Net.Common.dll
  • PSBicep.Core\System.Net.Http.Formatting.dll
  • PSBicep.Core\System.ServiceModel.dll
  • PSBicep.Core\Microsoft.Extensions.Options.dll
  • PSBicep.Core\System.Private.ServiceModel.dll
  • PSBicep.Core\System.ComponentModel.Composition.dll
  • PSBicep.Core\JsonSchema.Net.dll
  • PSBicep.Core\Microsoft.Extensions.Logging.dll
  • PSBicep.Core\Microsoft.Extensions.Options.ConfigurationExtensions.dll
  • PSBicep.Core\Microsoft.VisualStudio.Validation.dll
  • PSBicep.Core\Microsoft.Extensions.DependencyInjection.dll
  • PSBicep.Core\System.Management.dll
  • PSBicep.Core\System.DirectoryServices.Protocols.dll
  • PSBicep.Core\Azure.Deployments.ResourceMetadata.dll
  • PSBicep.Core\System.Drawing.Common.dll
  • PSBicep.Core\System.CodeDom.dll
  • PSBicep.Core\Semver.dll
  • PSBicep.Core\System.IdentityModel.Tokens.Jwt.dll
  • PSBicep.Core\Newtonsoft.Json.dll
  • PSBicep.Core\Microsoft.Identity.Client.Extensions.Msal.dll
  • PSBicep.Core\Microsoft.WindowsAzure.ResourceStack.dll
  • PSBicep.Core\JsonDiffPatchDotNet.dll
  • PSBicep.Core\Bicep.LangServer.dll
  • PSBicep.Core\Microsoft.Extensions.FileProviders.Abstractions.dll
  • PSBicep.Core\Grpc.Net.Client.dll
  • PSBicep.Core\System.DirectoryServices.AccountManagement.dll
  • PSBicep.Core\Nerdbank.Streams.dll
  • PSBicep.Core\Azure.ResourceManager.dll
  • PSBicep.Core\System.Windows.Extensions.dll
  • PSBicep.Core\System.Data.Odbc.dll
  • PSBicep.Core\Microsoft.Extensions.Diagnostics.Abstractions.dll
  • PSBicep.Core\System.Security.Cryptography.Xml.dll
  • PSBicep.Core\System.IO.Abstractions.dll
  • PSBicep.Core\Microsoft.VisualStudio.Threading.dll
  • PSBicep.Core\Azure.Deployments.Expression.dll
  • PSBicep.Core\OmniSharp.Extensions.LanguageProtocol.dll
  • PSBicep.Core\Microsoft.Win32.SystemEvents.dll
  • PSBicep.Core\Azure.Bicep.Local.Extension.pdb
  • PSBicep.Core\JsonPointer.Net.dll
  • PSBicep.Core\Microsoft.Extensions.Configuration.Abstractions.dll
  • PSBicep.Core\Google.Protobuf.dll
  • PSBicep.Core\System.Speech.dll
  • PSBicep.Core\Bicep.LangServer.pdb
  • PSBicep.Core\srm.dll
  • PSBicep.Core\Azure.Bicep.Decompiler.dll
  • PSBicep.Core\Microsoft.Extensions.Diagnostics.dll
  • PSBicep.Core\Azure.Bicep.Core.pdb
  • PSBicep.Core\System.Security.Cryptography.Pkcs.dll
  • PSBicep.Core\Azure.ResourceManager.ResourceGraph.dll
  • PSBicep.Core\OmniSharp.Extensions.LanguageServer.Shared.dll
  • PSBicep.Core\System.Web.Services.Description.dll
  • PSBicep.Core\Azure.ResourceManager.Resources.dll
  • PSBicep.Core\System.Data.OleDb.dll
  • PSBicep.Core\Microsoft.Identity.Client.dll
  • PSBicep.Core\System.Security.Permissions.dll
  • PSBicep.Core\OmniSharp.Extensions.LanguageServer.dll
  • PSBicep.Core\Azure.Deployments.DiffEngine.dll
  • PSBicep.Core\System.ServiceModel.Security.dll
  • PSBicep.Core\Azure.Bicep.Local.Extension.dll
  • PSBicep.Core\Microsoft.Extensions.Configuration.FileExtensions.dll
  • PSBicep.Core\System.ClientModel.dll
  • PSBicep.Core\Azure.Deployments.Extensibility.dll
  • PSBicep.Core\System.Runtime.Caching.dll
  • PSBicep.Core\Azure.Deployments.Templates.dll
  • PSBicep.Core\System.DirectoryServices.dll
  • PSBicep.Core\JsonPatch.Net.dll
  • PSBicep.Core\Azure.Bicep.Types.K8s.dll
  • PSBicep.Core\Azure.Bicep.Decompiler.pdb
  • PSBicep.Core\Azure.Deployments.JsonPath.dll
  • PSBicep.Core\MediatR.dll
  • PSBicep.Core\System.ComponentModel.Composition.Registration.dll
  • PSBicep.Core\Azure.ResourceManager.Authorization.dll
  • PSBicep.Core\Microsoft.IdentityModel.Tokens.dll
  • PSBicep.Core\System.Diagnostics.EventLog.dll
  • PSBicep.Core\PSBicep.Core.pdb
  • PSBicep.Core\Azure.Bicep.Core.dll
  • PSBicep.Core\JetBrains.Annotations.dll
  • PSBicep.Core\Microsoft.Extensions.ObjectPool.dll
  • PSBicep.Core\Microsoft.IdentityModel.Logging.dll
  • PSBicep.Core\Azure.Containers.ContainerRegistry.dll
  • PSBicep.Core\JsonPath.Net.dll
  • PSBicep.Core\Humanizer.dll
  • PSBicep.Core\System.Reactive.dll
  • PSBicep.Core\System.ServiceProcess.ServiceController.dll
  • PSBicep.Core\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • PSBicep.Core\PSBicep.Core.dll
  • PSBicep.Core\Microsoft.Win32.Registry.AccessControl.dll
  • PSBicep.Core\System.Reflection.Context.dll
  • PSBicep.Core\System.IO.Packaging.dll
  • PSBicep.Core\Azure.Bicep.Local.Deploy.pdb
  • PSBicep.Core\Microsoft.Extensions.FileSystemGlobbing.dll
  • PSBicep\PSBicep.dll
  • PSBicep.Core\Microsoft.Extensions.FileProviders.Physical.dll
  • PSBicep.Core\Microsoft.Extensions.Configuration.Binder.dll
  • PSBicep.Core\System.IO.Pipelines.dll
  • PSBicep\PSBicep.pdb
  • PSBicep.Core\Microsoft.Extensions.Configuration.Json.dll
  • PSBicep.Core\Microsoft.Extensions.Http.dll
  • PSBicep.Core\Azure.Bicep.Types.dll
  • Assets\BicepTypes.json

Version History

Version Downloads Last updated
2.7.1-preview 16 10/29/2024
2.7.0 (current version) 11,215 10/28/2024
2.7.0-preview 38 8/11/2024
2.6.1 36,793 8/6/2024
2.6.0 2,275 8/2/2024
2.5.0 273,023 1/14/2024
2.4.0 11,749 9/27/2023
2.4.0-Preview1 97 6/15/2023
2.3.3 1,068,191 11/2/2022
2.3.2 48,346 9/25/2022
2.3.1 26,535 8/2/2022
2.3.0 4,454 6/28/2022
2.2.0 177,675 5/25/2022
2.1.0 987,065 12/14/2021
2.0.0 147,558 7/29/2021
2.0.0-Preview2 50 7/23/2021
2.0.0-Preview1 56 7/15/2021
1.5.1 388,289 6/29/2021
1.5.0 12,010 6/7/2021
1.4.7 10,547 5/19/2021
1.4.6 530 5/12/2021
1.4.5 63,151 4/17/2021
1.4.4 117 4/11/2021
1.4.3 164 3/21/2021
1.4.2 152 3/4/2021
1.4.1 73 3/4/2021
1.4.0 87 3/2/2021
1.3.0 112 2/15/2021
1.2.1 91 1/25/2021
1.2.0 57 1/22/2021
1.1.1 59 1/17/2021
1.1.0 55 1/15/2021
1.0.0 70 1/13/2021
Show more