Azure Active Directory PowerShell

A list of most used Azure Active Directory PowerShell commands

Install Azure Active Directory PowerShell module

Install-Module AzureAD

Use AzureADPreview to install public preview of the module

Connect to Azure account

Connect-AzureAD

Commands

Command Usage
Get-AzureADObjectByObjectId Find the resource from its object Id
»
Author's profile picture ganesshkumar on powershell

Powershell Scripting - Building Blocks

Check and create directory if it doesn’t exist

$SourceDir = "directoryName"
if (!(Test-Path -Path $SourceDir ))
{
    Write-Host "Creating {$SourceDir} directory" -ForegroundColor Green
    New-Item -ItemType directory -Path $SourceDir
}
»
Author's profile picture ganesshkumar on powershell

Running exe in background

A simple way to run an executable file in backgound in Windows 10.

»
Author's profile picture ganesshkumar on personal-reference

Self-hosting multiple applications in a single machine

I love self-hosting personal applications. I spun a machine on cloud and started hosting my applications. As I wanted to host my second application, I got struck routing both the application’s request to the same machine without needing to specify a port number in the URL. Specifying a port number in the URL like http://miniflux.ganesshkumar.com:5000 and http://blog.ganesshkumar.com:4000 made the URL look ugly.

»
Author's profile picture ganesshkumar on self-hosting

Derivatives of Activation functions

Here is my attempt at finding the derivatives of common activation functions of neural network namely sigmoid, tanh, ReLU and leaky ReLU functions.

»
Author's profile picture ganesshkumar on neural network

Dockerize Meteor Application

Let’s start with building our meteor project to make it ready for the production environment. Create a file build-docker.sh in the project’s root directory.

»
Author's profile picture ganesshkumar on docker

Nathas: Your Slack DJ

Nathas, a slack bot, is our entry for the India’s first botathon conducted by TLabs. Nathas has won us the second runner-up at the hackathon.

»
Author's profile picture ganesshkumar on project and hackathon

Notes on my Virtual Box

Though I use OS X as my primary operating system now a days, I still use Ubuntu GNOME on a virtual box for one or two projects. Why not? I love GNOME. This post contains notes on my virtual box setup, primarily for my reference.

»
Author's profile picture ganesshkumar on virtual-box

Containerize GUI Applications on Mac - II

In the previous post, we ran firefox inside a container on OS X. To allow connection from the container to the X11, we used xhost + $(hostname). This gives rise to serious security vulnerability.

»
Author's profile picture ganesshkumar on docker

Containerize GUI Applications on Mac

After watching Container Hacks and Fun Images by Jessie Frazelle, I wanted to Containerize my GUI applications on OS X.

»
Author's profile picture ganesshkumar on docker