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
How to List Users in Office 365 Using PowerShell
Aug09

How to List Users in Office 365 Using PowerShell

If you don’t know how to connect PowerShell to Office 365 then read this post first to get started: How to Connect PowerShell to Office 365 List Users The easiest way to return a list of all users is to run the Get-MsolUser cmdlet. By default, it will return only the UPN, Display name and the isLicensed attributes. Get-MsolUser User Attributes Each user contains a number of attributes defining their settings and personal...

Read More
How to List Office 365 Subscriptions Using PowerShell
Aug05

How to List Office 365 Subscriptions Using PowerShell

Subscriptions in Office 365 define the features and services available and how many licenses you have available to issue to user accounts. Each subscription has its own Account SKU ID such as ENTERPRISEPREMIUM for E3 subscriptions. When you reference a subscription ID in PowerShell you will need to prefix it with your 365 tenant name. This is the part before your onmicrosoft.com address you chose when creating your account. Our test...

Read More
How to Connect PowerShell to Office 365
Aug03

How to Connect PowerShell to Office 365

Required Tools In order for you to manage your Office 365 account, you will need to download and install a few tools. You can manage your account from any Windows PC, you don't need to install them to a server so can manage accounts directly from your PC or laptop. Download and install each of the following tools: Microsoft Online Services Sign-in Assistant http://www.microsoft.com/en-us/download/details.aspx?id=41950 Azure Active...

Read More