install-windowsfeature -name storage-replica, fs-fileserver - includemanagementtools -restart
I installed the fs-filserver because it is required to run the Test-SRTopology
Open Server Manager, click Manage > Add Roles and Features. Then Next, specify the installation type and Next. Select the Server and Next again. If you need the Test-SRTopology then expand File and Storage Service and File and iSCSI Services. Select File Server and then Next.
Scroll down and select Storage Replica. Next and then Install.
The server will reboot!