NetAppDocs PowerShell Module

New-NtapFilerAsupDiffReport


NAME
    New-NtapFilerAsupDiffReport

SYNOPSIS
    Generates a Data ONTAP 7-Mode differences report from two ASUP sets.


SYNTAX
    New-NtapFilerAsupDiffReport [-System] <String> -StartDate <String> [-EndDate <String>] [-AsupSubject <String>] -ExcelFile
    <String> [-CustomerName <String>] [-CustomerLocation <String>] [-Locale <String>] [<CommonParameters>]

    New-NtapFilerAsupDiffReport [-AsupId] <String[]> -ExcelFile <String> [-CustomerName <String>] [-CustomerLocation <String>]
    [-Locale <String>] [<CommonParameters>]


DESCRIPTION
    Generates a Data ONTAP 7-Mode differences report from two ASUP sets. You can specify dates or ASUPID's to collect the data
    from.


PARAMETERS
    -System <String>
        The system information to search for (e.g., HA pair: 'Node1Hostname:Node1SerialNumber!Node2Hostname:Node2SerialNumber'
        and stand-alone: 'NodeName:NodeSerialNumber').

        Required?                    true
        Position?                    1
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -StartDate <String>
        The start date to search from. (e.g., 2014-01-01).

        Required?                    true
        Position?                    named
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -EndDate <String>
        The end date to search to (e.g., 2014-06-01). (Default: Current Date)

        Required?                    false
        Position?                    named
        Default value                [datetime]::Now.ToString('yyyy-MM-dd')
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -AsupId <String[]>
        The ASUPID(s) to search for. An ASUPID from each node in the cluster is required. Each node's ASUPID must be separated by
        an
        exclamation point, with each ASUP set separated by a comma
        (e.g., 2015012500120554!2015012423440127, 2015012500120555!2015012423440128).

        Required?                    true
        Position?                    1
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -AsupSubject <String>
        The type of ASUP to search for (weekly or user_triggered). (Default: weekly)

        Required?                    false
        Position?                    named
        Default value                weekly
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -ExcelFile <String>
        The path to the output Excel document.

        Required?                    true
        Position?                    named
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -CustomerName <String>
        The customer name to add to the documentation.

        Required?                    false
        Position?                    named
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -CustomerLocation <String>
        The customer location to add to the documentation.

        Required?                    false
        Position?                    named
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -Locale <String>
        Specifies the locale for the default templates.

        Required?                    false
        Position?                    named
        Default value                en-US
        Accept pipeline input?       false
        Accept wildcard characters?  false

    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see
        about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
    None


OUTPUTS
    None


NOTES


        AUTHOR : Jason Cole
        REQUIRES : Internal connection to NetApp

    -------------------------- EXAMPLE 1 --------------------------

    PS>New-NtapFilerAsupDiffReport -System mtharvard:30020945!mtmassive:30020946 -StartDate '01/01/2016' -ExcelFile
    'D:\den_lab-DiffReport.xlsx' -Verbose

    Collect the data for the specified system for the ASUPs generated on or near the specified start date and the current date,
    then generate a differences report document.




    -------------------------- EXAMPLE 2 --------------------------

    PS>New-NtapFilerAsupDiffReport -System mtharvard:30020945!mtmassive:30020946 -StartDate '01/01/2016' -EndDate '02/01/2016
    -ExcelFile 'D:\den_lab-DiffReport-Jan2016.xlsx' -Verbose

    Collect the data for the specified system for the ASUPs generated on or near the specified dates, then generate a differences
    report document.




    -------------------------- EXAMPLE 3 --------------------------

    PS>New-NtapFilerAsupDiffReport -AsupID 2015012500120554!2015012423440127, 2015012500120555!2015012423440128 -ExcelFile
    'D:\den_lab-DiffReport-Jan2016.xlsx' -Verbose

    Collect the data from the specified ASUPID's and generate a differences report document.





RELATED LINKS
    https://community.netapp.com/t5/NetAppDocs/bd-p/netappdocs
    Find-NtapFilerAsup
    Get-NtapFilerAsupData
    Format-NtapFilerData
    Out-NtapDocument