IAdmReportGeneratorScript
The IAdmReport interface represents a report generator that executes a PowerShell script.
Inheritance: IAdmReportGenerator
Methods
-
Method
-
Description
-
ResolveValueReferencesInScript()
-
Returns a PowerShell script with value references replaced with values of corresponding properties of the user, for which a report is generated.
Properties
Details
ResolveValueReferencesInScript()
Returns a PowerShell script with value references replaced with values of corresponding properties of the user, for which a report is generated.
string ResolveValueReferencesInScript(IAdmReportArguments arguments,
string script,
out string[] warnings)
Parameters
- arguments - Specifies arguments for report generation.
- script - Specifies the PowerShell script.
- warnings - An output (OUT) parameter that returns an array that contains warnings issued while resolving value references.
Script
Gets or sets a text of a PowerShell script. You can use value references in the script. Value references are replaced with values of corresponding properties of the user, for which a report is generated.
- Type:
- string
- Access:
- Read/Write
RunAs
Gets the IAdmRunAs interface that can be used to specify credentials to be used to run a PowerShell script.
- Type:
- IAdmRunAs
- Access:
- Read-only
Requirements
Minimum required version: 2018.1