237dmitry
237dmitry
Because WMI cmdlets are unavailable in "Core". Instead use `Get-CimInstance` ``` Get-Command *-Cim* ```
> On my system Get-Command -Name '*-wmi*' returns nothing Nothing on my system either, although `$env:PSModulePath` includes paths to Windows PowerShell modules. If you run `pwsh -noprofile` then wmi cmdlets...
I don't use any package managers and everything works fine. Just unpack to `/opt/microsoft/powershell/7/` and symlink pwsh to the `$PATH`, in `/usr/bin` for example. Forget about `dpgg` or `apt`
What does say the `Get-History`? `(h)[-1].Duration`
![Screenshot 2022-10-25 113418](https://user-images.githubusercontent.com/78153320/197725053-a38d977a-c875-42d1-b26a-8806d71046ab.png)
> Is it working for you on 7.3 preview ? pwsh: 7.2.7 Window Terminal: 1.16.2642.0 OS: Win 11 22H2 OS locale: UTF8 In conhost works too but emojies are monochrome.
what is `$help` variable? > The "help" command should display information about how to use Powershell. `help` command is alias for `Get-Help` cmdlet and without arguments shows common information how...
> It's not an alias, it's a built in function. I've always been sure that this is an alias. Very similar to the proxy function for Get-Help: ``` > gc...
I have so. I did not paste full output. I can't figure out what is causing the error in: ``` $consoleWidth = [System.Math]::Max([System.Console]::WindowWidth, 20) ``` `[System.Math]` is not a core...
If Taskmgr.exe is running then there are no errors. ![000](https://user-images.githubusercontent.com/78153320/198569866-bf95c6cf-bf8e-4ebe-a8cf-bd874e2f7756.png)