NAME
Get-NtapDocsVersion
SYNOPSIS
Displays the NetAppDocs version.
SYNTAX
Get-NtapDocsVersion [-CheckForLatestVersion] [<CommonParameters>]
Get-NtapDocsVersion -AsVersion [-CheckForLatestVersion] [<CommonParameters>]
Get-NtapDocsVersion -AsFeatureVersion [-CheckForLatestVersion] [<CommonParameters>]
Get-NtapDocsVersion -AsPatchVersion [-CheckForLatestVersion] [<CommonParameters>]
DESCRIPTION
Displays the NetAppDocs version.
PARAMETERS
-AsVersion [<SwitchParameter>]
Returns the information as a System.Version object.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AsFeatureVersion [<SwitchParameter>]
Returns the information as a System.Version object in Major.Minor format.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AsPatchVersion [<SwitchParameter>]
Returns the information as a System.Version object in Major.Minor.Build format.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-CheckForLatestVersion [<SwitchParameter>]
Queries the update server for a newer version of the module.
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
None
OUTPUTS
System.String
System.Version
NOTES
AUTHOR : Jason Cole
-------------------------- EXAMPLE 1 --------------------------
PS>Get-NtapDocsVersion
Displays the NetAppDocs version as a string.
NetAppDocs v4.1.0
-------------------------- EXAMPLE 2 --------------------------
PS>Get-NtapDocsVersion -AsVersion
Outputs the NetAppDocs version as a System.Version object.
Major Minor Build Revision
----- ----- ----- --------
4 1 0 0
-------------------------- EXAMPLE 3 --------------------------
PS>Get-NtapDocsVersion -CheckForLatestVersion
Displays the NetAppDocs version as a string and displays whether or not there is an updated
version available.
NetAppDocs-Dev v4.0.0
------------------------------------- Module Version Check -------------------------------------
A newer version of the NetAppDocs-Dev PowerShell module is available (v4.1.0).
Please visit the NetApp Tools site to download this latest version.
-----------------------------------------------------------------------------------------------
RELATED LINKS
https://community.netapp.com/t5/NetAppDocs/bd-p/netappdocs