Manage Office 365 Group Members and Owners with PowerShell

With PowerShell UnifiedGrouplinks cmdlet we can easily manage the Office 365 Group member- and ownerships. The UnifiedGroupLinks cmdlet is part of the Exchange Online PowerShell session. So before we can start adding Office 365 Group Members or change them to Owner we first need to connect to Exchange Online. Connecting to Exchange Online First we need … Read moreManage Office 365 Group Members and Owners with PowerShell

Disable AutoSave for Office 365

This article describes how you can disable autosave in Office 365 for every file with the use of PowerShell. Some background info on the Autosave feature If you are using Office 365 and your store your files on OneDrive, OneDrive for Business or SharePoint Online you will see that the new Autosave feature is enabled … Read moreDisable AutoSave for Office 365

Copy Sharepoint list items to another list with Powershell and PnP

You can easily copy Sharepoint list items to another list with Powershell and PnP. First connect to the source Sharepoint site. You can use one of mine connector scripts for it here at Technet. Or connect to Sharepoint with: #Create credential object $cred = Get-Credential #Import the Skype for Business Online PS session Connect-PnPOnline -url $siteUrl … Read moreCopy Sharepoint list items to another list with Powershell and PnP

Share Sharepoint files and folders from a Office365 Group

Sharing files in Sharepoint, that shouldn’t be that hard right? Well if you are using Office 365 Groups you might have noticed that you are not able the share a file or folder from the Groups Sharepoint site to external users. When you try to use the Invite People option you will get the following … Read moreShare Sharepoint files and folders from a Office365 Group

Opening UWP apps like Edge in Full Screen Mode

You can run Microsoft Edge and other UWP (Universal Windows Platform) apps in fullscreen mode by pressing the key combo Win + Shift + Enter . But what if you want to open it from command line in full screen mode? There is no command line switch (like -kiosk from Chrome) to start it full screen … Read moreOpening UWP apps like Edge in Full Screen Mode

Connect to Google API with Powershell

We are going to connect to the Google API with OAuth2.0 and the Powershell Invoke-RestMethod cmdlet. Before we can start scripting in Powershell we first need to get a ClientId, ClientSecret, AuthCode and finally the Access and Refresh tokens. It took me half a day to figure out how to connect to where to get … Read moreConnect to Google API with Powershell

Using Microsoft Graph API with Powershell

Microsoft Graph API gives you the ability to interact with the continually evolving Azure services through a single endpoint: https://graph.microsoft.com. We are going to connect to Graph with Powershell, OAuth 2.0 and REST. Registering your App To interact with Graph we need to register our app. Go to https://apps.dev.microsoft.com/portal/register-app to get started. Login with your account that … Read moreUsing Microsoft Graph API with Powershell

Wipe Mobile Device with Powershell

When you need to remotely wipe a Mobile Device that’s connected to Exchange Online, you can use Powershell to perform the task quickly. With Clear-Mobile device cmdlet you will remove all data on the device, so this will also delete any photo’s, apps or other personal data on it. To do this we need to … Read moreWipe Mobile Device with Powershell

Enabling in-place archive for all users with PowerShell

The In-Place Archive that you get with Exchange Online, provides your users with additional storage space. With PowerShell we can enable the archive mailboxes quickly for all users. Connect to Exchange Online First we need to connect to Exchange Online, you can use this connector script or run the following code: #Create credential object $credObject = Get-Credential #Import … Read moreEnabling in-place archive for all users with PowerShell

Setting up your PowerShell Environment with PowerShell Profile

If you are using PowerShell frequently you might want to change some default settings to modify your PowerShell window. We can do this by creating a PowerShell Profile where you can add Alias for function you use a lot, load modules at startup, change the root directory or add path variables. First we need to check if … Read moreSetting up your PowerShell Environment with PowerShell Profile