NetAppDocs PowerShell Module

New-NtapClusterAsupDiffReport


NAME
    New-NtapClusterAsupDiffReport

SYNOPSIS
    Generates an ONTAP differences report from two ASUP sets.


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

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


DESCRIPTION
    Generates an ONTAP differences report from two ASUP sets. You can specify dates or ASUPID's to collect the data from.


PARAMETERS
    -Cluster <String>
        The cluster name and identifier (UUID) of the cluster to search for (e.g., den-cdot:394e82bf-485c-11e2-86b3-123478563412).

        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?                    named
        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-NtapClusterAsupDiffReport -Cluster den-cdot:394e82bf-485c-11e2-86b3-123478563412 -StartDate '01/01/2016' -ExcelFile
    'D:\den_cdot-DiffReport.xlsx' -Verbose

    Collect the data for the specified cluster 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-NtapClusterAsupDiffReport -Cluster den-cdot:394e82bf-485c-11e2-86b3-123478563412 -StartDate '01/01/2016' -EndDate
    '02/01/2016 -ExcelFile 'D:\den_cdot-DiffReport-Jan2016.xlsx' -Verbose

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




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

    PS>New-NtapClusterAsupDiffReport -AsupID 2015012500120554!2015012423440127, 2015012500120555!2015012423440128 -ExcelFile
    'D:\den_cdot-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-NtapClusterAsup
    Get-NtapClusterAsupData
    Format-NtapClusterData
    Out-NtapDocument