Closed chucklu closed 5 years ago
@SteveL-MSFT any idea?
@BrucePay can you help out?
@SteveL-MSFT After checking the quick start document.
https://github.com/PowerShell/WindowsCompatibility/blob/master/docs/QuickStart.md
I find I must invoke the command Import-WinModule Microsoft.PowerShell.Management
before I use the New-EventLog
. I will add this command to $PROFILE
related to this issue https://github.com/PowerShell/PowerShell/issues/7811#issuecomment-424589846 I think I have install this module successfully according this issue https://github.com/PowerShell/WindowsCompatibility/issues/45 However, I can't sue
New-EventLog
after I installed this module.When I check the module by Get-Module, there is no module named as WindowsCompatibility. And the module path for
Microsoft.PowerShell.Management
isC:\program files\powershell\6\Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1
, is this correct?