Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Latest commit

History

History
183 lines (138 loc) * 3.84 KB

Register-CrmPlugin.md

File metadata and controls

183 lines (138 loc) * 3.84 KB
external help file Module Name online version schema
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml
AMSoftware.Crm
2.0.0

Register-CrmPlugin

SYNOPSIS

Register a plugin and assembly.

SYNTAX

RegisterPluginFromPath (Default)

Register-CrmPlugin [-Path] [-IsolationMode ]
[-AssemblyLocation ] [-Description ] [-Force] [-Plugins ] [-PassThru]
[]

RegisterPluginFromLiteralPath

Register-CrmPlugin [-LiteralPath] [-IsolationMode ]
[-AssemblyLocation ] [-Description ] [-Force] [-Plugins ] [-PassThru]
[]

DESCRIPTION

Register a plugin and assembly.

EXAMPLES

PARAMETERS

-AssemblyLocation

The location to store the plugin assembly.

Type: AMSoftware.Crm.PowerShell.Common.CrmAssemblySourceType
Parameter Sets: (All)
Aliases:
Accepted values: Database, Disk, GAC

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Description

The description for the plugin.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

Executes the action without prompting for confirmation.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IsolationMode

The isolation mode for the plugin assembly.

Type: AMSoftware.Crm.PowerShell.Common.CrmAssemblyIsolationMode
Parameter Sets: (All)
Aliases:
Accepted values: None, Sandbox

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LiteralPath

The path to the plugin assembly.

Type: System.String[]
Parameter Sets: RegisterPluginFromLiteralPath
Aliases: PSPath

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PassThru

Returns an object that represents the Plugin. By default, this cmdlet does not generate any output.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

The path to the plugin assembly.

Type: System.String[]
Parameter Sets: RegisterPluginFromPath
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Plugins

The names of the plugins to register from the assembly.

Type: System.String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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.

INPUTS

System.String[]

OUTPUTS

Microsoft.Xrm.Sdk.Entity

NOTES

RELATED LINKS

Get-CrmPlugin

Set-CrmPlugin

Unregister-CrmPlugin

Get-CrmPluginAssembly

Unregister-CrmPluginAssembly

Entity Class