File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11Function Get-DBOPackage {
22 <#
33 . SYNOPSIS
4- Shows information about the existin DBOps package
4+ Reads a DBOps package from disk and returns it as an object that can be interacted with.
55
66 . DESCRIPTION
7- Reads DBOps package header and configuration files and returns an object with corresponding properties .
7+ Reads the contents of the zip archive containing a DBOps package and returns an DBOpsPackage object .
88
99 . PARAMETER Path
1010 Path to the DBOps package
@@ -18,14 +18,15 @@ Function Get-DBOPackage {
1818 Mostly intended for internal use. Gets package information from extracted package.
1919
2020 . PARAMETER Confirm
21- Prompts to confirm certain actions
21+ Prompts to confirm certain actions
2222
2323 . PARAMETER WhatIf
24- Shows what would happen if the command would execute, but does not actually perform the command
24+ Shows what would happen if the command would execute, but does not actually perform the command
2525
2626 . EXAMPLE
2727 # Returns information about the package myPackage.zip, only including infomartion about builds 1.1 and 1.2
28- Get-DBOPackage -Path c:\temp\myPackage.zip -Build 1.1, 1.2
28+ $pkg = Get-DBOPackage .\mypackage.zip
29+ $pkg.GetBuild('1.0').Scripts.Name
2930
3031 . NOTES
3132
You can’t perform that action at this time.
0 commit comments