Skip to content

Commit

Permalink
Added verbose switch to Get-CrmConnection based on recommendation fro…
Browse files Browse the repository at this point in the history
…m Microsoft.
  • Loading branch information
ikurtev committed Jan 19, 2017
1 parent 968dd03 commit 6b15b9e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ $Cred = New-Object System.Management.Automation.PSCredential ($Username, $SecPas

switch($DeploymentType)
{
"Onpremises" { $CRMConn = Get-CrmConnection -ServerUrl $ServerUrl -OrganizationName $OrganizationName -Credential $Cred }
"Online" { $CRMConn = Get-CrmConnection -Credential $Cred -DeploymentRegion $DeploymentRegion –OnlineType $OnlineType –OrganizationName $OrganizationName }
"Onpremises" { $CRMConn = Get-CrmConnection -ServerUrl $ServerUrl -OrganizationName $OrganizationName -Credential $Cred -Verbose}
"Online" { $CRMConn = Get-CrmConnection -Credential $Cred -DeploymentRegion $DeploymentRegion –OnlineType $OnlineType –OrganizationName $OrganizationName -Verbose}
}

#Deploy Package
Expand Down

0 comments on commit 6b15b9e

Please sign in to comment.