iulian Posted May 18, 2021 #1 Share Posted May 18, 2021 Hello, i'm trying to obtain a report with users in powershell. Get-IpPbxUser cmd works fine but i need besides UserID, Name, EmailAddresses, InternalNumbers and PublicNumbers, a new column with FeatureProfile(advanced, minimal, standard, etc) for each user. Is it possible with powershell? i've tried to add a new NoteProperty to get-ippbxuser, $user = get-ippbxuser | ForEach-Object { Add-Member -MemberType Property -Name "FeatureProfile" -InputObject $_ -Value($feature.GetFeatureProfileEnum($_.UserID)) -PassThru }, but i recieve an error Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat. I'am trying to add this NoteProperty, so that i can call the FeatureProfile values with get-ippbx cmd. Thanks in advance! Iulian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now