# Activate Windows with KMSPico .\KMSPico.exe /act
To use KMSPico with PowerShell, follow these steps: kmspico powershell
# Navigate to the KMSPico directory cd $kmspicoDir # Activate Windows with KMSPico
# Verify activation Get-WmiObject -Class Win32_OperatingSystem | Select-Object -Property Caption, CSDVersion, BuildNumber kmspico powershell
# Define the KMSPico directory $kmspicoDir = "C:\KMSPico"