ruudmens / LazyAdmin

SysAdmin scripts for you to use.
MIT License
606 stars 216 forks source link

An empty pipe element is not allowed #26

Closed Mateus109 closed 9 months ago

Mateus109 commented 10 months ago
At C:\Scripts\MailboxPermissionReport.ps1:225 char:7
 +       | Where-Object {$_.PrimarySMTPAddress -notcontains "@student.do ...
 +       ~
 An empty pipe element is not allowed.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : EmptyPipeElement

Error above when running the script.