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 laterEnter 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
How to make a game using PowerShell Old School Style – Dragon Slayer
Sep17

How to make a game using PowerShell Old School Style – Dragon Slayer

I love messing around from time to time and recently I’ve been working on a new book which I’ll be releasing on Amazon which focuses on writing fun games using PowerShell! If you want to keep up to date on its development you should subscribe to the notification list here. Back in the day I spent many hours writing ASCII based games at school and college and I wanted to give it a try again only this time put together a...

Read More
How to Bulk Add Users into Office 365 using PowerShell
Aug30

How to Bulk Add Users into Office 365 using PowerShell

One of the easiest ways to import users in bulk when not using AD Connect to synchronize an on-premises Active Directory is to use a CSV file. Create a new text file and copy in the following text and save the file as users.csv. Use these entries as an example and modify them to match your own requirements. One thing to note here is that the AccountSkuId value defines the license you want to assign to the user: ENTERPRISEPREMIUM =...

Read More
Set Passwords to Never Expire in Office 365 Using PowerShell
Aug17

Set Passwords to Never Expire in Office 365 Using PowerShell

Just don’t do it! However, there may be some cases where you are asked to break company policies and set an account to never expire. In smaller organizations this usually comes from the business owners or managers but try and resist for their own good and explain the security risks involved. When ever possible, compromise and come up with a suitable password policy for the business to use. You could set the following password...

Read More