Ensure inbound rule is enabled. Default port: 445 TCP .
Get-Printer | Format-List Name, Shared, ShareName
Get-Printer | Format-List Name, Shared, ShareName how to setup a print server on windows 11