How To Develop PowerShell Scripts For The Raspberry Pi
Sep16

How To Develop PowerShell Scripts For The Raspberry Pi

A.K.A How to Run PowerShell on the Raspberry PI Ok you want to run PowerShell scripts on your Raspberry PI. Well look no further because I have a detailed step by step guide below! This guide assumes you have already connected your Raspberry PI to your network either by a cable or via wireless. This guide also assumes you prefer to develop the code on your Windows PC using a program with similar features to the PowerShell ISE. Basic...

Read More
Bypass MFA for Azure Runbooks
Sep03

Bypass MFA for Azure Runbooks

If you use Azure runbooks and utilise scripts which connect to Office 365 services you will run into issues if the account you use to authenticate has MFA enabled on it. One option is to bypass MFA on the account for any connections coming from a specific Azure datacenter. This doesn’t open up the account to the internet but please understand that anyone trying to access your account from the same datacenter will also be able to...

Read More
How To Enable OneDrive Files On Demand
Jul23

How To Enable OneDrive Files On Demand

OneDrive Files On Demand is a feature which sets OneDrive to only download files to a local device when a file is clicked on rather than potentially downloading gigabytes or terabytes of files. From the users perspective they don’t really see any difference, they can still see all of the files and folders except they are not using up space on their PC until they open or edit a file. You can enable this option manually on each...

Read More
How To Uninstall Programs Using PowerShell
Jun05

How To Uninstall Programs Using PowerShell

Listing all installed programs, checking to see if a program is installed by its name and uninstalling programs is super easy and efficient using PowerShell and the Get-WmiObject cmdlet. List All Installed Programs Get-WmiObject -Class Win32_Product Running this cmdlet will produce a list of all installed applications. Note this wont list any Windows Apps which are installed. List Installed Programs By Name Get-WmiObject -Class...

Read More
Export Office 365 to The Email Laundry
Jan19

Export Office 365 to The Email Laundry

If you use The Email Laundry for advanced email and threat protection and your an MSP you will know how time consuming it is to setup. Adding all the email accounts into The Email Laundry manually, even exporting users from Office 365 to CSV and formatting the import file can be a real pain. Well I had enough of all the manual work and wrote a little PowerShell script to speed up the process. Before attempting to run this script...

Read More
PowerShell Games Power Bomber
Nov19

PowerShell Games Power Bomber

I love messing around with code and recently I’ve been learning a few new PowerShell techniques and writing little games. I’m no expert by any stretch of the imagination but find messing about and not taking it too seriously helps me code better and most importantly write scripts faster for use in our business and with our clients. This game is called Power Bomber and is very loosely based on the classic Bomber Man. This...

Read More
Power Invaders – Old School Games Programming using PowerShell
Oct18

Power Invaders – Old School Games Programming using PowerShell

I’m loving PowerShell at the moment, not just because its a great tool to automate stuff or a way to build handy reporting scripts but because i’m having so much fun writing games! I’m currently working on a new book and I was going to save this just for the book but I couldn’t resist sharing it! Its a Space Invaders style game but in Power Shell! Download the zip, extract it and run the script. You may need to...

Read More
Enable Office 365 Message Encryption
Sep16

Enable Office 365 Message Encryption

Message encryption is a great way to allow users to send sensitive information to people by simply adding a special word into the subject line of an email. The system will detect the special word which in my case is ‘Encrypt:’ and it will use 365 message encryption to ensure only the recipient can read its contents. When you send an encrypted email the recipient receives an email from you letting them know its encrypted...

Read More
How to Sync an Existing Office365 Tenant into a New Active Directory Domain Using PowerShell
Mar13

How to Sync an Existing Office365 Tenant into a New Active Directory Domain Using PowerShell

If you are in a situation where you currently use Office365 with lots of users and you now need to implement an on-premises active directory domain its not all that straight forward. The sync software is not quite able to take care of this for us yet but it is getting there with it’s AD write back features. If you haven’t already then check out my post on how to perform this task manually by creating all of the accounts in...

Read More
List Users Groups And Contact Email Addresses and Alias in Office 365 Using PowerShell
Oct11

List Users Groups And Contact Email Addresses and Alias in Office 365 Using PowerShell

Get this blog post sent to you as a PDF file to read later Enter your email address and press Send Now I spend most of my time administering the Exchange side of Office 365 so it pays spend some time experimenting with the commands. The more proficient you are using them the easier your job becomes especially when you need to do something a little more than the web portal is capable of. List users, groups and contacts E-Mail addresses...

Read More