Skip to content

Latest commit

 

History

History
205 lines (148 loc) · 3.56 KB

Get-KB4ManagedAccount.md

File metadata and controls

205 lines (148 loc) · 3.56 KB
external help file Module Name online version schema
KnowBe4-Partner-help.xml
KnowBe4-Partner
2.0.0

Get-KB4ManagedAccount

SYNOPSIS

Returns all managed accounts.

SYNTAX

Get-KB4ManagedAccount [[-Per] <Int32>] [[-Page] <Int32>] [[-Search] <String>] [-ArchivedUsers <String>]
 [[-Status] <String>] [[-BillingType] <String>] [[-SortField] <String>] [[-SortDirection] <String>]
 [[-OtherPartnersAccounts] <String>] [<CommonParameters>]

DESCRIPTION

Returns all managed accounts. You can filter the results by searching for a particular client name.

EXAMPLES

Example 1

Get-KB4ManagedAccount -Search 'contoso' -BillingType 'PAID' -Status 'ACTIVE'

This command returns the client account 'contoso'. The search parameter can be used on its own if needed.

PARAMETERS

-BillingType

The current billing type of the managed account.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: ANY, PAID, TRIAL, FREE

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

-OtherPartnersAccounts

TBD. Default value is ALL.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: ALL

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

-Page

The page number you want returned.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-Per

This specifies how many results you want returned. Default is 25 (per page).

Type: Int32
Parameter Sets: (All)
Aliases:
Accepted values: 25, 100

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

-Search

This specifies which client name you want to search for.

Type: String
Parameter Sets: (All)
Aliases:

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

-SortDirection

The sort direction of all returned results.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: ASCENDING, DESCENDING

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

-SortField

The field in which to sort by.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: ORGANIZATION, DATE_CREATED, SEATS, USERS, PHISH_PRONE, PSTS

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

-Status

The current status of the managed client account.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: ALL, ACTIVE, ARCHIVED

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

-ArchivedUsers

Include archived users. Default is false.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: true, false

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

None

OUTPUTS

System.Object

NOTES

Author: Terry Wilson

RELATED LINKS