Quantcast
Channel: File Services and Storage Forum
Viewing all articles
Browse latest Browse all 1766

New-DfsnRootTarget gives "Requested Object could not be found", but seems to succeed anyway?

$
0
0

OK, I'm very new to Powershell, Server 2012 and a server core installation.  I decided to go "cold turkey" and force myself to leave GUIs behind for our 2k12 servers.  So sorry if this is a really stupid question :-)

I did "New-DfsnRootTarget -Path \\MyDomainName\q -TargetPath \\MyDomainController.MyDomainName.lan\DFSRoot$"

DFSRoot$ is a share that exists on one of the domain controllers, and \\MyDomainName\q is a DomainV2 Namespace that was previously created successfully.

When I run this cmdlet, I get "the Requested object could not be found".  But after the cmdlet runs, the target now appears when I do "Get-DfsnRootTarget -Path \\MyDomainName\q".

Known issue?  Should I trust that there are now two targets?

Also interesting is that if I Remove-DfsnRootTarget -Path \\MyDomainName\q -TargetPath \\MyDomainController.MyDomainName.lan\DFSRoot$, that appears to work correctly with no errors or warnings.

All servers are 2012, and the forest/domain are at Functional Level 2012.


Viewing all articles
Browse latest Browse all 1766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>