From 678b808e6461f0941cbfc3c84acb5950acfcbf1d Mon Sep 17 00:00:00 2001 From: David Yoder Date: Fri, 16 Dec 2022 12:15:18 -0500 Subject: [PATCH] don't add account again --- Fix-EmberkomCloudBackupProductEdition.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Fix-EmberkomCloudBackupProductEdition.ps1 b/Fix-EmberkomCloudBackupProductEdition.ps1 index 6638293..6c9f189 100644 --- a/Fix-EmberkomCloudBackupProductEdition.ps1 +++ b/Fix-EmberkomCloudBackupProductEdition.ps1 @@ -14,12 +14,12 @@ Install-MSP360Module Import-Module -Name MSP360 # Add backup user to installed product -Try { - $MSP360Password = ConvertTo-SecureString -string $MSP360Password -AsPlainText -Force - LogMsg "Adding backup user account: ${MSP360Username}" - Add-MBSUserAccount -User $MSP360Username -Password $MSP360Password -} -Catch { LogErr $_.Exception.Message } +#Try { +# $MSP360Password = ConvertTo-SecureString -string $MSP360Password -AsPlainText -Force +# LogMsg "Adding backup user account: ${MSP360Username}" +# Add-MBSUserAccount -User $MSP360Username -Password $MSP360Password +#} +#Catch { LogErr $_.Exception.Message } # Set the agent edition # Note: the product edition must be set *after* the user is added