Skip to content

Latest commit

 

History

History
92 lines (68 loc) · 1.91 KB

Get-DuoAccountEdition.md

File metadata and controls

92 lines (68 loc) · 1.91 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

Get-DuoAccountEdition

SYNOPSIS

Get Edition

SYNTAX

Get-DuoAccountEdition [-AccountId] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Returns the edition for a child account.

EXAMPLES

EXAMPLE 1

Get-DuoAccounts | Select-Object name,account_id, @{n='edition'; e={($_ | Get-DuoAccountEdition).edition}}

PARAMETERS

-AccountId

The child customer account ID as returned by Retrieve Accounts. This is a 20 character string, for example DA9VZOC5X63I2W72NRP9.

Type: String
Parameter Sets: (All)
Aliases: account_id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

PSCustomObject. Duo Accounts object

OUTPUTS

PSCustomObject. Returns a Duo Response object.

NOTES

RELATED LINKS

https://duo.com/docs/accountsapi#get-edition