NetAppDocs-Lite PowerShell Module

Get-NtapFilerData


NAME
    Get-NtapFilerData

SYNOPSIS
    Collects data from Data ONTAP 7-Mode storage systems.


SYNTAX
    Get-NtapFilerData [-Name] <String[]> [-Credential <PSCredential>] [-Port <UInt16>] [-Timeout <Int32>] [-ForceRPC]
    [-ForceSecure] [-DisablePingCheck] [-DisableAsupInvoke] [-InvokeAsup] [<CommonParameters>]

    Get-NtapFilerData [-AbstractController] <AbstractController[]> [-Timeout <Int32>] [-DisablePingCheck] [-DisableAsupInvoke]
    [-InvokeAsup] [<CommonParameters>]


DESCRIPTION
    Uses the NetApp ONTAP PowerShell Toolkit to gather as much configuration information as possible. This
    data can be used to automate build docs and health checks. It can also be used for historical
    configuration information.


PARAMETERS
    -Name <String[]>
        The system name or IP address of the storage system to gather the data from.

        Required?                    true
        Position?                    1
        Default value
        Accept pipeline input?       true (ByValue, ByPropertyName)
        Accept wildcard characters?  false

    -AbstractController <AbstractController[]>
        A NetApp ONTAP PowerShell Toolkit controller object (NaController).

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

    -Credential <PSCredential>
        Specifies explicit credentials to connect to the storage system. (Alias: Cred)

        Required?                    false
        Position?                    named
        Default value                [pscredential]::Empty
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -Port <UInt16>
        The port on which to connect to the storage system. If not set, it defaults to 80 for HTTP and 443 for HTTPS.

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

    -Timeout <Int32>
        Connection timeout in milliseconds. Only applies to HTTP/HTTPS connections. Defaults to 60000 milliseconds.

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

    -ForceRPC [<SwitchParameter>]
        Forces the use of RPC for the connection to the storage system.

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

    -ForceSecure [<SwitchParameter>]
        Forces the use of HTTPS instead of HTTP for the connection to the storage system.

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

    -DisablePingCheck [<SwitchParameter>]
        Disables the ping test prior to connecting to the storage system (useful in the event ICMP is being blocked). (Deprecated)

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

    -DisableAsupInvoke [<SwitchParameter>]
        Disables the manual generation of an ASUP for the storage system. (Deprecated)

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

    -InvokeAsup [<SwitchParameter>]
        Invokes a user generated ASUP for the storage system.

        Required?                    false
        Position?                    named
        Default value                False
        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
    NetApp.Ontapi.AbstractController

    System.String


OUTPUTS
    System.Management.Automation.PSCustomObject


NOTES


        AUTHOR : Jason Cole

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

    PS>Get-NtapFilerData -Name controller1, controller2 | Export-Clixml -Path 'D:\Output\HaPair.xml'

    Collects the controller information from the system names specified and saves the results to a .xml file for
    further processing.




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

    PS>Get-NtapFilerData -Name controller1, controller2 -Credential (Get-Credential) | Export-Clixml -Path 'D:\Output\HaPair.xml'

    Collects the controller information from the system names specified using alternate credentials and saves the
    results to a .xml file for further processing. The Add-NaCredential cmdlet may be used to cache
    credentials for the system to be accessed.




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

    PS>Get-NtapFilerData -Name controller1, controller2 | Format-NtapFilerData | Out-NtapDocument -WordFile
    'D:\Output\HaPair.docx' -ExcelFile 'D:\Output\HaPair.xlsx'

    Collects the controller information from the system names specified, formats the data and creates the specified
    Word and Excel documents.





RELATED LINKS
    https://community.netapp.com/t5/NetAppDocs/bd-p/netappdocs
    Format-NtapFilerData