Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
dbatools
0.9.329
bin/build/vsts-prebuild.ps1
$item
=
Get-Item
"bin\dbatools.dll"
$version
=
[System.Diagnostics.FileVersionInfo]
::
GetVersionInfo
(
$item
.
FullName
)
.
FileVersion
$version
|
Export-Clixml
".\vsts-version.xml"