DummyModule.psd1

#
# Module manifest for module 'DummyModule'
#
# Generated by: v-kunalverma
#
# Generated on: 08-02-2024
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'DLMRetentionPackage.PowershellGalleryModule.dll'

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

# Supported PSEditions
# CompatiblePSEditions = @(PSEdition_Desktop)

# ID used to uniquely identify this module
GUID = '1ddc66f7-a42b-408b-a215-8499fc477607'

# Author of this module
Author = 'FastTrack In-Product Experiences Team'

# Company or vendor of this module
CompanyName = 'FastTrack In-Product Experiences Team'

# Copyright statement for this module
Copyright = '(c) 2024 Microsoft FastTrack In-Product Experiences Team. All rights reserved.'

# Description of the functionality provided by this module
Description = 'DLMRetentionPackage to create new Retention label and policy for DLM'

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

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

# Minimum version of the Windows 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 = '4.5'

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

# 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 = @(
    @{ModuleName="ExchangeOnlineManagement"; ModuleVersion="3.4.0"; Guid="B5ECED50-AFA4-455B-847A-D8FB64140A22"},
    @{ModuleName="Microsoft.Graph.Authentication"; ModuleVersion="2.19.0"; Guid="65E18F59-539C-4CBB-90C0-D4E380DE3E42"},
    @{ModuleName="Microsoft.Graph.Identity.DirectoryManagement"; ModuleVersion="2.19.0"; Guid="E0573E56-9C21-4F43-BE16-CC4473CD829C"}
)

# 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 = @()

# 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 = @('Initialize-DLMRetentionPackage')

# 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 = @()

# 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 = @('DLM','Retention', 'RecordsManagement')

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

        # A URL to the main website for this project.
        ProjectUri = 'https://admin.microsoft.com/Adminportal/Home#/SetupGuidance/DeploymentGuides'

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

        # ReleaseNotes of this module
        ReleaseNotes = @"
## DLM Retention Package Details and Instructions
 
This utility allows a Microsoft Purview compliance administrator the ability to create custom retention labels and policies. These custom retention labels and policies will be based on your E3 or E5 licensing. Based on licensing the following packages below are available and optionally include the following components:
  
    E3 licensing provides three custom retention labels and policies to choose from
       E3DLMRetentionConfig.json
     
    E5 licensing provides four custom retention labels and policies to choose from
       E5DLMRetentionConfig.json
 
1. Open and run PowerShell as an administrator. Make sure you're running a minimum version of PowerShell (5.1) or the latest version of PowerShell (7.0.3 or later). Refer to [latest versions supported] (https://learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#install-and-maintain-the-exchange-online-powershell-module).
 
2. To install this package into PowerShell. Copy and paste the following command and hit enter.
 
    Install-Module -Name DLMRetentionPackage.PowershellGalleryModule -Force
 
3. Next, copy the following command and hit enter
 
    Initialize-DLMRetentionPackage
 
4. You will be prompted for your tenant ID and password.
 
    If the user does not have the required scope, a permission request window will appear. Kindly provide permission and accept it. Please be aware that in certain situations you might need to obtain an administrator's permission before giving the consent.
 
5. You will then be asked to select the JSON File for creating DLM Policies.
 
    Download and Select either the E3 (E3DLMRetentionConfig.json) or E5 (E5DLMRetentionConfig.json) JSON file from the FileList section below.
 
6. You will then be asked to enter a Prefix for the records or hit enter to use the default. Records will be created with a default prefix of "Org-wide". You have the option to customize this prefix for different target groups, using other prefixes like "Finance sites" or "US users". Once the records are created, the policies and labels cannot be renamed.
 
7. Once the records have been created, you will be presented with a prompt screen with links to the records just created.
 
8. Close the prompt screen to close the PowerShell program. Done.
"@

    } # 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 = ''

}