external help file | Module Name | online version | schema |
---|---|---|---|
pwshCloudflare-help.xml |
pwshCloudflare |
2.0.0 |
Get Cloudflare account information.
Get-CFAccount [[-Id] <String>] [[-Name] <String>] [<CommonParameters>]
Returns accounts available to the current user. Accounts can be specified by their name or id. All accounts are returned if name or id is not specified.
Get-CFAccount -AccountId '12345'
Gets account with ID 12345.
Get-CFAccount
Lists accounts available to current user.
ID of account to retrieve.
Type: String
Parameter Sets: (All)
Aliases: AccountId
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of account to retrieve.
Type: String
Parameter Sets: (All)
Aliases: AccountName
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
https://github.com/connorcarnes/pwshCloudflare
https://developers.cloudflare.com/api/operations/accounts-list-accounts
https://developers.cloudflare.com/api/operations/accounts-account-details