Azure Developer–Let’s investigate production issues with Azure Monitor, Snapshot Debugger

In this session, Isaac shares us how the developer exception resolution experience can be better with Azure Monitor and Snapshot Debugger. The discussion talks about what Azure Monitor is and an introduction to Snapshot Debugger, and quickly goes into demos showcasing what developers can do with Snapshot Debugger.   [0:50] – Overview of Azure Monitor [2:11]…


How to connect to Exchange Online PowerShell using multi-factor authentication??

If you want to use multi-factor authentication (MFA) to connect to Exchange Online PowerShell, you can’t use the instructions at Connect to Exchange Online PowerShell to use remote PowerShell to connect to Exchange Online. First, MFA requires you to install the Exchange Online Remote PowerShell Module Then you need to use the Connect-EXOPSSession cmdlet to…


Get-UserPhoto cmdlet may throw UserPhotoNotFoundException

Based on my last Get-userphoto blogpost, if you run the Exchange Powershell then you may get the following error: Error on proxy command ‘Get-UserPhoto -Identity:’CN=svcadmin,OU=xxxx.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=xxxx,DC=xxx,DC=outlook,DC=com” to server xxxx.xxxx.xxx.outlook.com: Server version 15.20.xxxx.0000, Proxy method PSWS: Cmdlet error with following error message: Microsoft.Exchange.Data.Storage.UserPhotoNotFoundException: There is no photo stored here.    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory,…


Microsoft Office 365–Using Exchange PowerShell to get Users photo from Microsoft Office 365

You can use the Get-UserPhoto cmdlet to view information about the user photos feature that allows users to associate a picture with their account. User photos appear in on-premises and cloud-based client applications, such as Microsoft Outlook Web App (OWA), Lync, Skype for Business, and SharePoint. Please note that, – This cmdlet is available in…


Download Exchange Server 2016 CU 7, Exchange Server 2013 CU 18

On September 19, 2017 we released the Cumulative update 7 for Microsoft Exchange Server 2016 and Cumulative update 18 for Microsoft Exchange Server 2013 as well. Exchange Server 2016 CU 7:Several nonsecurity issues are fixed in this cumulative update or a later cumulative update for Exchange Server 2016.  So the Exchange Server 2016 CU 7…

1

Scripting: Send email using Powershell and System.Net.Mail API

You can send email using System.Net.Mail API & PowerShell scripting. It’s easy, faster!! Lets try… Why Powershell? PowerShell is the automation platform and scripting language for Windows and Windows Server that allows you to simplify the management of your systems. Unlike other text-based shells, PowerShell harnesses the power of the .NET Framework, providing rich objects…

4

…ok now, how to find .Net Version installed in any given environment?

There are few good ways available to find out which .Net Version is installed in any given environment. You can try one of the following: – Manually you can check it via registry editor (REGEDIT.exe). Refer https://msdn.microsoft.com/en-us/library/hh925568(v=vs.110).aspx – Using C#.Net you can use System.Environment class to get the related info: private static void GetFrameworkVersionInfo() {…

2

Just FYI – Support Ending for the .NET Framework 4, 4.5, 4.5.1 @ January 12, 2016

Last year I blogged regarding the end of support for .Net Frameworks (4, 4,5 & 4.5.1), starting January 12, 2016 and it’s not far away – please there will be no longer provide security updates, technical support or hotfixes for .NET 4, 4.5, and 4.5.1 frameworks. All other framework versions, including 3.5, 4.5.2, 4.6 and…


Office IT Pro: Deployment scripts for Office 2016

To help IT pros with Office client deployments using PowerShell to streamline the process we created a community project.  It contains all of the scripts on our GitHub repository in five categories: – Preparation – Information – Deployment – Management – Updates Also please visit the related Wiki, which contains useful information designed to provide…


Supportability matrix for Microsoft Exchange Server 2007, 2010 and 2013 versions

The Exchange Server Supportability Matrix provides a central source for Microsoft Exchange administrators to easily locate information about the level of support available for any configuration or required component for supported versions of Microsoft Exchange. You can refer the supportability matrix here – all of them documented in a single place. It talks about Release…


Exchange PowerShell: How to get list of mailboxes, folders, subfolders, items in folder, foldersize programmatically?

One of my customer automated Exchange PowerShell with his .Net application. They had a requirement to enhance the functionality – to get the list of exchange mailboxes, folders and its sub folders, items in folder, foldersize. Finally it needs to be saved in .csv format.  To implement this, we used Get-Mailbox and Get-MailboxFolderStatistics Exchange cmdlets….

3

PowerShell: Determine Version number, build number and Service Pack of Exchange Server

In my earlier article, we learnt how to get the Exchange Server version, version/build number of Exchange 2003 and it’s earlier. In this, we will see how to get these info & couple of additional info in Exchange Server 2007/2010 using Exchange Management Shell and Exchange Management Console. Using Exchange Management Console: To view the…

2

Exchange Server 2007, 2010: How to query user mailboxes, its permissions using Exchange PowerShell?

In Exchange Server 2007/2010, you can use Exchange PowerShell cmdlets (especially using Get-Mailbox, Get-MailboxPermission, Get-ADPermission, Get-MailboxFolderPermission) to get a verity of info. I played with couple of the below in different scenarios and want to share the same with you – so that you can give a shot and make use of. Scenario # 1:…

2

Admin: How to remove retention policy from Outlook/Exchange?

·To remove retention policy from Outlook: When you remove a retention policy from an email message, the folder policy applies to the item, if one is assigned. 1. In the message list, click a message. (To select more than one message, press and hold CTRL as you click each message.) 2. On the Home tab,…


Exchange Server 2010: Using Test-MapiConnectivity cmdlet

With Exchange Server 2010, recently i used the Test-MapiConnectivity cmdlet. Because it verifies server functionality by logging on to the mailbox that you specify. This cmdlet logs on to the mailbox that you specify (or to the SystemMailbox if you don’t specify the Identity parameter) and retrieves a list of items in the Inbox. Logging…