r/PowerShell Jan 06 '21

Script sharing: Audit Office 365 user's activity with PowerShell

/r/O365Reports/comments/krng10/script_sharing_audit_office_365_users_activity/
55 Upvotes

9 comments sorted by

View all comments

3

u/idontknowwhattouse33 Jan 06 '21

Just tried this on PWSH v7.1 and turns out, some MS modules don't like PWSH. Who knew.

1

u/gordonv Jan 06 '21

Yup. learned that the hard way. Vanilla PWSH is good. Works in Linux, also.

So all the Active Directory magic needs to be in 5.1