Skip to content

Commit

Permalink
regex addition/change
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcne committed Aug 25, 2020
1 parent f8b8b27 commit 27df317
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function Connect-CrmOnline{
[parameter(Position=1, Mandatory=$true, ParameterSetName="Secret")]
[Parameter(Position=1,Mandatory=$true, ParameterSetName="Creds")]
[Parameter(Position=1,Mandatory=$true, ParameterSetName="NoCreds")]
[ValidatePattern('([\w-]+).crm([0-9]*).(microsoftdynamics|dynamics|crm[\w-]*).(com|de|us)')]
[ValidatePattern('([\w-]+).crm([0-9]*).(microsoftdynamics|dynamics|crm[\w-]*).(com|de|us|cn)')]
[string]$ServerUrl,
[parameter(Position=2, Mandatory=$true, ParameterSetName="Creds")]
[PSCredential]$Credential,
Expand Down

0 comments on commit 27df317

Please sign in to comment.