Jay Carper

Sharepoint Online Powershell Module on an Exchange Server

I have a massive Powershell script that performs end user service provisioning across a number of on-premises and Microsoft 365 services. Recently, I needed to add some code for setting security options for Sharepoint sites hosted on Sharepoint Online. Since the original purpose of this script was to provision and configure Exchange mailboxes, it runs within the Exchange Management Shell. It turns out that this […]

Read Me Leave comment

Access a Shared FOLDER in Outlook Online

If you Google “open a shared folder in outlook online” you’ll get many results telling you how to open a shared mailbox, rather than a shared folder. Not very helpful. You can’t open another mailbox in Outlook Online unless you have Full Access permissions. If someone has shared a folder with you or if your organization doesn’t grant Full Access permissions to shared mailboxes by […]

Read Me Leave comment

Enabling an Existing Room Mailbox for Microsoft Teams

Here’s the process I used to enable a room mailbox for Teams integration.

Read Me 1 Comment

Distribution Groups, Office 365 Groups, and Microsoft Teams

What’s the difference between a contact folder, a contact group, a distribution group, an Office 365 Group, and a Microsoft Team? Note: The Outlook interface changes almost daily. For example, the full ribbon is now being replaced with a compact Navigation bar. Fortunately, the concepts should remain constant for at least a week. Outlook Contact Folders An Outlook Contact Folder is a container for organizing […]

Read Me Leave comment

Find and Unhide all Hidden Files Using PowerShell

This PowerShell one-liner will find all hidden files and folders in the current directory and turn off the Hidden attribute: Get-ChildItem -Force -Recurse | Where-Object{($_.Attributes.ToString().Split(“, “) -contains “Hidden”) -and ($_.Name -ne “thumbs.db”) -and ($_.Name -notlike “~*”) -and ($_.Name -ne “desktop.ini”) -and ($_.Name -ne “folder.ico”)} | foreach {$_.Attributes = “Archive”} I deliberately wrote this to skip thumbs.db, desktop.ini, folder.ico and Microsoft Office temporary files, because there […]

Read Me Leave comment

Use PowerShell to Get a List of Users on Windows 7

You can use PowerShell to get a list of local workstation user accounts on Windows 7 or Windows 10. (Probably Windows 8 and 8.1, but does anybody really care?) This is much easier on Windows 10, than on 7. Get-LocalUser | Select Name Not much to write about there, but most of us still have some Windows 7 computers floating around, and that won’t work […]

Read Me Leave comment

Add Blocked Senders to Exchange Online Using PowerShell

Many things in Exchange and Office 365 take too long to do via the admin console, but are too obscure to do routinely via PowerShell. Unless, that is, you have a script! This function will add a single sender address to your spam policy’s BlockedSenders attribute or a sender domain to the BlockedSenderDomains attribute. (If you find any errors in the code below, let me […]

Read Me 1 Comment