I need to generate some commands with a PowerShell script, but I can't print the $
symbol.
Write-Host "Add-MailboxPermission -Identity $ Mailbox -User $ User -AccessRight FullAccess -Automapping $false"
generates:
Add-MailboxPermission -Identity MAILBOX -User USER-AccessRight FullAccess -Automapping False