Replies: 1 comment
-
|
Closing this - I didn't realize I wasn't running VS Code as admin - doing that eliminates that error. I'm now faced with a new error of 'Unable to connect to the Domain Controller', but that may be security restrictions within the environment |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I attempt to run
New-AsBuiltReport -Report MIcrosoft.ADwith or without any of the other available parameters, I get the error: New-AsBuiltReport : A parameter cannot be found that matches parameter name 'Id'.I've run other AsBuildReports in the past at other jobs with no issue, but this is the first for this report. I could use some guidance on what I'm doing wrong. I've also tried older versions of the module as well with no success
I'm running this from VS Code on Windows Server 2022 Datacenter
$PSVersionTable
Name Value
PSVersion 5.1.20348.2652
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.2652
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Get-Module -ListAvailable @("AsBuiltReport.Core";"AsBuiltReport.Microsoft.AD";"PSPKI";"PScriboCharts";"PScribo") | Select Name, Version
Name Version
AsBuiltReport.Core 1.4.0
AsBuiltReport.Microsoft.AD 0.8.2
PScribo 0.10.0
PScriboCharts 0.9.0
PSPKI 4.2.0
New-AsBuiltReport -Report Microsoft.AD
WARNING: [ 15:30:22:253 ] [ Module ] - AsBuiltReport.Core 1.4.0 is currently installed.
New-AsBuiltReport : A parameter cannot be found that matches parameter name 'Id'.
At line:2 char:1
Beta Was this translation helpful? Give feedback.
All reactions