Testni prispevek

Testiranje vsebine

čšž
ČŠŽ

čšž
ČŠŽ

PowerShell
$systemInfo = Get-SystemInfo.ps1
$hostname = ($systemInfo | Select-String -Pattern "Hostname\s*:\s*(.+)").Matches.Groups[1].Value.Trim()
$systemInfo | Out-File -FilePath ".\$hostname.txt"