How to display all ongoing deployments on Azure

Currently, I didn’t find a user interface method to display all ongoing deployments. However, as always PowerShell is our friend! The Get-AzureRmResourceGroupDeployment cmdlet gives you all deployments, whether they are ongoing, failed, or succeeded. As an input of this cmdlet, you can target the resource groups you desire with the Get-AzureRmResourceGroup cmdlet. For example, if […]

How to find a user’s password expiration date with PowerShell

Retrieve the information This information can be found in the user’s Active Directory’s objects with the Get-ADUser cmdlet. However, the msDS-UserPasswordExpiryTimeComputed attribute is a constructed attribute. According to Microsoft: Constructed attributes have the property that they are attributes for which the attribute value is computed by using other attributes, sometimes from other objects. And because […]

How to configure computer delegation with PowerShell

By configuring computer delegation with PowerShell, you can determine whether you can access an Active Directory (AD) computer from another computer. This article will demonstrate the difference between unconstrained delegation, constrained delegation to any service, and constrained delegation to specified services. Contents of this article: The concept of computer delegation in a nutshell Two different […]

[Solved] No valid module file was found in any module directory

Problem context Everything seems correct: The path is correctly set to find your PowerShell module (normally C:\Program Files\WindowsPowerShell\Modules) Your PowerShell module was correctly build Your files are in a subfolder of the C:\Program Files\WindowsPowerShell\Modules folder the PSM1 and PSD1 (if you created one) files have the same name as the folder name Your module is […]