Figure Out the Line of Code When PowerShell Hangs

When executing Powershell script, there could be slowness or hang issue. In order to solve this kind of problems, what can we do? Ideally, we can just add more log and run the script again to reproduce the problem. While, in some condition, the script is just running in production environment and the log is…

0

Use SQL Server as DSC Pull Server Backend?

Recently, I am working on a request to check the possibility to use SQL Server as Powershell DSC Pull Server’s backend. As DSC server supports both of ESENT DB and MDB which is connected by OleDB provider, I plan to use OleDB to connect my SQL Server as well. While, after everything configured, I got…

1

Resource Owner Password Credentials Grant in Azure AD OAuth

Azure AD supports varies grant flows for different scenarios, such as Authorization Code Grant for Web server application, Implicit Grant for native application, and Client Credentials Grant for service application. Furthermore, the Resource Owner Password Credentials Grant is also supported for the case that the resource owner has a trust to the target application, such…

17

Access Exchange Online by PowerShell in C#

For exchange online management, the most convenient and powerful approach is Exchange Online PowerShell Cmdlet. Before calling each management cmdlet, we need establish a remote session firstly and Connect to Exchange Online PowerShell is a good start for this.   In the meantime, probably you would like to access exchange online from C#, such as…

3

Use Procdump to troubleshoot white screen issue of Bonobo git server

Bonobo git server is a handy open source project to setup self hosted git server easily in IIS for Windows platform, while in some machines, the home page could be white screen without displaying correctly. This is a common situation when we are working on 3rd or open source project because not familiar with the…

0