Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
WozTools
2.9.5
Public/Get-CurrentUser.ps1
Function
Get-CurrentUser
{
[
CmdletBinding
(
)
]
[
Alias
(
'CUser'
)
]
param
(
)
[System.Security.Principal.WindowsIdentity]
::
GetCurrent
(
)
.
Name
}