This is the recommended method of installation.
Install-PSResource -Name "MailPolicyExplainer" -Repository "PSGallery"
Copy all of these files into a subfolder in one of your user or system PowerShell modules directories. By default, per-user modules are saved in:
- Windows:
~\Documents\PowerShell\Modules
- macOS or Linux:
~/.local/share/powershell/Modules
To find your module folders, Write-Output $env:PSModulePath
.