SYNOPSIS
Gets Journal Explosion email address rule.
SYNTAX
Get-ASJEEmailAddressRule [-Core] <ConnectCore> [[-JournalExplosionUserRuleId] <int[]>] [[-ContainerMappingId] <int[]>] [[-Expression] <string[]>] [[-EnableForImport] <bool?>] [<CommonParameters>]
DESCRIPTION
The Get-ASJEEmailAddressRule cmdlet gets Journal Explosion Email Address Rule(s). Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Get-ASJEEmailAddressRule -ContainerMappingId 1 Get-ASJEEmailAddressRule -JournalExplosionUserRuleId 2 Get-ASJEEmailAddressRule -ContainerMappingId 1 -JournalExplosionUserRuleId 2 |
/* Gets email address rule for specified container mapping */ /* Gets email address rule with specified rule Id */ /* Gets email address rule for specified container mapping with specified rule id */ |
Get-ASMappings | Get-ASJEEmailAddressRule | Format-Table Get-ASJEEmailAddressRule | Format-Table
|
/* Gets all email address rules of all available Journal Explosion mappings */ |
SYNOPSIS
Sets Journal Explosion email address rule.
SYNTAX
Set-ASJEEmailAddressRule [-Core] <ConnectCore> [-JournalExplosionUserRuleId] <int> [-Expression] <string> [-EnableForImport] <bool?> [<CommonParameters>]
DESCRIPTION
The Set-ASJEEmailAddressRule cmdlet sets Journal Explosion Email Address rule. Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Set-ASJEEmailAddressRule -JournalExplosionUserRuleId 1 -Expression "*@TEST001.com" -EnableForImport $false |
/* Changes existing email address rule and sets flag EnableForImport to FALSE */ |
Get-ASMappings | Get-ASJEEmailAddressRule | Set-ASJEEmailAddressRule -EnableForImport $true Get-ASJEEmailAddressRule | Set-ASJEEmailAddressRule -EnableForImport $true |
/* Enables all existing email address rules of all available Journal Explosion mappings to TRUE */ |
SYNOPSIS
Removes Journal Explosion email address rule.
SYNTAX
Remove-ASJEEmailAddressRule [-Core] <ConnectCore> [[-JournalExplosionUserRuleId] <int[]>] [[-ContainerMappingId] <int[]>] [[-Expression] <string[]>] [<CommonParameters>]
DESCRIPTION
The Remove-ASJEEmailAddressRule cmdlet removes Journal Explosion Email Address Rule(s). Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state. Advanced parameters are supported by this command (Confirm,Whatif).
Example:
Remove-ASJEEmailAddressRule -JournalExplosionUserRuleId 1 Remove-ASJEEmailAddressRule -ContainerMappingId 1 Remove-ASJEEmailAddressRule -ContainerMappingId 1 -JournalExplosionUserRuleId 1 Remove-ASJEEmailAddressRule -Expression *@qa.quadrotech-it.com Remove-ASJEEmailAddressRule -ContainerMappingId 1 -Confirm:$false |
/* Removes specified email address rule */ /* Remove all email address rules of specified Journal Explosion mapping */ /* Remove specified email address rule of specified Journal Explosion mapping */ /* Remove email address rule of specified expression */ /* Remove all email address rules of specified Journal Explosion mapping straight away by ignoring confirm action */
|
Get-ASMappings | ForEach-Object {Remove-ASJEEmailAddressRule -ContainerMappingId $_.ContainerMappingId} Get-ASMappings | Get-ASJEEmailAddressRule | ForEach-Object {Remove-ASJEEmailAddressRule -JournalExplosionUserRuleId $_.JournalExplosionUserRuleId} Remove-ASJEEmailAddressRule |
/* Removes all email address rules of all Journal Explosion mappings */ |
SYNOPSIS
Adds Journal Explosion Active Directory User Rule.
SYNTAX
Add-ASJEADUserRule [-Core] <ConnectCore> [-ContainerMappingId] <int> [-UserSid] <string[]> [<CommonParameters>]
DESCRIPTION
The Add-ASJEADUserRule cmdlet creates new Journal Explosion Active Directory User Rule. Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Add-ASJEADUserRule -ContainerMappingId 1 -UserSid S-1-5-21-141886343-4149337270-1996687478-1135 |
/* Creates Active Directory user rule for specified Journal Explosion mapping based on various user properties */ |
Get-ASUser -First 10 | Add-ASJEADUserRule -ContainerMappingId 1 |
/* Creates ten Active Directory user rules for specified Journal Explosion mapping */ |
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center