From e1e5a566729b7f68095a4552677a4e919bda60c3 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Wed, 19 Sep 2018 22:45:32 -0500 Subject: [PATCH] Typo --- Examples/Get-System.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/Get-System.ps1 b/Examples/Get-System.ps1 index 715b48b..138d4f7 100644 --- a/Examples/Get-System.ps1 +++ b/Examples/Get-System.ps1 @@ -26,7 +26,7 @@ function Get-System # Open winlogon's Token with TOKEN_DUPLICATE Acess # This allows us to make a copy of the token with DuplicateToken - $hToken = OpenProcessToken -ProcessHandle $proc.Handle -DesiredAccess $TOKEN_ACCESS::TOKEN_DUPLICATE + $hToken = OpenProcessToken -ProcessHandle $proc.Handle -DesiredAccess TOKEN_DUPLICATE # Make a copy of the NT AUTHORITY\SYSTEM Token $hDupToken = DuplicateToken -TokenHandle $hToken