i have typed the following inside PowerShell:-
PS C:\Windows\system32> Restore-spsite ? cmdlet Restore-SPSite at command pipeline position 1 Supply values for the following parameters: Path: "C:\Users\m.g\Desktop\Backup\Intranet" Confirm Are you sure you want to perform this action? Performing operation "Restore-SPSite" on Target "?". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):y But power shell will raise the following exception,
Restore-spsite : Invalid URI: The format of the URI could not be determined. At line:1 char:1 + Restore-spsite ? + ~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...dletRestoreSite: SPCmdletRestoreSite) [Restore-SPSite], UriFormatException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRestoreS ite
If i understand the error right, power shell is unable to understand the following path C:\Users\m.g\Desktop\Backup\Intranet which contain the backup file, is that right ? and if yes then why power shell did not understand this path ?? Thanks