PSReflect-Functions
1.0
Provides Windows API functions as abstracted PowerShell functions.
Installation Options
Owners
Copyright
(c) 2017 Jared Atkinson, Will Schroeder, and Chris Ross. All rights reserved.
Package Details
Author(s)
- Jared Atkinson (@jaredcatkinson) Will Schroeder (@harmj0y) Chris Ross (@xorrior)
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
- PSReflect-Functions.nuspec
- PSReflect-Functions.psd1
- PSReflect-Functions.psm1
- PSReflect.ps1
- advapi32\ChangeServiceConfig.ps1
- advapi32\CloseServiceHandle.ps1
- advapi32\ConvertSidToStringSid.ps1
- advapi32\DuplicateToken.ps1
- advapi32\GetTokenInformation.ps1
- advapi32\ImpersonateLoggedOnUser.ps1
- advapi32\LogonUser.ps1
- advapi32\LsaNtStatusToWinError.ps1
- advapi32\OpenProcessToken.ps1
- advapi32\OpenSCManagerW.ps1
- advapi32\OpenThreadToken.ps1
- advapi32\RevertToSelf.ps1
- Enumerations\DsDomainFlag.ps1
- Enumerations\DsDomainTrustAttributes.ps1
- Enumerations\DsDomainTrustType.ps1
- Enumerations\LuidAttributes.ps1
- Enumerations\MemOptions.ps1
- Enumerations\MEMORY_ALLOCATION_TYPE.ps1
- Enumerations\MEMORY_PROTECTION.ps1
- Enumerations\MemType.ps1
- Enumerations\PageOptions.ps1
- Enumerations\PROCESS_ACCESS.ps1
- Enumerations\PROCESS_CREATION_FLAGS.ps1
- Enumerations\SecurityEntity.ps1
- Enumerations\SECURITY_IMPERSONATION_LEVEL.ps1
- Enumerations\SID_NAME_USER.ps1
- Enumerations\THREAD_ACCESS.ps1
- Enumerations\TOKEN_ACCESS.ps1
- Enumerations\TOKEN_INFORMATION_CLASS.ps1
- Enumerations\TOKEN_TYPE.ps1
- Enumerations\WTS_CONNECTSTATE_CLASS.ps1
- iphlpapi\GetIpNetTable.ps1
- kernel32\CloseHandle.ps1
- kernel32\CreateToolhelp32Snapshot.ps1
- kernel32\GetCurrentProcess.ps1
- kernel32\GetThreadContext.ps1
- kernel32\OpenProcess.ps1
- kernel32\OpenThread.ps1
- kernel32\QueryFullProcessImageName.ps1
- kernel32\ReadProcessMemory.ps1
- kernel32\ResumeThread.ps1
- kernel32\TerminateThread.ps1
- kernel32\Thread32First.ps1
- kernel32\VirtualAllocEx.ps1
- kernel32\VirtualFreeEx.ps1
- kernel32\VirtualProtectEx.ps1
- kernel32\VirtualQueryEx.ps1
- kernel32\WriteProcessMemory.ps1
- mpr\WNetAddConnection2W.ps1
- mpr\WNetCancelConnection2.ps1
- netapi32\DsEnumerateDomainTrusts.ps1
- netapi32\DsGetSiteName.ps1
- netapi32\NetConnectionEnum.ps1
- netapi32\NetFileEnum.ps1
- netapi32\NetGetAnyDCName.ps1
- netapi32\NetGetDCName.ps1
- netapi32\NetLocalGroupAddMembers.ps1
- netapi32\NetLocalGroupDelMembers.ps1
- netapi32\NetLocalGroupEnum.ps1
- netapi32\NetLocalGroupGetMembers.ps1
- netapi32\NetSessionEnum.ps1
- netapi32\NetShareAdd.ps1
- netapi32\NetShareDel.ps1
- netapi32\NetShareEnum.ps1
- netapi32\NetWkstaUserEnum.ps1
- ntdll\NtQueryInformationThread.ps1
- ntdll\RtlAdjustPrivilege.ps1
- secur32\LsaCallAuthenticationPackage.ps1
- secur32\LsaConnectUntrusted.ps1
- secur32\LsaDeregisterLogonProcess.ps1
- secur32\LsaEnumerateLogonSessions.ps1
- secur32\LsaFreeReturnBuffer.ps1
- secur32\LsaGetLogonSessionData.ps1
- secur32\LsaLookupAuthenticationPackage.ps1
- secur32\LsaRegisterLogonProcess.ps1
- Structures\CONNECTION_INFO_0.ps1
- Structures\CONNECTION_INFO_1.ps1
- Structures\CONTEXT64.ps1
- Structures\DS_DOMAIN_TRUSTS.ps1
- Structures\FILE_INFO_2.ps1
- Structures\FILE_INFO_3.ps1
- Structures\LOCALGROUP_INFO_0.ps1
- Structures\LOCALGROUP_INFO_1.ps1
- Structures\LOCALGROUP_MEMBERS_INFO_0.ps1
- Structures\LOCALGROUP_MEMBERS_INFO_1.ps1
- Structures\LOCALGROUP_MEMBERS_INFO_2.ps1
- Structures\LOCALGROUP_MEMBERS_INFO_3.ps1
- Structures\LSA_STRING.ps1
- Structures\LSA_UNICODE_STRING.ps1
- Structures\LUID.ps1
- Structures\LUID_AND_ATTRIBUTES.ps1
- Structures\MEMORY_BASIC_INFORMATION.ps1
- Structures\MODULE_INFO.ps1
- Structures\NETRESOURCEW.ps1
- Structures\SESSION_INFO_0.ps1
- Structures\SESSION_INFO_1.ps1
- Structures\SESSION_INFO_10.ps1
- Structures\SESSION_INFO_2.ps1
- Structures\SESSION_INFO_502.ps1
- Structures\SHARE_INFO_0.ps1
- Structures\SHARE_INFO_1.ps1
- Structures\SHARE_INFO_2.ps1
- Structures\SHARE_INFO_502.ps1
- Structures\SHARE_INFO_503.ps1
- Structures\SID_AND_ATTRIBUTES.ps1
- Structures\SYSTEM_HANDLE_INFORMATION.ps1
- Structures\THREADENTRY32.ps1
- Structures\TOKEN_GROUPS.ps1
- Structures\TOKEN_MANDATORY_LABEL.ps1
- Structures\TOKEN_ORIGIN.ps1
- Structures\TOKEN_OWNER.ps1
- Structures\TOKEN_PRIVILEGES.ps1
- Structures\TOKEN_SOURCE.ps1
- Structures\TOKEN_USER.ps1
- Structures\WKSTA_USER_INFO_0.ps1
- Structures\WKSTA_USER_INFO_1.ps1
- Structures\WTS_CLIENT_ADDRESS.ps1
- Structures\WTS_SESSION_INFO_1.ps1
- wtsapi32\Get-NetRDPSession.ps1
- wtsapi32\WTSCloseServer.ps1
- wtsapi32\WTSEnumerateSessionsEx.ps1
- wtsapi32\WTSOpenServerEx.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 21,849 | 6/10/2021 |
1.1 | 3,042 | 5/11/2018 |
1.0 (current version) | 376 | 6/18/2017 |