mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Rename IsCore to IsCoreCLR
This commit is contained in:
1 parent
9ba6ba359d
commit
41173a3b65
17 files changed
+33
-33
No files matched your search
@@ -1,4 +1,4 @@
|
||||
if ($IsWindows -and !$IsCore) {
|
||||
if ($IsWindows -and !$IsCoreCLR) {
|
||||
#check to see whether we're running as admin in Windows...
|
||||
$windowsIdentity = [Security.Principal.WindowsIdentity]::GetCurrent()
|
||||
$windowsPrincipal = new-object 'Security.Principal.WindowsPrincipal' $windowsIdentity
|
||||
|
||||
Reference in new issue
Block a user