TheAssuming you've cleared the suggestions offered in @UnsignedArduino's comment, the error you've reported: ssh: Could not resolve hostname raspberrypi.local
suggests a networking issue. Without information on your network configuration, the best we can do is guess. Here's a start:
The raspberrypi.local
network name is made possible through zero configuration networking. Does your Windows host support this? If not - you should be able to find a software package that will add that support.
And review @
Know also that these network names used in zero config networking may take some time to propagate through the network.
Does your network have a DHCP server - a router/modem/firewall that assigns IP addresses to the other machines on your network, and provides DNS on your LAN? If so, it's possible your RPi has gotten an IP address, but your Windows host is not configured properly. Two ideas:
look at the DHCP leases in your router/modem/firewall, and find the address assigned to the RPi.
If that's not possible, you can try
ping
ing all of the hosts on your network to locate your RPi by its MAC address. If you have a system that hasbash
installed, the script here may help. If not - or you need to do this from your Windows machine, this Q&A may help. does not have zero configuration networking installed.
Hope this helps - feel free to edit your question to add information, or seek more details in the comments.
Also - @UnsignedArduino's comment has some good suggestions - be sure to try those.