Export-RmsReportDefinitionLanguage
Exports all report definition (.rdl) files.
Syntax
Default (Default)
Export-RmsReportDefinitionLanguage
[-ExportLocation] <String>
[-Force]
[-Path] <String[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Export-RmsReportDefinitionLanguage cmdlet exports the following report definition (.rdl) files for this version of Active Directory Rights Management Services (AD RMS):
- Report_Health_MultiReport.rdl
- Report_TroubleShooting_UserRequestSummary.rdl
- Report_TroubleShooting_UserRequestTypeList.rdl
- Report_TroubleShooting_UserRequestDetail.rdl
- Report_TroubleShooting_UserRequestCertificateInfo.rdl
- Report_TroubleShooting_AllILsFromCLC.rdl.rdl
- Report_TroubleShooting_AllEULsFromIssuanceLicense.rdl
This cmdlet does not export the Report_TroubleShooting_DecryptILRightsLabel.rdl file. This file cannot be used by the SQL Server report service because it requires a private key.
To export the report definition files, specify the ExportLocation where you want to save the files, and set the Path parameter to the AD RMS provider drive subdirectory <PSDrive>:\Report where <PSDrive> is the provider drive ID.
You can also specify a relative path.
For example, a dot (.) specifies the current location.
Examples
Example 1: Export report definition files
PS C:\> Export-RmsReportDefinitionLanguage -Path "." -ExportLocation "c:\temp\"
This command exports the report definition files to the directory C:\temp.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | cf |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ExportLocation
Specifies the path of the exported file.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-Force
Overrides restrictions that prevent the command from succeeding if the restrictions do not compromise security. For example, Force overrides the read-only attribute or creates directories to complete a file path, but it does not attempt to change file permissions.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-Path
Specifies a provider drive and path or relative path on the current drive. Use a dot (.) to specify the current location. This parameter does not accept wildcards and has no default value.
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | wi |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.