GET AZROLEDEFINITION BY ACTION

Ever wanted to get all Azure roles containing a specific Action (permission) just to find that specific standard role to use when delegating permissions in Azure? Here is a small snippet of PowerShell to do just that:

RECURSIVE DELETE AZURE MANAGEMENT GROUPS

When testing bicep templates that create Azure Management Groups, a recursive removal of chosen management group and all of it’s children is a much needed tool. Sifting through the documentation of the Az.

BICEP MANAGEMENT GROUP TEMPLATES

Management Group Hierarchy Deploying Azure Management Groups hierarchy to your Tenant is a good start to implement CAF (Cloud Adoption Framework) and in this post I’ll show two different ways to deploy this with Bicep templates.

EXTEND LINUX LVM(SHORT)

How to extend a Linux LVM Add more disk space to the VM Do this by expanding the virtual disk of the VM in your hypervisor (kvm/esx/hyper-v) Reboot the vm if the vm/hypervisor don’t support “hot add” of storage.

EXCHANGE ONLINE - ROOM SETTINGS

When migrating to Exchange Online, default settings for room mailboxes don’t allow others users than the “booker” to see information about the booking. This is a fast rundown of how I changed some permissions to allow users to see who booked the room.

INSTALL MOSQUITTO ON UBUNTU 15.04

(This is hastly jotted down. Updates may be needed…) Add mosquitto’s PPA to ubuntu, in a terminal 1 sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa If the command does’t work, read more here Run update 1 sudo apt-get update Install the mosquitto server only 1 sudo apt-get install mosquitto Install the mosquitto server and mosquitto pub/sub clients 1 sudo apt-get install mosquitto mosquitto-clients Stop the mosquttio server 1 sudo /etc/init.

CHANGE TIMEZONE ON DEBIAN OR UBUNTU

In a terminal, write 1 dpkg-reconfigure tzdata

APT ADD REPOSITORY COMMAND NOT FOUND

Can’t add a PPA repository? Do this: 1 sudo apt-get install python-software-properties Still does’t work? 1 sudo apt-get install software-properties-common

HOW TO SEARCH FOR PACKAGES IN UBUNTU

In a terminal, write 1 apt-cache search xxyyzz And to search all: 1 apt-cache search .

SSTP OR PPTP VPN CLIENT ON WINDOWS 8

How to configure a VPN client on Windows 8 Start by navigating to “Network and Sharing Center” Click “Set up a new connection or network” Click “Connect to a workplace” Click “Create a new connection” Click “Use my Internet connection (VPN)” In “Internet address:” type the adress to your VPN router and in “Destionation name:” type a descriptive name for the connection.