DLMRetentionPackage.PowershellGalleryModule

1.0.2

DLMRetentionPackage to create new Retention label and policy for DLM

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name DLMRetentionPackage.PowershellGalleryModule -RequiredVersion 1.0.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name DLMRetentionPackage.PowershellGalleryModule -Version 1.0.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2024 Microsoft FastTrack In-Product Experiences Team. All rights reserved.

Package Details

Author(s)

  • FastTrack In-Product Experiences Team

Tags

DLM Retention RecordsManagement

Cmdlets

Initialize-DLMRetentionPackage

Dependencies

Release Notes

## DLM Retention Package Details and Instructions

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.

   Select the downloaded JSON file for creating DLM Policies from the file selection popup window.
   
   Please note that if the user closes the popup without selecting a JSON file or cancels the selection, the process will automatically treat it as if all checkboxes for the associated license are checked by default.

   When a user desires to utilize the default JSON files. Referring to the FileList section, please choose the E3DLMRetentionConfig.json file for tenants who are E3 licensed and the E5DLMRetentionConfig.json file for tenants who are E5 licensed.The information in these files must be copied and pasted into a new JSON file on your computer. Please choose this file if prompted 'Select the downloaded JSON file for creating DLM Policies'.

6. You will then be asked to enter a Prefix for the records or hit enter to use the default.

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.

FileList

Version History

Version Downloads Last updated
1.0.6 86 6/11/2024
1.0.5 46 6/5/2024
1.0.4 10 5/16/2024
1.0.3 30 4/29/2024
1.0.2 (current version) 22 4/23/2024
1.0.1 9 4/19/2024
1.0.0 27 4/6/2024
0.0.0 12 3/7/2024
Show more