Hi all,
Very simple, and almost certainly obvious to you guys what I'm doing
wrong, but first a question about Get-DFSRBacklog: Why am I seeing
blank lines in the output for this cmdlet? Anyone have a clue on that?
The output is always the same for this cmdlet - that is, if I run the
script severa
What is $_?
You probably meant to use $Line there.
And you probably want to skip entries that are blank.
-Original Message-
From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On
Behalf Of Kurt Buff
Sent: Friday, January 5, 2018 6:27 PM
To: powershell@lists.myit
Thanks for the help!
I figured out the blank lines - the output from Get-DfsrBacklog has
lines in it with version vector tombstone data, which isn't the same
as the rest of the output, and doesn't include the fullpathname, so
that field is blank.
So, I changed the first line of the script to this
Save the error and look at the innerexception.
-Original Message-
From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On
Behalf Of Kurt Buff
Sent: Friday, January 5, 2018 8:07 PM
To: powershell@lists.myitforum.com
Subject: Re: [powershell] Two questions in one? Sc