Deploying the solution using powershell steps

cd D:\PackageDeployer\PowerShell
.\RegisterXRMTooling.ps1
Add-PSSnapin Microsoft.Xrm.Tooling.Connector
Add-PSSnapin Microsoft.Xrm.Tooling.PackageDeployment

$CRMConn = Get-CrmConnection -InteractiveMode -Verbose
(OR) if InteractiveMode is not working
$CRMConn = Get-CrmConnection -Credential $Cred –OnlineType Office365 –OrganizationName org2b8eb99c

Import-CrmPackage –CrmConnection $CRMConn –PackageDirectory D:\PackageDeployer –PackageName MTC.GroupCalendarPkg.dll –UnpackFilesDirectory D:\UnpackedFiles -Verbose


------ TO Get Organization details -------------
$Cred = Get-Credential
$CRMOrgs = Get-CrmOrganizations -Credential $Cred -DeploymentRegion IND –OnlineType Office365
$CRMOrgs
------------------------------------------------

Comments

Popular posts from this blog

Sample CRUD Operations Using C# in MSCRM

Calling Action using javascript with web api request in mscrm

When to use a workflow instead of a plug-in