Aug 11

Microsoft Exchange 2013 shows blank ECP / OWA / Powershell after Upgrade.

After upgrading your Exchange 2013 server, you are faced with no Exchange Powershell, no webconsole…
This fix saved the day!

 

Microsoft Exchange 2013 shows blank ECP & OWA after changes to SSL certificates

Aug 05

Use Powershell to find latest AzureAdConnect version online.

Use a function to find the latest version of Azure AD Connect online

From Microsofts page: Azure AD Connect Version Historiy

Function Get-AzureADConnectVersionOnline {

# Find version number
$TempAzure = Invoke-WebRequest -Uri https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-version-history
$TempAzure.content | Out-File C:\temp\AzureVersion.TXT
$AzureFile = Get-Content C:\temp\AzureVersion.TXT | Select-String -Pattern “<h2 id=”
$Azure = $AzureFile -replace “\<.*?\>”
$AzureVersion = $azure | Select-Object -first 1
Write-Output “Latest Online Version is: $AzureVersion”

# Find release date
$AzureReleaseFile = Get-Content C:\temp\AzureVersion.TXT | Select-String -Pattern “<p>”
$AzureRelease = $AzureReleaseFile -replace “\<.*?\>”
$AzureReleaseDate = $AzureRelease[3]
Write-output “Azure Relase date $AzureReleaseDate”

}

This will give you the following output:

Latest Online Version is: 1.1.561.0
Azure Relase date Status: July 23 2017

Aug 05

Powershell: Basic programs

Learning PowerShell: basic programs

Jul 14

Automating WSUS with Powershell

Automating WSUS with PowerShell

Jul 13

Hamburgermenu Powershell

https://dev4sys.blogspot.no/2017/07/mahappsmetro-hamburgermenu-powershell.html

Jul 11

sp_Blitz® – Free SQL Server Health Check Script

sp_Blitz® – SQL Server Takeover Script

Jul 11

Upload files to Azure Web App via FTP

https://msdevzone.net/2017/07/10/upload-files-to-azure-web-app-via-ftp/

Jun 23

Write-Host considered harmfull ;o

Old but very interesting thread about Console output in your Powershell scripts.

Write-Host Considered Harmful

Jun 20

Managing updates for your Azure VM

https://azure.microsoft.com/nb-no/blog/managing-updates-for-your-azure-vm/

Jun 09

Manage E-mail addresses using PowerShell

I’d like to link a blog I used to visit a lot before, but still very handy, and I often use these tricks to add addresses to my users.

Well written and explained.

 

Manage Email address using PowerShell | Office 365