Add LocalSystemInfo.psm1

This commit is contained in:
2026-07-23 03:52:37 +00:00
parent 40b52855be
commit 58c059e7f2
+13
View File
@@ -0,0 +1,13 @@
function Get-LocalComputerName {
<#
.SYNOPSIS
Retrieves the name of the local computer.
#>
[CmdletBinding()]
param()
process {
# Using cross-platform .NET method for native speed and compatibility
return [System.Environment]::MachineName
}
}