parentContent: This contains the name of the parent type.
parentVersion: This contains the version label of the parent to be detached.
credential: The credentials that will be used to perform the remote operations and establishing remote sessions during the process.
1) Logon the target SQL Server
2) Go to the directory <Path to library>\VHDXSQLRefresh\Win2012\
3) With a PowerShell prompt with Administrative privileges, run the following command:
.\Detach-Master.ps1 -parentContent Contoso -parentVersion 2013-11-27 -credential (Get-Credential)