Hello @RichMatheisen-8856 ,
thank you, i didn't see double $.
I thought this forum is for sharing experience and knowledge, but ok :) search engine is also answer.
Anyway, thank you for your time.
Sembi
Looks something is not good,
check this:
Id Name PSJobTypeName State HasMoreData Location Command
53 Job53 BackgroundJob Running True localhost ...
55 Job55 BackgroundJob Running True localhost ...
PS C:\Windows\system32> Get-Job
Id Name PSJobTypeName State HasMoreData Location Command
53 Job53 BackgroundJob Completed True
55 Job55 BackgroundJob Completed True
its completed after few seconds, but nothing happened.
you mean
foreach (){
start-job -scriptblock{
xxxxx
xxxx
}}
i think i already tried it, and it was not working, but i should try it again if syntax is correct.
@LeonLaude thanks,
i will try to ask. so you help me a lot, but my problem still persist ;)
anyway, its possible to close it without solving issue? or its OK just mark firs one as good answer?
thanks
sembi
Hello @LeonLaude,
thank you for your quick reply.
I want just to be sure, what exactly will happen when i delete DfrsPrivate folder on source server? Because this DFS is already running and I am adding new nameserver + replication groups step by step. and i dont want to have outage.
To Backlog - of course i am running PS in elevated mode and also user is in local admin group -> but not working. servers are in same VLAN, so there is no firewall.
thanks
Sembi
Thank you - I will try to delete it, and i will see if it solve my problem. Just to confirm, i have to delete from each folder dfsrprivate?
Because under root folder, there is a lots of folders.
!

But I don't understand one thing, when folder is just on one server, so i am going to add new namespace + create replication group, there is no dfsrprivate folder, so how it will solve my problem during creation?
DFS Mgm console - yes there is DFSR health report, but you can run it only on replication groups... and i have more than 1K replication groups. but thanks :)
Hello @LeonLaude
winrm service is configured correctly and running.
winrm quickconfig
WinRM service is already running on this machine.
WinRM is already set up for remote management on this computer.
Please can you once check where should be the problem? I will explain it once again.
I have serverA - there is already namesarver with data. Than I have another serverB. And now I am adding new namespace and creating replication groups from all folders.
When I start the script I get errors mentioned in the first post. namespace will be added and replication group will be created but it take about 3hours/folder. That's my question why it is so slow and where should be the problem.
Thank you so much
thanks
Sorry, I post my question because I was not able to find problem...
Anyway, thank you for your comment and directions.