fixes to casing, and some basic functions changed to advanced

This commit is contained in:
jhoneill
2019-11-25 23:40:51 +00:00
parent feb493e397
commit 5e87c3f6a7
43 changed files with 118 additions and 133 deletions

View File

@@ -3,9 +3,10 @@
param()
Function Update-FirstObjectProperties {
Try {
function Update-FirstObjectProperties {
[CmdletBinding()]
param()
try {
$Union = @()
$Input | ForEach-Object {
If ($Union.Count) {
@@ -17,7 +18,7 @@ Function Update-FirstObjectProperties {
}
$Union
}
Catch {
catch {
throw "Failed updating the properties of the first object: $_"
}
}