Get-CapaLogonHistoryForUnit
Get-CapaLogonHistoryForUnit
SYNOPSIS
Get logon history for a unit.
SYNTAX
__AllParameterSets
Get-CapaLogonHistoryForUnit [-CapaSDK] <Object> [-UnitName] <string> [-UnitType] <string>
[<CommonParameters>]
ALIASES
This cmdlet has the following aliases,
DESCRIPTION
Get logon history for a unit.
EXAMPLES
EXAMPLE 1
Get-CapaLogonHistoryForUnit -CapaSDK $CapaSDK -UnitName ‘Klient’ -UnitType Computer
EXAMPLE 2
Get-CapaLogonHistoryForUnit -CapaSDK $CapaSDK -UnitName ‘E3FBEC1E-32AC-4E51-AB9F-A644CD9F0A6B’ -UnitType Computer
PARAMETERS
-CapaSDK
The CapaSDK object.
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-UnitName
Can be the name of a unit or the UUID.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-UnitType
The type of the unit, can be Computer or User.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
For more information, see https://capasystems.atlassian.net/wiki/spaces/CI64DOC/pages/19306246378/Get+logon+history+for+unit