Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts
This commit is contained in:
commit
5b8f0ca309
|
@ -1,4 +1,6 @@
|
|||
$global:IsOutputANSICompatible = (
|
||||
$PSVersionTable.Platform -eq "Unix"
|
||||
) -or (
|
||||
([int]((Get-CimInstance -ClassName Win32_OperatingSystem).Version -split '\.')[0]) -ge 10
|
||||
) -or (
|
||||
($env:ConEmuANSI -eq 'ON') -and ($Host.Name -eq 'ConsoleHost' )
|
||||
|
|
Loading…
Reference in New Issue