UpdatePluginAssembly.ps1
# # UpdatePluginAssembly.ps1 # param( [string]$CrmConnectionString, [string]$AssemblyPath, [int]$Timeout ) $ErrorActionPreference = "Stop" Write-Verbose 'Entering UpdatePluginAssembly.ps1' -Verbose #Parameters Write-Verbose "CrmConnectionString = $CrmConnectionString" Write-Verbose "AssemblyPath = $AssemblyPath" Write-Verbose "Timeout = $Timeout" #Script Location $scriptPath = split-path -parent $MyInvocation.MyCommand.Definition Write-Verbose "Script Path: $scriptPath" #Load XrmCIFramework $xrmCIToolkit = $scriptPath + "\Xrm.Framework.CI.PowerShell.Cmdlets.dll" Write-Verbose "Importing CIToolkit: $xrmCIToolkit" Import-Module $xrmCIToolkit Write-Verbose "Imported CIToolkit" Set-XrmPluginAssembly -Path $AssemblyPath -ConnectionString $CrmConnectionString -Timeout $Timeout -Verbose Write-Verbose 'Leaving UpdatePluginAssembly.ps1' -Verbose |