Windows 8.1 - Powershell 4.0 Get-ADComputer -Properties * bug
Votes from Connect: 72
Original Date Submitted: 10/24/2013 11:12:10 PM
Description:
Contact Information
Handle: jbarkl3y
Site Name: PowerShell
Feedback ID: 806452
Frequency: Always Happens
Regression: Yes, this happens in previous released versions
Problem Description:
When running the Get-ADComputer command I run into the following. There has been a couple of posts on this error but they are related to Powershell 3.0 and can be fixed by changing your AD Schema to version 47. This bug still exists except now my Schema version is 47 and the bug still persists.
Get-ADComputer : One or more properties are invalid.
Parameter name: msDS-AssignedAuthNPolicy
At line:1 char:1
+ Get-ADComputer SPAREPC -Properties *
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (SPAREPC:ADComputer) [Get-ADComputer], ArgumentException
+ FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.ArgumentException,Microsoft.ActiveDirectory.Management.Comm
ands.GetADComputer
Product Studio item created by Connect Synchronizer due to creation of feedback ID 806452 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=806452).
Repro Steps:
Import the AD module and try to run the properties parameter.
Expected Results:
You will receive the following error where $ComputerName equals the specific computer you are querying properties for:
Get-ADComputer : One or more properties are invalid.
Parameter name: msDS-AssignedAuthNPolicy
At line:1 char:1
+ Get-ADComputer $ComputerName -Properties *
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: ($ComputerName:ADComputer) [Get-ADComputer], ArgumentException
+ FullyQualifiedErrorId : ActiveDirectoryCmdlet:System.ArgumentException,Microsoft.ActiveDirectory.Management.Comm
ands.GetADComputer
Internal BugId: 6441
