List all the Apps – this can be a long list!
Get-AppxPackage -User username
Get rid of that sucker.
Remove-AppxPackage PackageFullName
List all the Apps – this can be a long list!
Get-AppxPackage -User username
Get rid of that sucker.
Remove-AppxPackage PackageFullName
Commands I frequently use when checking and setting mailbox permissions:
Check and set mailbox permissions
Get-MailboxPermission -Identity “MailboxOwnerUsername“
Add-MailboxPermission -Identity “MailboxOwnerUsername“ -User “UserGettingPermission“ -AccessRights FullAccess
Give Send As permission
Add-RecipientPermission MailboxOwnerUsername -AccessRights SendAs -Trustee UserGettingPermission
Calendar Permissions
Of course these would work with any folder and yes, I could teach the user how to do this themselves, but they do it less frequently than I do; this is just easier.
List the current permissions on the Calendar
get-mailboxfolderpermission -Identity username:\calendar
Add permissions
(use set-mailboxfolderpermissions to change)
add-mailboxfolderpermission -Identity username:\calendar -user otheruser -accessrights Editor
Delete/remove Permissions
remove-mailboxfolderpermission -Identity username:\calendar -user otheruser -confirm:$false
Permission levels:
While setting up a new user I got this error when opening Outlook 2016:
“We’ve run into a problem with your Office 365 subscription, and we need your help to fix it.”
The problem: Bad product key.
The fix:
Open a command prompt as administrator and run:
“c:\program files (86)\Microsoft Office\Office16\cscript ospp.vbs” /dstatus
You’ll get a bunch of output – you’re looking for the last 5 characters of the installed product key. Find that key and enter this line:
“c:\program files (86)\Microsoft Office\Office16\cscript ospp.vbs” /unpkey:last five of key here
That’s it!
Credit goes to 365lab.net
We had some malware sneak through our email security this morning. Here’s how I deleted those messages.
Connect to the Compliance area of 365:
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirectio
Import-PSSession $Session
Find the messages and view the results (I was able to search by subject but there are other options):
New-ComplianceSearch -identity “Remove Phishing Message” -ExchangeLocation all -ContentMatchQuery ‘subject:”TOP URGENT”‘ Start-ComplianceSearch -Name “Remove Phishing Message”
Get-ComplianceSearch -identity “Remove Phishing Message” | fl
Delete the messages:
New-ComplianceSearchAction -SearchName “Remove Phishing Message” -Purge -PurgeType SoftDelete
Recorded live at Lone Fir Cemetery Studios in Portland, OR.
http://lcwmusic.bandcamp.com/
David Lamkins – Guitar
Stephen Caird – Bass & Cello
Joe Williams – Drums