# Happy Frog Script - System Information
# Educational example showing system information gathering
# 
# Educational Purpose: Demonstrates how to gather basic
# system information using automated commands

# Wait for system to recognize the device
DELAY 1000

# Open Run dialog (MOD + R)
MOD r
DELAY 500

# Open PowerShell
STRING powershell
DELAY 500
ENTER

# Wait for PowerShell to open
DELAY 1000

# Get system information
STRING Get-ComputerInfo | Select-Object WindowsProductName, WindowsVersion, TotalPhysicalMemory
ENTER

# Wait for command to complete
DELAY 2000

# Get current user information
STRING Get-Process | Select-Object Name, CPU | Sort-Object CPU -Descending | Select-Object -First 5
ENTER

# Wait for command to complete
DELAY 2000

# Get network information
STRING Get-NetIPAddress | Where-Object {$_.AddressFamily -eq "IPv4" -and $_.IPAddress -notlike "127.*"} | Select-Object IPAddress, InterfaceAlias
ENTER

# Wait for command to complete
DELAY 2000

# Educational message
STRING Write-Host "This demonstrates automated system information gathering"
ENTER

# Close PowerShell
STRING exit
ENTER 