Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Bicep
1.4.1
Private/InstalledBicepVersion.ps1
function
InstalledBicepVersion
{
if
(
TestBicep
)
{
(
(
bicep
--version
)
-split
"\s+"
)
[
3
]
}
else
{
"Not installed"
}
}