Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Resolving data from outputted data.

$
0
0

Hi all.

I have a script that I am writing to monitor DFSR backlogs. Currently it looks at the current backlog (if any) and then exports that data to html which will then be sent via email.

My issue is, the cmdlet I am using provides the replicatedfolderid, but not the human friendly name...

Script currently sits as below:

Powershell
$htmlhead="$htmlhead=$htmlhead+"BODY{background-color:lightyellow;font-family:verdana;}"$htmlhead=$htmlhead+"TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"$htmlhead=$htmlhead+"TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:lightgrey;}"$htmlhead=$htmlhead+"TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:white;}"$htmlhead=$htmlhead+""$dfsrbacklog=...

Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

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