I have installed Powershell Core from Here. but in this PowerShell core Get-Counter command is not working.
Is there any way to run Get-Counter command in PowerShell Core.
I have installed Powershell Core from Here. but in this PowerShell core Get-Counter command is not working.
Is there any way to run Get-Counter command in PowerShell Core.
If Get-Counter command is not working on Pre-Built PowerShell of windows, you can add package of your desire command from below URL:
There is a Windows Compatibility Module for PS Core:
You can install in from PSGallery, Enable-PSRemoting, and then run Invoke-WinCommand {get-counter} from PS Core.