< Back

Get-SalesforceLimits

Sat Jan 18, 2020 9:37 am

NAME Get-SalesforceLimits



SYNOPSIS

Retrieves Salesforce API limits.

Note: Running this cmdlet affects the Daily API Requests value.





SYNTAX

Get-SalesforceLimits -Connection <Hashtable> [<CommonParameters>]





DESCRIPTION







PARAMETERS

-Connection <Hashtable>

Specifies connection information to the Salesforce site. For example:

@{

ServerUrl='<Salesforce Site URL>';

LoginUrl='https://login.salesforce.com/services/oauth2/token';

Username='<user>';

Password='<password>';

SecurityToken='<user security token>';

ClientId='<client ID (consumer key) for the Salesforce connected app>';

ClientSecret='<client secret (consumer secret) for the Salesforce connected app>';

LicenseKey='<license key>';

SessionTimeoutMinutes=15;

SkipCertificateValidation=$false

}



Required? true

Position? named

Default value

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

None







OUTPUTS

System.Management.Automation.PSObject

DailyApiRequestsRemaining - the remaining number of API requests (calls) for the day.

DailyAsyncApexExecutionsMax - the maximum number of daily async Apex executions allowed for your organization.

DailyAsyncApexExecutionsRemaining - the remaining number of async Apex executions for the day.

DailyBulkAPIRequestsMax - the maximum number of daily Bulk API requests (calls) allowed for your organization.

DailyBulkAPIRequestsRemaining - the remaining number of Bulk API requests (calls) for the day.

DataStorageMbMax - maximum data storage for your organization.

DataStorageMbRemaining - remaining data storage for your organization.







RELATED LINKS