Skip to content

Commit

Permalink
Release v2.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cblandrewa committed Dec 30, 2022
1 parent eb17b90 commit 88aece8
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 22 deletions.
Binary file modified docs/api/get-mbsapibuild.md
Binary file not shown.
Binary file modified docs/api/request-mbsapibuild.md
Binary file not shown.
Binary file modified docs/tools/set-msp360modulesettings.md
Binary file not shown.
26 changes: 15 additions & 11 deletions msp360.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

CompanyName = 'MSP360'

ModuleVersion = '2.40.0'
ModuleVersion = '2.53.0'

# Use the New-Guid command to generate a GUID, and copy/paste into the next line
GUID = '69079da4-a0de-426d-bece-ae139c8b5f1a'
Expand Down Expand Up @@ -48,17 +48,21 @@

# What new features, bug fixes, or deprecated features, are part of this release?
ReleaseNotes = @"
- New cmdlets:
- Start-MBSAgentService (https://mspbackups.com/AP/Help/powershell/cmdlets/tools/start-mbsagentservice)
- Restart-MBSAgentService (https://mspbackups.com/AP/Help/powershell/cmdlets/tools/restart-mbsagentservice)
- Stop-MBSAgentService (https://mspbackups.com/AP/Help/powershell/cmdlets/tools/stop-mbsagentservice)
- Bugfix:
- Get-MBSBackupPlan: NBF plans - incorrect frequency is set if 'DayOfWeek' includes all days and the initial frequency is not 'Weekly'
- Get-MBSBackupPlan: NBF plans - 'DayOfWeek' for monthly incremental schedule is not set
- Get-MBSBackupPlan: NBF plans - 'DayOfMonth' value is not set if frequency is 'DayOfMonth'
- Get-MBSBackupPlan: NBF plans - 'RepeatInterval' and 'RepeatStartDate' are not set
- Enhancement:
- New-MBSAPICompany, Get-MBSAPICompany, Edit-MBSAPICompany: added company backup destination ID parameter and output
- New-MBSAPIAdministrator, Get-MBSAPIAdministrator, Edit-MBSAPIAdministrator: added AccountType parameter and output (this value is intended for future RBAC)
- New-MBSAPIAdministratorPermission: added -ManageImmutability parameter
- New-MBSNBFPlanSchedule: removed -Once switch (once frequency not supported in NBF)
- New-MBSNBFPlanSchedule: added -RepeatInterval and -RepeatStartDate parameters (MBS Backup Agent 7.5 release)
- Test-MBSConnection: suppress warning messages if TCP test succeeded, but ICMP ping failed
- Get-MBSBackupPlan: RAW output type now returns NBF backup plans in their source (not converted) format in the same form as CBF backup plans
- Edit-MBSBackupPlan: adding and disabling file/folder exclusions for Image-Based backup plans improvements (MBS Backup Agent release 7.8.2)
- Stop-MBSPlan: force stop improvements (MBS Backup Agent release 7.8.2)
- Get-MBSAgentSetting, Get-MBSStorageAccount: added checks for cases when 'enginesettings.list' is empty, corrupt or incorrect format
- Get-MBSAPIBuild: added RMM build type
- Get-MBSAPIBuild: renamed build type values for convenience. Possible values - 'Windows','VMEdition','LinuxDEB','LinuxRPM','macOS','RMM'
- Request-MBSAPIBuild: introduced enums for -BuildType and -BuildEditions parameters
- Remove-MBSAgent, Remove-CONAgent, Remove-RMMAgent: output message improvements
- Set-MSP360ModuleSettings: added -SkipEngineSettingsListCheck parameter for cases when some cmdlets do not work properly if 'enginesettings.list' is not present (e.g. after MBS Backup Agent clean install, before assigning a backup user)
"@
}
}
Expand Down
16 changes: 11 additions & 5 deletions private/Add-MBSAPIType.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ namespace MBS.API
public string DestinationId;
}
public class Build {
public class BuildModels {
public string Type;
public string Version;
public string DownloadLink;
}
public class BuildEdition {
public MBS.API.BuildEditionType Type;
public string Version;
public class RequestBuilds {
public MBS.API.BuildEdition[] Editions;
public MBS.API.BuildType Type;
}
public class Monitoring {
Expand Down Expand Up @@ -316,7 +316,7 @@ namespace MBS.API
CompanyLicensesPool
}
public enum BuildEditionType
public enum BuildEdition
{
Windows,
VirtualMachine,
Expand All @@ -326,6 +326,12 @@ namespace MBS.API
DedupServer
}
public enum BuildType
{
Custom,
Sandbox
}
public enum MonitoringPlanType
{
NA,
Expand Down
1 change: 1 addition & 0 deletions private/Add-MBSCBBType.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ namespace MBS.PSModule
{
public string CBBPath;
public string CBBProgramData;
public bool SkipEngineSettingsListCheck;
public bool SkipCompression;
public bool SkipEncryption;
public bool SkipStorageClass;
Expand Down
Binary file modified public/api/Get-MBSAPIBuild.ps1
Binary file not shown.
Binary file modified public/api/Request-MBSAPIBuild.ps1
Binary file not shown.
Binary file modified public/cbb/Edit-MBSBackupPlan.ps1
Binary file not shown.
Binary file modified public/cbb/Get-MBSAgent.ps1
Binary file not shown.
Binary file modified public/cbb/Get-MBSAgentSetting.ps1
Binary file not shown.
Binary file modified public/cbb/Get-MBSBackupPlan.ps1
Binary file not shown.
Binary file modified public/cbb/Get-MBSStorageAccount.ps1
Binary file not shown.
Binary file modified public/cbb/Remove-MBSAgent.ps1
Binary file not shown.
Binary file modified public/cbb/Set-MBSAgentSetting.ps1
Binary file not shown.
Binary file modified public/cbb/Stop-MBSPlan.ps1
Binary file not shown.
4 changes: 1 addition & 3 deletions public/connect/Install-CONAgent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ function Install-CONAgent {
(New-Object Net.WebClient).DownloadFile("$URL", "$TempPath\$TempFolder\$FileName")
(Start-MBSProcess -CMDPath "$TempPath\$TempFolder\$FileName" -CMDArguments "$Arguments").stdout
Remove-Item -Path "$TempPath\$TempFolder" -Force -Recurse
}
else
{
}else{
return "The Connect agent is already installed."
}
}
Expand Down
6 changes: 3 additions & 3 deletions public/connect/Remove-CONAgent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ function Remove-CONAgent {
$Arguments = "/S"
if ($Force){
(Start-MBSProcess -CMDPath $CONN.UninstallString -CMDArguments $Arguments).stdout
Write-Host "The Connect agent has been uninstalled."
return "The Connect agent has been uninstalled."
}else{
if (Confirm-MBSAction -Operation "Remove-CONAgent" -Target "Connect agent"){
(Start-MBSProcess -CMDPath $CONN.UninstallString -CMDArguments $Arguments).stdout
Write-Host "The Connect agent has been uninstalled."
return "The Connect agent has been uninstalled."
}
}
}else{
Write-Host "Cannot find the Connect agent."
return "Cannot find the Connect agent."
}
}

Expand Down
Binary file modified public/rmm/Install-RMMAgent.ps1
Binary file not shown.
Binary file modified public/rmm/Remove-RMMAgent.ps1
Binary file not shown.
8 changes: 8 additions & 0 deletions public/tools/Set-MSP360ModuleSettings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ function Set-MSP360ModuleSettings {
.PARAMETER CBBProgramData
Path to Online Backup's configuration folder. Used by Get-MBSAgent cmdlet to skip registry checks. Takes effect only if CBBPath is also specified.
.PARAMETER SkipEngineSettingsListCheck
Skip check for "enginesettings.list" file and set the program data folder path with the default value or specified in the CBBProgramData parameter
.PARAMETER SkipCompression
Ignore compression option in New-MBSBackupPlan, Edit-MBSBackupPlan, New-MBSNBFFileBackupPlan, New-MBSNBFIBBBackupPlan cmdlets
Expand Down Expand Up @@ -55,6 +58,10 @@ function Set-MSP360ModuleSettings {
[string]
$CBBProgramData,
#
[Parameter(Mandatory=$false, HelpMessage="Skip check for ""enginesettings.list"" file and set the program data folder path with the default value or specified in the CBBProgramData parameter")]
[boolean]
$SkipEngineSettingsListCheck=$false,
#
[Parameter(Mandatory=$false, HelpMessage="Ignore compression option in New-MBSBackupPlan, Edit-MBSBackupPlan, New-MBSNBFFileBackupPlan, New-MBSNBFIBBBackupPlan cmdlets")]
[boolean]
$SkipCompression=$false,
Expand Down Expand Up @@ -84,6 +91,7 @@ function Set-MSP360ModuleSettings {
$Global:MSP360ModuleSettings = New-Object -Typename MBS.PSModule.Settings
$Global:MSP360ModuleSettings.CBBPath = $CBBPath
$Global:MSP360ModuleSettings.CBBProgramData = $CBBProgramData
$Global:MSP360ModuleSettings.SkipEngineSettingsListCheck = $SkipEngineSettingsListCheck
$Global:MSP360ModuleSettings.SkipCompression = $SkipCompression
$Global:MSP360ModuleSettings.SkipEncryption = $SkipEncryption
$Global:MSP360ModuleSettings.SkipStorageClass = $SkipStorageClass
Expand Down

0 comments on commit 88aece8

Please sign in to comment.