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