[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 […]

[Solved] PowerShell run as Administrator doesn’t find the program

Sometimes on a Windows 2012 R2 server, you can get this error message This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel. The solution Click on the shortcut without the Run […]

[Solved] Skype cmdlet Active Directory error -2147016672

Context and error This error happens when you use Skype For Business cmdlets in a remote PSSession. Active Directory error “-2147016672” occurred while searching for domain controllers in domain “mydomain.com”: “An operations error occurred. ” + CategoryInfo : NotSpecified: (:) [Get-CsConferencingPolicy], ADTransientException + FullyQualifiedErrorId : Microsoft.Rtc.Management.ADConnect.ADTransientException,Microsoft.Rtc.Management.Internal.GetConferencingPolicyCmdlet It is due to a double hop issue. Resolution […]