WindowsBackupReportSetdToMail

1.0

Windows Backup Report Setd To Mail

Windows Backup Report Setd To Mail


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name WindowsBackupReportSetdToMail

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Антонов Антон

Package Details

Author(s)

  • Антонов Антон

Functions

Get-MachineListFB Get-LastFileBackupSet Get-LastFileBackupSetSummaryTXTForm Get-LastFileBackupSetSummaryTXTRow Get-LastFileBackupSetSummaryHTMLRow Get-LastFileBackupDatesTXT Get-LastFileBackupDatesHTML Get-MachineListIB Get-LastImageBackupSet Get-LastImageBackupSetSummaryTXTForm Get-LastImageBackupSetSummaryTXTRow Get-LastImageBackupSetSummaryHTMLRow Get-LastImageBackupDatesTXT Get-LastImageBackupDatesHTML Get-LastWinBackupDatesHTML Get-LastWinBackupDatesTXT Send-Email-Report

Dependencies

This script has no dependencies.

Release Notes

"WindowsBackupReportSetdToMail.ps1" is a Powershell script that analyzes
given  Windows  Backup storage  directory  and  produces  report  that
display latest backup sets and their sizes.
.DESCRIPTION
The script is designed to handle a storage that may contain both  file
and volume image backup sets, produced by Windows Backup.

It can create report in two formats:  plain  text  and  HTML  and  can
either output report text to console or send it via email  as  message
body. The script locates most recent backup  sets  for  each  computer
that did produce backup set(s) to given  location  and  reports  them.
Older backup sets will be just not mentioned.
.PARAMETER Root
Denotes the root directory of Windows Backup storage.  Can  be  either
local or UNC path.
.PARAMETER txt
Produce report in plain text format. HTML format will be used if  this
parameter is omitted.
.PARAMETER mail
Send produced report to email instead of  simple  console  output.  If
invoked - further email-related  parameters  to  be  used  to  specify
details of mailserver and email  message.  Otherwise,  this  parameter
will be ignored.
.PARAMETER SmtpSrv
Hostname or IP address of SMTP server to use for email message sending.
.PARAMETER Port
TCP port number of given SMTP server (if it is not standard).
.PARAMETER To
Email addresses of recipient(s). Multiple addresses  to  be  separated
with commas.
.PARAMETER Fm
Sender's  email  address.  It  is  also  used  as  username  for  SMTP
authentication.
.PARAMETER Pwd
Password for SMTP authentication.
.PARAMETER Sub
Subject line for email message.
.EXAMPLE
WindowsBackupReportSetdToMail.ps1 -root:\\srv-nas\netbackup
Generates report in HTML format for given UNC path and outputs  it  to
console.
.EXAMPLE
WindowsBackupReportSetdToMail.ps1 \\srv-nas\netbackup -txt
Generates report in plain text format for given UNC path  and  outputs
it to console.
.EXAMPLE
WindowsBackupReportSetdToMail.ps1 -root:D:\backup -mail -SmtpSrv:"192.168.1.10" -To:"sysadmin@platano.domain" -Fm:"nas-robot@platano.domain" -Pwd:"Pa$$wOrD" -Sub:"Windows Backup status report"
Generates report in HTML format for given UNC path and outputs  it  to
console.

FileList

Version History

Version Downloads Last updated
1.0 (current version) 239 10/21/2017