Move database and log folder path in Exchange 2013 using PowerShell

Get current location
Get-MailboxDatabase | fl Name,EdbFilePath,LogFolderPath
Get current location
Get-MailboxDatabase "DatabaseName" | FL Name,*Path*
Move
Move-Databasepath "DatabaseName" –EdbFilepath "C:\Newlocation\DBname.edb" –LogFolderpath "C:\Newlocation"