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