Before the syntax :-
$serverObject = New-Object Microsoft.SqlServer.Management.Smo.Server($instance)
You can add including the below syntax to load the SMO component DLL.
Add-Type -Path "C:\Program Files\Microsoft SQL Server\110\SDK\Assemblies\Microsoft.SqlServer.Smo.dll"