WindowsCompatibility
WindowsCompatibility copied to clipboard
Module that allows Windows PowerShell Modules to be used from PSCore6
Some commands in the DISM module are not running for example: ``` PS C:\Windows\System32> Get-WindowsCapability -Online Get-WindowsCapability: Class not registered PS C:\Windows\System32> Get-WindowsOptionalFeature -Online Get-WindowsOptionalFeature: Class not registered ``` Same...
## Issue In PowerShell 7.1.3 when attempting to execute the following ___FROM A CLEAN SESSION___ we encounter an error. Script: ```powershell function Test-GetADUser { [CmdletBinding( SupportsShouldProcess = $true )] param...
IISAdministration does not work on PowerShell 7, even the latest release candidate. I understand that the install does not install a required DLL. There is also talk that some required...
https://github.com/PowerShell/WindowsCompatibility/blob/7b76e65d2a59a38dfd5db36c1441175da293a639/WindowsCompatibility/WindowsCompatibility.psm1#L150 could cause error: >Cannot convert value "" to type "System.Boolean". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0. I'm not sure if...
* Update LICENSE.txt so that Github recognizes it as MIT. * Remove the term All Rights Reserved as Microsoft no longer recommend it. See also: https://github.com/PowerShell/PowerShell/pull/12729
[EXOCmdletTelemetry-20200806-112028.txt](https://github.com/PowerShell/vscode-powershell/files/5033919/EXOCmdletTelemetry-20200806-112028.txt) Issue Type: Bug Connect-ExchangeOnline -UserPrincipalName [email protected] -ShowProgress $true -EnableErrorReporting -LogDirectoryPath C:\temp\logs -LogLevel All generates always an error but is working with Posh 5.1 Extension version: 2020.6.0 VS Code version:...
From https://github.com/aspnet/AspNetCore.Docs/issues/12332. Full description of the problem from @scottluskcis: > The first command succeeds but the Import-WinModule command fails with this error > > ``` > PS C:\Users\MyUser> Import-WinModule Microsoft.PowerShell.LocalAccounts...
This is basically the same issue as https://github.com/PowerShell/PowerShell/issues/12702 - just reposting it here for tracking after a tip from @rjmholt. > First of all, in an unelevated shell it just...
Installed WindowsCompatibility module and imported PKI module. Created certificate as follows: `$cert = New-SelfSignedCertificate -Subject 'test' -KeyExportPolicy Exportable -CertStoreLocation Cert:\CurrentUser\My ` When exporting (and yes $pw is a securestring) I...
Running: **Import-WinModule Microsoft.PowerShell.Management** gives: **Method invocation failed because [System.Management.Automation.PSModuleInfo] does not contain a method named 'Where'.** on Powershell Core 6.2.4 (64bit, running on Windows Server 2012R2 Standard) Name Value ----...