[英]Why does the ProtectedFromAccidentalDeletion property on the Get-ADGroup command in the PS AD module return a NullReferenceException on one machine?
我有一個 PowerShell 腳本,它使用 Active Directory PowerShell 模塊(RSAT 的一部分)。 它在 PowerShell 7 的 Windows 10 機器上運行良好,但在 PowerShell 6 的 Windows Server 2019 VM 上,它返回 ...