Showing all posts tagged: Powershell

I've recently been trying to share files and folders with external users from within my Office 365 tenant and have been having issues.  Although the GUI was configured as per Microsoft's best practices I was still unable to share anything externally and was receiving the "Your organization's polici...

Continue reading...

I was recently asked if there was a way to see a list of users who had mobile devices attached to their Office 365 account.  In order to do this I have written a PowerShell script. 

The script is generic only relies on you having global admin access to Office 365. Built into my script is the comm...

Continue reading...

There are quite a lot of good events and user groups happening in Scotland next month and I thought it would be good to share the details of these.   Glasgow SQL Server Meetup The Glasgow based SQL server meetup group will be meeting up in Glasgow City Centre on the 22nd August and will have some...

Continue reading...

I have an Azure subscription that I use for test/dev purposes and it was starting to get a little crowded the other day with various labs that I had spun up for a purpose and never removed.  So I had a wee spring clean using some handy PowerShell commands. I covered some basic commands on how to con...

Continue reading...

I've recently been taking advantage of some free credits that I have access to within Azure and have been tinkering and trying out various different options within it.  One of the things I have been learning about and experimenting with is deploying a website within Azure. Over the years I've hosted...

Continue reading...

Recently I've been on the hunt for some user groups to attend and have managed to find a few that look interesting.  I thought I would share the ones I've found to help my fellow Scottish IT professionals join in with the community and hopefully learn something along the way.   [Edinburgh SQL Serve...

Continue reading...

I have complied some notes on how to install and configure DHCP using Powershell cmdlets.  These can come in handy for setting up lab environments quickly or scripting changes within your environment easily.

The first cmdlet is how to install the necessary role: Install-WindowsFeature -IncludeMa...

Continue reading...

Every now and again you need to troubleshoot firewall rules and Telnet is a great tool to help understand if a port is open or not between two devices. 

However Telnet is not enabled by default anymore, it has been like that since Windows Server 2008.

The following Powershell commands will hel...

Continue reading...

I've been looking at scripting out the build out of my Azure Lab so I can build it, use it for a purpose then rip it down and start again to use it again.  One of the scripts that I've pulled together is configuring non-integrated DNS Zones with Powershell both on a local server and a remote server....

Continue reading...

Powershell Remoting can allow you to run individual commands or run full Powershell sessions on remote systems.  Unfortunately by default it is locked down, so before you try to use it you need to enable it.  Within a domain this is an easy process.

  1. On the computer you wish to remote to open up a...

Continue reading...