Releasing Software Packages

Software Packages are released through setting the property ReleaseStatus to the value Released and a subsequent call to the method Update().


Examples:


Hint: The execution of these examples requires a connected PowerShell drive.


Release the Software Package named "Adobe Reader 9.0" from the directory "Global Software Library\Application Library\Adobe\Adobe Reader":


$MySwPackage = Get-EmdbSoftwarePackage "emdb:\rootDSE\Global Software Library\Application Library\Adobe\Adobe Reader\Adobe Reader 9.0"

$MySwPackage.ReleaseStatus = "Released"

$MySwPackage.Update()