Hi,
I exported the Domain Controller sample policy from SCM. Now I want to import it into my DC. My command is;
import-gpo -BackupGpoName DCBestPractisesGPO -TargetName DCBestPractisesGPO -path Z:\dc\{b57228c4-d331-4651-a84e-3704970a4732}
the folder contains the two xml files (Backup and bkupinfo) and the domainsysvol folder. The error I get is that a positional parameter cannot be found (where the numbers are).
If I run the same command but point to z:\dcs, I get the error stating that the gpo canot be imported because a gpo named dcbestpractisesgpo (as above, I haven't typed in proper case in this post) does not exist in the domain.
What do I need to do to get this to work? Bare in mind I have not added any blank gpo of the same name in the gpo console.
Thanks