Dynamics CRM PowerShell Base Cmdlet (Xrm.Framework.CI.PowerShell.Cmdlets/XrmCommandBase.cs)

xrm-ci-framework · MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Cmdlets/XrmCommandBase.cs · csharp · MIT
integration, crm, automation, lang:csharp, lang:powershell, tag:dynamics

Provides a base class for PowerShell cmdlets interacting with Microsoft Dynamics CRM. Use when building custom CRM automation scripts.

// Source: https://github.com/WaelHamze/xrm-ci-framework | License: MIT | Copyright 2015 WaelHamze
// Provided via justclaw.it.com; keep this notice with the code.
using Microsoft.Xrm.Sdk;
using System.Management.Automation;
using Xrm.Framework.CI.Common;

namespace Xrm.Framework.CI.PowerShell.Cmdlets
{
    public abstract class XrmCommandBase : CommandBase
    {
        protected virtual IOrganizationService OrganizationService { get; private set; }

        /// <summary>
        /// <para type="description">The connectionstring to the crm organization (see https://msdn.microsoft.com/en-us/library/mt608573.aspx ).</para>
        /// </summary>
        [Parameter(Mandatory = true)]
        public string ConnectionString { get; set; }

        /// <summary>
        /// <para type="descript

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key