SRxServiceCenter.psd1

@{
    # The module version should be SemVer.org compatible
    ModuleVersion          = '2.1.7'

    # PrivateData is where all third-party metadata goes
    PrivateData            = @{
        # PrivateData.PSData is the PowerShell Gallery data
        PSData             = @{
            # Prerelease string should be here, so we can set it
            Prerelease     = ''

            # Release Notes have to be here, so we can update them
            ReleaseNotes   = '
            Initial release, including lots of fixed bugs and a few features ...
            -
            '


            # Tags applied to this module. These help with module discovery in online galleries.
            Tags           = 'SharePoint','PnP','Provisioning','Library'

            # A URL to the license for this module.
            LicenseUri     = 'https://github.com/nmukhin2251/SRx/blob/master/LICENSE'

            # A URL to the main website for this project.
            ProjectUri     = 'https://github.com/nmukhin2251/SRx'

            # A URL to an icon representing this module.
            IconUri        = 'https://github.com/nmukhin2251/SRx/blob/resources/ModuleBuilder.png?raw=true'
        } # End of PSData
    } # End of PrivateData

    # The main script module that is automatically loaded as part of this module
    RootModule             = 'SRxServiceCenter.psm1'

    # Modules that must be imported into the global environment prior to importing this module --- @('Configuration')
    #RequiredModules = @('SRxCore','Microsoft.Online.SharePoint.PowerShell', 'Microsoft.Graph.Authentication', 'Microsoft.Graph.Users', 'Microsoft.Graph.Sites', 'PnP.Powershell')
    RequiredModules = @(
        @{ ModuleName = 'PnP.PowerShell';                         RequiredVersion = '1.12.0' }
        @{ ModuleName = 'Microsoft.Online.SharePoint.PowerShell'; RequiredVersion = '16.0.26211.12010' }
        @{ ModuleName = 'Microsoft.Graph.Authentication';         RequiredVersion = '2.33.0' }
        @{ ModuleName = 'Microsoft.Graph.Users';                  RequiredVersion = '2.33.0' }
        @{ ModuleName = 'Microsoft.Graph.Sites';                  RequiredVersion = '2.33.0' }
        @{ ModuleName = 'SRxCore'; ModuleVersion = '2.1.14' }
        #@{ ModuleName = 'Microsoft.Graph'; RequiredVersion = '<the version you tested>' }
    )

    <#
    RequiredModules = @(
        @{ ModuleName = 'PnP.PowerShell'; RequiredVersion = '1.12.0' }
        @{ ModuleName = 'Microsoft.Online.SharePoint.PowerShell'; RequiredVersion = '16.0.26211.12010' }
        @{ ModuleName = 'Microsoft.Graph.Authentication'; RequiredVersion = '2.33.0' }
        @{ ModuleName = 'Microsoft.Graph.Users'; RequiredVersion = '2.33.0' }
        @{ ModuleName = 'Microsoft.Graph.Sites'; RequiredVersion = '2.33.0' }
        @{ ModuleName = 'SRxCore' }
    )
#>

    # Always define FunctionsToExport as an empty @() which will be replaced on build
    FunctionsToExport      = @('Invoke-SRxSPListItemOperation','Invoke-SRxSPListOperation','Format-SRxShowTicket','Format-SRxShowURL','Format-SRxShowVerticalMenu','Format-SRxStatusGroupsMenu','Format-SRxTicketsMenu','Invoke-SRxJsonScript','Invoke-SRxProcessScriptBlock','Resolve-SRxRequestApprovalState')
    AliasesToExport        = @()

    # ID used to uniquely identify this module
    GUID                   = '23AAad56-8f64-432f-8da7-87aaf7a34653'
    Description            = 'A module for provisioning SharePoint O365 sites with PnP PowerShell cmdlets'

    # Common stuff for all our modules:
    CompanyName            = 'nmukhin2251'
    Author                 = 'Nik Mukhin'
    Copyright              = "Copyright 2026 Nik Mukhin"

    # Minimum version of the Windows PowerShell engine required by this module
    PowerShellVersion      = '5.1'
    CompatiblePSEditions = @('Core','Desktop')
}