header image

Get-AdUser in PowerShell Core

Posted by: | August 29, 2019 Comments Off on Get-AdUser in PowerShell Core |

There has been a problem with Get-ADUser in PowerShell core such that

Get-ADUser -Identity Richard -Properties *


Throws an error.


The problem is in .NET Core and affects a small number of properties including ProtectedFromAccidentalDeletion


The underlying .NET Core issue has been fixed and PowerShell v7 preview 3 on Windows 10.0.18362 will successfully run the command

under: PowerShell 7, PowerShell and Active Directory, PowerShell v6

Comments are closed.