From 04c57201941c901c9a09e9ef7af5b9b2a15923e0 Mon Sep 17 00:00:00 2001 From: Squillario Date: Mon, 23 Jan 2023 09:47:45 -0700 Subject: [PATCH] Release 3.3.3 --- CHANGELOG.md | 4 ++++ DellOpenManage/DellOpenManage.psd1 | 4 ++-- DellOpenManage/Public/OME/Invoke-OMEApplianceBackup.ps1 | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8cf8ff..6bc26f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.3.3]() - 2023-01-23 +### Fixed +- Fixed typo in Invoke-OMEApplianceBackup + ## [3.3.2]() - 2023-01-20 ### Changed - Changed Invoke-OMEApplianceBackupRestore to Invoke-OMEApplianceBackup only. Restore must be done in OME-M at this time. diff --git a/DellOpenManage/DellOpenManage.psd1 b/DellOpenManage/DellOpenManage.psd1 index 0ff46f9..911a928 100644 --- a/DellOpenManage/DellOpenManage.psd1 +++ b/DellOpenManage/DellOpenManage.psd1 @@ -3,7 +3,7 @@ # # Generated by: Trevor Squillario # -# Generated on: 1/20/2023 +# Generated on: 1/23/2023 # @{ @@ -12,7 +12,7 @@ RootModule = 'DellOpenManage.psm1' # Version number of this module. -ModuleVersion = '3.3.2' +ModuleVersion = '3.3.3' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/DellOpenManage/Public/OME/Invoke-OMEApplianceBackup.ps1 b/DellOpenManage/Public/OME/Invoke-OMEApplianceBackup.ps1 index 5143af0..ad478c1 100644 --- a/DellOpenManage/Public/OME/Invoke-OMEApplianceBackup.ps1 +++ b/DellOpenManage/Public/OME/Invoke-OMEApplianceBackup.ps1 @@ -71,14 +71,14 @@ function Get-BackupJobPayload($Name, $Description, $Share, $SharePath, $ShareTyp "shareAddress" = $Share "device_id" = $DeviceId.ToString() "userName" = $UserName - "password" = if ($Password) { + "password" = $(if ($Password) { $PasswordText = (New-Object PSCredential "user", $Password).GetNetworkCredential().Password $PasswordText - } - "encryption_password" = if ($EncryptionPassword) { + }) + "encryption_password" = $(if ($EncryptionPassword) { $EncryptionPasswordText = (New-Object PSCredential "user", $EncryptionPassword).GetNetworkCredential().Password $EncryptionPasswordText - } + }) "includePasswords" = $(if ($IncludePw) { "true" } else { "false"}) "includeCertificates" = $(if ($IncludeCertificates) { "true" } else { "false"}) }