'Filtering On Okta Powershell Module Results
if i run this
get-oktauser
i end up with
id : 00u6h6r0fum2Q4eaaaa
status : ACTIVE
created : 2020-11-23T16:34:18.000Z
activated : 2020-11-23T16:34:19.000Z
statusChanged : 2022-02-22T06:12:41.000Z
lastLogin : 2022-04-18T09:38:23.000Z
lastUpdated : 2022-02-22T06:12:41.000Z
passwordChanged :
type : @{id=otyape7wli20M4epaaaa}
profile : @{firstName=user; lastName=lastname; mobilePhone=; displayName=user lastname; secondEmail=; [email protected]; [email protected]}
credentials : @{recovery_question=; provider=}
_links : @{self=}
I am wondering how i can filter that down, if i was looking for specific info in the profile property. I have tried get-oktauser |profile.lastname, but no joy
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
