Storage Migration Service and netBIOS computer name
We came accross this lovely gotcha when attempting to migrate a Server 2008R2 fileserver using the Storage Migration Service.
TLDR: if your server name is longer then 15 characters, use the netBIOS name in Storage Migration Service!
It's amazing how sometimes in the simplest things that trip you up.
It appears the Storage Migration Service uses the netBIOS computer name and not the computer name or FQDN.
When we had tested a Enter-PSSession to the FQDN of the server (which is longer than 15 characters), we got a successful connection, but the service would fail. When we did a Enter-PSSession to the computer shortname it would fail with WinRM cannot find the computer. This prompted me to find and enter the netBIOS name into the Storage Migration Service and it is now inventorying happily.
xxxxx-fileserver...***.au - successful PSSession, fails in Storage Migration Service.
xxxxx-fileserver - fails PSSession, WinRM cannot find the computer, fails in Storage Migration Service.
xxxxx-fileserve...***.au (note the missing 'r' in fileserver - successful PSSession, success in Storage Migration Service.