Skip to content

Needs upgrading to support pester v5 #6

@Marcus-James-Adams

Description

@Marcus-James-Adams

Starting discovery in 1 files.
Discovery found 223 tests in 4.86s.
Running tests.

The code then fails every test with a similar error to below

[-] Active Directory Forest Operational Readiness checks.Verifying Forest Configuration.Forest FQDN novia.local 97ms (45ms|53ms)
 RuntimeException: Legacy Should syntax (without dashes) is not supported in Pester 5. Please refer to migration guide at: https://pester.dev/docs/migrations/v3-to-v4
 RuntimeException: Legacy Should syntax (without dashes) is not supported in Pester 5. Please refer to migration guide at: https://pester.dev/docs/migrations/v3-to-v4
 ParameterBindingException: Cannot retrieve the dynamic parameters for the cmdlet. Legacy Should syntax (without dashes) is not supported in Pester 5. Please refer to mig
ration guide at: https://pester.dev/docs/migrations/v3-to-v4
 at <ScriptBlock>, C:\Users\me\Documents\WindowsPowerShell\Modules\ADAudit\2.0.10\ActiveDirectory.tests.ps1:48

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions