< Back
Get-CrmConnectionString
Post
NAME Get-CrmConnectionString
SYNOPSIS
Convenience function for building the CRM Connection string for Regent's systems.
SYNTAX
Get-CrmConnectionString [-CrmInstance] <Object> [-UrlOnly] [<CommonParameters>]
DESCRIPTION
A simple switch statement to build the CRM Connection string. The values are hard-coded, so if any of the details
change, they'll need to be updated here.
PARAMETERS
-CrmInstance <Object>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UrlOnly [<SwitchParameter>]
Add this switch to just return the organization url of the CRM, without the AuthType appended (used in
conjunction with REST API functions)
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
Convenience function for building the CRM Connection string for Regent's systems.
SYNTAX
Get-CrmConnectionString [-CrmInstance] <Object> [-UrlOnly] [<CommonParameters>]
DESCRIPTION
A simple switch statement to build the CRM Connection string. The values are hard-coded, so if any of the details
change, they'll need to be updated here.
PARAMETERS
-CrmInstance <Object>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UrlOnly [<SwitchParameter>]
Add this switch to just return the organization url of the CRM, without the AuthType appended (used in
conjunction with REST API functions)
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS