msp360.psd1

@{
    # If authoring a script module, the RootModule is the name of your .psm1 file
    RootModule = 'msp360.psm1'

    Author = 'Aleksey Volkov <services@msp360.com>'

    CompanyName = 'MSP360'

    ModuleVersion = '0.8.1'

    # Use the New-Guid command to generate a GUID, and copy/paste into the next line
    GUID = '69079da4-a0de-426d-bece-ae139c8b5f1a'

    Copyright = '(c) 2020 Aleksey Volkov. All rights reserved.'

    Description = 'The module includes cmdlets to manage MSP360 (CloudBerry) Backup agent, MBS API and tools.'

    # Minimum PowerShell version supported by this module (optional, recommended)
    PowerShellVersion = '3.0'

    # Which PowerShell Editions does this module work with? (Core, Desktop)
    #CompatiblePSEditions = @('Desktop', 'Core')

    # Which PowerShell functions are exported from your module? (eg. Get-CoolObject)
    FunctionsToExport = '*'

    # Which PowerShell aliases are exported from your module? (eg. gco)
    AliasesToExport = '*'

    # Which PowerShell variables are exported from your module? (eg. Fruits, Vegetables)
    VariablesToExport = '*'

    # PowerShell Gallery: Define your module's metadata
    PrivateData = @{
        PSData = @{
            #Prerelease =
            # What keywords represent your PowerShell module? (eg. cloud, tools, framework, vendor)
            Tags = @('MBS', 'MSP360', 'CloudBerry', 'API', 'OnlineBackup', 'Backup', 'MSP', 'mspbackups')

            # What software license is your code being released under? (see https://opensource.org/licenses)
            LicenseUri = 'https://opensource.org/licenses/Apache-2.0'

            # What is the URL to your project's website?
            ProjectUri = 'https://kb.cloudberrylab.com/managed-backup-service/powershell-module/get-started/'

            # What is the URI to a custom icon file for your project? (optional)
            IconUri = 'https://www.cloudberrylab.com/img/logos/cbl/CloudBerry-Lab-is-now-MSP360-light-bg.svg'

            # What new features, bug fixes, or deprecated features, are part of this release?
            ReleaseNotes = @"
- New cmdlets:
    - #PS-1047 Get-MBSNetworkCredential (https://kb.msp360.com/managed-backup-service/powershell-module/cmdlets/backup-agent/get-mbsnetworkcredential)
    - #PS-1052 New-MBSNetworkCredential (https://kb.msp360.com/managed-backup-service/powershell-module/cmdlets/backup-agent/new-mbsnetworkcredential)
 
- Bug fix:
    - #PS-1084 #Add-MBSUserAccount fails due to Get-MBSAgentSetting in the begin section
    - #PS-1090 #New-MBSBackupPlan DayOfWeek is not accepted by CLI
    - #PS-1092 #New-MBSBackupPlan Volumes parameter does not split each object by -v argument
    - #PS-1093 Advanced rebranding changes default CLI settings
    - #PS-1095 #Edit-MBSBackupPlan Rename dayforcefull parameter to DayOfMonthForceFull. Add dayforcefull as an alias
    - #PS-1088 #API #Get-MBSAPIHeader does not work in PS 3.0/4.0
    - #PS-1089 #New-MBSBackupPlan DateTime to String issues
    - #PS-1091 #CBB New-MBSBackupPlan -stopAfter does not accept value
    - #PS-1094 #Get-MBSBackupPlan -StorageType Local -PlanType File-Level does not show any plans
    - #PS-1096 #Edit-MBSBackupPlan CommonOptionsSet with directly specified ID or Name does not add editbackupplan/editbackupIBBplan to arguments
    - #PS-1098 #Edit-MBSBackupPlan Remove -stopAfterForceFull parameter. It does not exists in CLI.
    - #PS-1099 #Add-MBSUserAccount asks for master password when user account has not logged in yet
    - #PS-1099 #Get-MBSAPIHeader PowerShell v3 uses '20' header instead of 'Accept'
    - #PS-1101 #Edit-MBSBackupPlan invalid parameter name OccursValue
    - #PS-1102 #Edit-MBSBackupPlan Remove -rebackupDate parameter from the Common and Image-Based parameter sets
    - #PS-1103 #Edit-MBSBackupPlan Add human readable aliases to -oa and -es parameters
    - #PS-1104 #Edit-MBSBackupPlan escape SkipFolders, IncludeFilesMask, ExcludeFilesMask
    - #PS-1106 #Add-MBSBackupPlan -sync parameter in CLI enables sync before run regardless of value
    - #PS-1108 #Backup-MBSFile If -vss yes, need to check IsAdmin. ERROR: Error occurred in command line: Unauthorized VSS Access Exception
"@

        }
    }
}