Shortcuts · Screenshots
Capture one window: the Mac and Windows shortcut
macOS
Shift+Command+4thenSpace
Windows
Alt+PrtScn
What catches people out
Alt+PrtScn copies to the clipboard rather than saving a file.
See it in the full table alongside 69 others, or search for the one you actually came for.