Get-R1NamingContextInterceptionScriptCode
Get-R1NamingContextInterceptionScriptCode
SYNOPSIS
Returns the interception script of a naming context node.
SYNTAX
Get-R1NamingContextInterceptionScriptCode [-dn] <String> [<CommonParameters>]
DESCRIPTION
Returns the class name, file name and source of the interception script of a content node or LDAP proxy.
EXAMPLES
Example 1
Get-R1NamingContextInterceptionScriptCode -dn 'o=companyprofiles'
Returns the interception script of a naming context node at o=companyprofiles, with its file and class names.
Example 2
(Get-R1NamingContextInterceptionScriptCode -dn 'o=companyprofiles').scriptContents | Set-Content .\o_companyprofiles.java
Saves the script to a local file.
Example 3
Get-R1NamingContextInterceptionScriptCode -dn 'o=companyprofiles' | Test-R1InterceptionScriptCode
Compiles the script as it stands on the server.
PARAMETERS
-dn
The DN of the naming context node.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.