PSGitLab
PSGitLab copied to clipboard
PowerShell 7 : Get-GitLabUser give 20 users max, even with param "-All"
When i do :
(Get-GitLabUser -All).count
- With PowerShell 5.1 :
Name Value
---- -----
PSVersion 5.1.19041.546
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.546
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
It give me 210 users, wich is correct.
- With PowerShell 7 :
Name Value
---- -----
PSVersion 7.0.3
PSEdition Core
GitCommitId 7.0.3
OS Microsoft Windows 10.0.19041
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
It give me 20 users, even with or without the param "All"
I'm on Windows 10 - 2004. I don't have any clue why, if someone have an idea...
Hello, You can try to fix with this PR : https://github.com/ngetchell/PSGitLab/pull/222