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 1
1
Function Get-DBOPackage {
2
2
<#
3
3
. 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.
5
5
6
6
. 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 .
8
8
9
9
. PARAMETER Path
10
10
Path to the DBOps package
@@ -18,14 +18,15 @@ Function Get-DBOPackage {
18
18
Mostly intended for internal use. Gets package information from extracted package.
19
19
20
20
. PARAMETER Confirm
21
- Prompts to confirm certain actions
21
+ Prompts to confirm certain actions
22
22
23
23
. 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
25
25
26
26
. EXAMPLE
27
27
# 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
29
30
30
31
. NOTES
31
32
You can’t perform that action at this time.
0 commit comments