Skip to content

Commit bcdd0c5

Browse files
committed
updating Get-DBOPackage help
1 parent 547c5b4 commit bcdd0c5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

functions/Get-DBOPackage.ps1

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Function 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

0 commit comments

Comments
 (0)