Use PowerShell to Show User Rights Assignments Set by Group Policy

Here’s one I came across whilst performing some Group Policy troubleshooting…   Get-CimInstance -Query “Select * from RSOP_UserPrivilegeRight where precedence=1” -Namespace rootrsopcomputer | Select-Object UserRight,AccountList   13   It shows the UserRight set by Group Policy and who has it.  


Erro “The node failed to join failover cluster due to error code ‘2’” ao tentar ingressar node no cluster

Por: Rafael Oliveira   Recentemente, trabalhamos em um caso o qual ocorria falha ao tentar ingressar um novo node a um cluster Hyper-V com Windows Server 2012 R2. Basicamente, o erro obtido no wizard de adição do novo node era o seguinte:   Cluster service on node NODE02 did not reach the running state. The…


View passwords of wireless profiles without using netsh.exe

Ever since the GUI lost the ability to view the password of a wireless profile, I wanted to provide this functionality in PowerShell. A search of the Internet for how to view the password of a Wi-Fi profile returns numerous examples of how to use netsh.exe to accomplish this. I wrote a previous blog post…


Pro Tip: PowerShell DSC Events to Monitor

The Problem I need to monitor PowerShell DSC health on all of my nodes. But I do not want to wait for every possible event to happen in production to catch it and add it to my monitoring event list. The Options There are many options for monitoring PowerShell Desired State Configuration (DSC) status on…


New AzureAD Module for Office 365

What is new? The Update was made as Microsoft wanted to maintain the capabilities equivalent between our Graph API and our PowerShell cmdlets What is in for me? What should I take care? Yes, what this means that if(most of us would have) written some scripts that give us certain All the commands where you…


Visual Studio Code editing features for PowerShell development – Part 2

Summary: Editing features for Visual Studio Code that use the PowerShell extension. Welcome to Part 2 about editing features of Visual Studio Code. Everything that we  examined in Part 1 of this series is about Visual Studio Code editing features that are available without the PowerShell extension installed! They apply to your markdown, JSON, XML,…


Collect CLS Logging for Lync Server 2013 and Skype for Business 2015 in PowerShell

Here I am again with another Script.  This time I have tried to simplify the log collection with via PowerShell.  It allows you to leverage the power of CLS logging without having to install the Debugging Tools for either Lync or Skype for Business.  Also, it simplifies the complex Cmdlet by only requiring 3 switches. …


Visual Studio Code editing features for PowerShell development – Part 1

Summary: The editing features of Visual Studio Code come in handy as you develop your PowerShell scripts. Note: This post includes animated gifs. For best results, view the post in Internet Explorer or Microsoft Edge. In the previous blog post, we explained how to get started with PowerShell development in Visual Studio Code. If you…


Run a PowerShell script multi-threaded. I mean in parallel!

Have you ever wanted to run a PowerShell script in parallel? Here is a functions that I created to run a script in parallel or multi-threaded. Invoke-ScriptMultiThreaded.ps1 has been uploaded to the TechNet Script Repository here: I want to give a shout out to the SCOO‘er at Ramstein AB Germany for their outstanding dedication and…


SharePoint Online cmdlets to help your migration

Summary: Use these PowerShell cmdlets to migrate to SharePoint Online. Today’s post is from Christopher Weaver, who is a Microsoft Premier Field Engineer (PFE) and focuses on SharePoint and Office 365 solutions for large enterprise Premier customers. He has been doing PowerShell and SharePoint with Microsoft for nine years. In his spare time, he enjoys…