Skip to content

Commit 5ef9312

Browse files
added verbose support
1 parent 951d00e commit 5ef9312

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

schema/schema.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,14 @@ function Get-Property {
131131
)
132132

133133
process {
134+
Write-Verbose $SchemaDocument;
135+
Write-Verbose $Name;
134136
if ($Name) {
137+
Write-Verbose "Return specific Property";
135138
$SchemaDocument.properties.$Name;
136139
}
137140
else {
141+
Write-Verbose "Return all properties";
138142
$SchemaDocument.properties;
139143
}
140144
}

0 commit comments

Comments
 (0)