profile for Hannel on Stack Exchange, a network of free, community-driven Q&A sites

Project Work Hours

Sat & Sun 6am - 9am

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

2C

This article covers the operation of a custom script that will copy supported DNS records from a Windows DNS server into AzureDNS. The script will search the specified DNS Zone on a Windows DNS Server for supported Azure DNS records (MX,A,AAAA,SRV,TXT,CNAME & PTR) and copy those record over to AzureDNS. This script should only be used for initial copy as it will try to create new DNS Zone in Azure and if that fail because DNS Zone is already in Azure script will terminate. Requirements for running script are;

  1. Access to windows DNS Server
  2. Azure Global Admin Account
  3. Windows PowerShell 4.0+
  4. Azure PowerShell 3.0+
Copying Windows DNS Zone to AzureDNS

Copying Windows DNS Zone to AzureDNS

Continue reading

This article covers using my custom script to configuring WinRM HTTPS on an Azure Nano Server. The script (NanoWinRM-SelfSCert-Deployment.ps1) creates a local self-signed certificate on machine and use that certificate to configure WinRM HTTPS on the Nano Server. This option created a shared on a storage account to transfer certificate. Requirements for running script are;

  1. Azure Global Admin Account
  2. Windows 10 or Windows Server 2016
    • Windows PowerShell 5.1
  3. Azure PowerShell 3.0+
Configure WinRM HTTPS on Nano with Local Self-Signed Certificate

Configure WinRM HTTPS on Nano with Local Self-Signed Certificate

Continue reading

This article covers using my custom script to configuring WinRM HTTPS on an Azure Nano Server. The script (NanoWinRM-KeyVaultCert-Deployment.ps1) uses the Azure Key Vault to create a certificate and use that certificate to configure WinRM HTTPS on the Nano Server. Note using this option you might accrue some Key Vault services charges. Requirements for running script are;

  1. Azure Global Admin Account
  2. Windows PowerShell 4.0+
  3. Azure PowerShell 3.0+

2016-11-27-08_13_43-configure-winrm-https-on-nano-with-key-vault-certificate

Continue reading

This article covers the automation of fixing a common DirSync/AADConnect issue with duplicate cloud account. The duplicate error, which should look like something below means the Local AD account and the cloud account did not merger due to Immutable ID mismatch. The script will update the Cloud Immutable ID to match the local and accounts will merged

20160128 - DirSyncError-bhazeley

Download Script Here

Syntax:

.\UpdateImmutableID -UPN

Example:

.\UpdateImmutableID -UPN bhazeley@techs.o365tech.us

Continue reading