On many laptops (and some compact keyboards), the Print Screen key shares space with another function (like a system command or a special character).
These are not cmd or PowerShell commands, but they are the standard Windows "print screen commands." print screen windows command
The Print Screen Windows command is a keyboard shortcut that allows you to capture a screenshot of your screen and save it to the clipboard. The command is typically accessed by pressing the key on your keyboard, which is usually located in the top-right corner. On many laptops (and some compact keyboards), the
# Capture entire screen and save as PNG Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing $screen = [System.Windows.Forms.SystemInformation]::VirtualScreen $bitmap = New-Object System.Drawing.Bitmap $screen.Width, $screen.Height $graphics = [System.Drawing.Graphics]::FromImage($bitmap) $graphics.CopyFromScreen($screen.X, $screen.Y, 0, 0, $bitmap.Size) $bitmap.Save("$env:USERPROFILE\Desktop\screenshot.png") $graphics.Dispose() $bitmap.Dispose() print screen windows command