Welcome › Forums › Pester › when use dbachecks, it has error: unable to find type [Pester.outputtypes]
the code I’ve entered is below:
Unable to find type [Pester.OutputTypes].
At line:219 char:9
+ [Pester.OutputTypes]$Show = ‘All’
+ CategoryInfo : InvalidOperation: (Pester.OutputTypes:TypeName) , RuntimeException
+ FullyQualifiedErrorId : TypeNotFound
Can anyone help ?
What is the pester version you have ? There are major changes in version 5.x
Try upgrading to Pester 4.x version. 3.4.0 is pretty old.
I had the same issue and installing pester 4.9 resolved it for me.