BcAdmin.psd1

#
# Module manifest for module 'BcAdmin'
#
# Generated by: Jascha Vincke
#
# Generated on: 12.06.2025
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'BcAdmin.psm1'

# Version number of this module.
ModuleVersion = '0.0.11'

# Supported PSEditions
# CompatiblePSEditions = @()

# ID used to uniquely identify this module
GUID = '2fbdbc57-b066-42c7-8740-26ec22fcc180'

# Author of this module
Author = 'Jascha Vincke'

# Company or vendor of this module
CompanyName = 'Intelligent Business Solutions'

# Copyright statement for this module
Copyright = '(c) Intelligent Business Solutions, Inh. Jascha Vincke. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Collection of functions to make the daily life of Microsoft Dynamics 365 Business Cental administrators a bit easier.'

# Minimum version of the PowerShell engine required by this module
# PowerShellVersion = ''

# Name of the PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# ClrVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @('Microsoft.PowerShell.SecretManagement', 
               'Microsoft.PowerShell.SecretStore', 
               'BcAdmin.Core')

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = 'Convert-AlcOutputToDevOpsShort', 'Convert-NavToolToSilentScript', 
               'ConvertTo-RelativePath', 'Copy-BcAdminAzSqlDatabase', 
               'Copy-NewestItem', 'Find-InstalledModulePath', 
               'Get-BcAdminAzSqlDatabase', 'Get-BcAdminAzSqlDatabaseLocation', 
               'Get-BcDvd', 'Get-BcDvdUrl', 'Get-BcInstallationProperty', 
               'Get-BcSymbol', 'Get-ColorForBcConfigurationValue', 
               'Get-CommonRootPath', 'Get-DynamicsNavModule', 
               'Get-FilenameFromContentDisposition', 
               'Get-ManagementPathFromMsiLog', 'Get-RecommendedBcConfiguration', 
               'Get-Uninstall', 'Import-BcManagement', 'Install-Bc', 'Install-NavApps', 
               'Invoke-Alc', 'Invoke-CompileBcApp', 
               'Invoke-DynamicsNavServiceAction', 'Invoke-LoggedTask', 
               'Invoke-NavAppUpgrade', 'Invoke-WithPowerShell', 'Invoke-WithRetry', 
               'New-BcAdminAzSqlDatabaseCopy', 'Remove-BcAdminAzSqlDatabase', 
               'Restart-BcService', 'Start-BcSetup', 'Test-BcInstalled', 
               'Test-BcService', 'Test-DynamicsNavModule', 
               'Test-DynamicsNavModuleAvailability', 
               'Test-DynamicsNavModuleCommandAvailability', 'Test-ExcludedFiles', 
               'Test-UrlExists', 'Uninstall-Bc', 'Update-AppVersionAndRuntime', 
               'Wait-BcAdminAzOperation', 'Write-LogLine'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = 'Copy-AzSqlDatabase', 'Copy-Newest', 'Manage-DynamicsNavService'

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        # Tags = @()

        # A URL to the license for this module.
        # LicenseUri = ''

        # A URL to the main website for this project.
        # ProjectUri = ''

        # A URL to an icon representing this module.
        # IconUri = ''

        # ReleaseNotes of this module
        ReleaseNotes = '0.0.11
Moved functions to submodules BcAdmin.Core and BcAdmin.Ssl
Add Invoke-NavAppUpgrade

0.0.10
Removed dependencies Az.Sql, Az.Resources, Az.Accounts and Microsoft.Graph.Applications as these modules create conflicts with modern Business Central PowerShell modules and switched to own functions using the Azure REST Api. Register-BcKeyVault will fail if Microsoft.Graph.Applications is not manually installed (update coming soon(TM)).
Add Connect-ToAzure
Add Get-BcAdminAzSqlDatabase
Add Get-BcAdminAzSqlDatabaseLocation
Add New-BcAdminAzSqlDatabaseCopy
Add Remove-BcAdminAzSqlDatabase
Add Wait-BcAdminAzOperation
Update Test-AzContextAndConnect and Copy-AzSqlDatabase to make use of *-BcAdminAz* functions instead functions from the Az.Sql, Az.Resources and Az.Accounts modules
Fix Set-AzStoredServicePrincipalCredential
Add Test-UrlExists
Remove Import-DynamicsNavModule won''t ever work reliable
Add Get-DynamicsNavModule
Add Convert-NavToolToSilentScript
Add Test-DynamicsNavModule and subroutines
Update Get-BcDvdUrl with test if Url still exists
 
0.0.9
Add New-SecretVault
Update Set-AzStoredServicePrincipalCredential to allow SecureString and String as types for parameter -ClientSecret
Update Import-DynamicsNavModule
 
0.0.8
Add Test-ExcludedFiles
Add Get-FirstItem
Add New-Directory
Add New-TemporaryDirectory with alias New-TempDirectory
Add Test-IsUtf8WithBom
Rename Manage-DynamicsNavService to Invoke-DynamicsNavServiceAction and add alias for old name
Rename Copy-Newest to Copy-NewestItem and bugfix it
Add missing module dependency Microsoft.PowerShell.SecretManagement
Add Test-SecretVaultAvailable
Add dependency Microsoft.PowerShell.SecretStore
Add Set-AzStoredServicePrincipalCredential
Add Remove-AzStoredServicePrincipalCredential
Update Get-AzStoredServicePrincipalCredential to use Microsoft.PowerShell.SecretManagement instead of CredentialManager
Add and update command-based help here and there
 
0.0.7
Fix: .ps1 encoding errors during module load; Convert all files to UTF-8 BOM
Add Convert-ToUtf8Bom
 
0.0.6
Fix: Publish-MyModule and Update-Psm1FromSource
Add command-based-help to Get-FilteredFiles -.-
Fix: Add dependencies
    - Az.Accounts
    - Az.Resources
    - Az.Sql
 
0.0.5
Add Manage-DynamicsNavService
Add Import-DynamicsNavModule
Add Copy-AzSqlDatabase
Add Invoke-WithPowerShell
Add Get-AzStoredServicePrincipalCredential
Add Test-AzContextAndConnect
Add Write-LogLine
Add Invoke-LoggedTask
Add Invoke-WithRetry
Add Get-CommonRootPath
Add Get-FilteredFiles
Add Get-HelpContent
Add Export-FunctionDocs
Add Find-InstalledModulePath
Add Update-ModuleVersion
Add Update-Psm1FromSource
Update Publish-MyModule, add parameter -SkipCleanup to not remove temp files after publish
Fix: Replace Microsoft.Graph dependency by Microsoft.Graph.Applications
Fix: Remove test calls to functions in function files
Add command-based help here and there
 
0.0.4
Add Publish-MyModule
 
0.0.3
Add service configuation parameters to Install-Bc and Start-BcSetup & minor improvements
 
0.0.2
Fix missing BC 22.0 download URL & minor improvements
 
0.0.1
Release core setup functions Start-BcSetup, Test-BcInstalled & Uninstall-Bc along with helpers like Install-Bc, Get-BcDvd and more.'


        # Prerelease string of this module
        # Prerelease = ''

        # Flag to indicate whether the module requires explicit user acceptance for install/update/save
        # RequireLicenseAcceptance = $false

        # External dependent modules of this module
        # ExternalModuleDependencies = @()

    } # End of PSData hashtable

 } # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}