PSReflect-Functions

1.0

Provides Windows API functions as abstracted PowerShell functions.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSReflect-Functions -RequiredVersion 1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSReflect-Functions -Version 1.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Jared Atkinson (@jaredcatkinson) Will Schroeder (@harmj0y) Chris Ross (@xorrior)

Copyright

(c) 2017 Jared Atkinson, Will Schroeder, and Chris Ross. All rights reserved.

Package Details

Owners

Tags

PSReflect Windows-API Win32-API Kernel32 Ntdll Secur32

Functions

ChangeServiceConfig CloseHandle CloseServiceHandle ConvertSidToStringSid CreateToolhelp32Snapshot DsEnumerateDomainTrusts DsGetSiteName DuplicateToken GetCurrentProcess GetIpNetTable GetThreadContext GetTokenInformation GetTokenInformation-MaxTokenInfoClass GetTokenInformation-TokenAccessInformation GetTokenInformation-TokenAppContainerName GetTokenInformation-TokenAppContainerSid GetTokenInformation-TokenAuditPolicy GetTokenInformation-TokenCapabilities GetTokenInformation-TokenDefaultDacl GetTokenInformation-TokenDeviceClaimAttributes GetTokenInformation-TokenDeviceGroups GetTokenInformation-TokenElevation GetTokenInformation-TokenElevationType GetTokenInformation-TokenGroups GetTokenInformation-TokenGroupsAndPrivileges GetTokenInformation-TokenHasRestrictions GetTokenInformation-TokenImpersonationLevel GetTokenInformation-TokenIntegrityLevel GetTokenInformation-TokenIsAppContainer GetTokenInformation-TokenIsRestricted GetTokenInformation-TokenLinkedToken GetTokenInformation-TokenLogonSid GetTokenInformation-TokenMandatoryPolicy GetTokenInformation-TokenOrigin GetTokenInformation-TokenOwner GetTokenInformation-TokenPrimaryGroup GetTokenInformation-TokenPrivileges GetTokenInformation-TokenRestrictedDeviceClaimAttributes GetTokenInformation-TokenRestrictedDeviceGroups GetTokenInformation-TokenRestrictedSids GetTokenInformation-TokenRestrictedUserClaimAttributes GetTokenInformation-TokenSandBoxInert GetTokenInformation-TokenSecurityAttributes GetTokenInformation-TokenSessionId GetTokenInformation-TokenSessionReference GetTokenInformation-TokenSource GetTokenInformation-TokenStatistics GetTokenInformation-TokenType GetTokenInformation-TokenUIAccess GetTokenInformation-TokenUser GetTokenInformation-TokenUserClaimAttributes GetTokenInformation-TokenVirtualizationAllowed GetTokenInformation-TokenVirtualizationEnabled ImpersonateLoggedOnUser LogonUser LsaCallAuthenticationPackage LsaCallAuthenticationPackageKerbPurgeTktCache LsaCallAuthenticationPackageKerbQueryTktCache LsaCallAuthenticationPackageKerbRetrieveTkt LsaConnectUntrusted LsaDeregisterLogonProcess LsaEnumerateLogonSessions LsaFreeReturnBuffer LsaGetLogonSessionData LsaLookupAuthenticationPackage LsaNtStatusToWinError LsaRegisterLogonProcess NetConnectionEnum NetFileEnum NetGetAnyDCName NetGetDCName NetLocalGroupAddMembers NetLocalGroupDelMembers NetLocalGroupEnum NetLocalGroupGetMembers NetSessionEnum NetShareAdd NetShareDel NetShareEnum NetWkstaUserEnum NtQueryInformationThread OpenProcess OpenProcessToken OpenSCManagerW OpenThread OpenThreadToken QueryFullProcessImageName ReadProcessMemory ResumeThread RevertToSelf RtlAdjustPrivilege TerminateThread Thread32First VirtualAllocEx VirtualFreeEx VirtualProtectEx VirtualQueryEx WNetAddConnection2W, WNetCancelConnection2 WriteProcessMemory WTSCloseServer WTSEnumerateSessionsEx WTSOpenServerEx

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
2.0.0 17,686 6/10/2021
1.1 3,011 5/11/2018
1.0 (current version) 366 6/18/2017