Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcSystemImage


NAME
Get-NcSystemImage

SYNOPSIS
Display software image information.

SYNTAX
Get-NcSystemImage [[-Name] <String[]>] [-Default] [-Current] [-Attributes <S
ystemImageAttributes>] [-Controller <NcController[]>] [<CommonParameters>]

Get-NcSystemImage -Template [-Controller <NcController[]>] [<CommonParameter
s>]

Get-NcSystemImage -Query <SystemImageAttributes> [-Attributes <SystemImageAt
tributes>] [-Controller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Display software image information.


PARAMETERS
-Name <String[]>
The name of one or more nodes to query. Data ONTAP wildcards are permit
ted.

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

-Default
Restrict results to default images.

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

-Current
Restrict results to current images.

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

-Attributes <SystemImageAttributes>
For improved scalability in large clusters, provide a SystemImageAttribu
tes object with various fields set to indicate which fields to return on
all objects. Undesired fields should remain set to null. Use "Get-NcS
ystemImage -Template" to get the initially empty SystemImageAttributes o
bject. If not specified, all data is returned for each object.

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

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

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

-Template
Specify to get an empty SystemImageAttributes object for use with advanc
ed queries involving the Query attribute.

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

-Query <SystemImageAttributes>
For advanced queries, provide a SystemImageAttributes object with variou
s fields set to indicate which records to retrieve. Other fields should
remain set to null. Use "Get-NcSystemImage -Template" to get the initi
ally empty SystemImageAttributes object.

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

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.C.System810.SystemImageAttributes


NOTES


Category: system
API: system-image-get-iter
Family: cluster

-------------- Example 1 --------------

C:\PS>Get-NcSystemImage -Current


List the images currently running on the cluster nodes.


NcController : 10.61.172.155
Name : fas3070cluster01-01
Image : image2
InstallTime : 1305307946
InstallTimeDT : 5/13/2011 5:32:26 PM
IsCurrent : True
IsDefault : True
KernelPath : /cfcard/x86_64/freebsd/image2/kernel
Node : fas3070cluster01-01
RootfsPath : /cfcard/x86_64/freebsd/image2/rootfs.img
Version : RollingRock__8.1.0
IsCurrentSpecified : True
IsDefaultSpecified : True

NcController : 10.61.172.155
Name : fas3070cluster01-02
Image : image2
InstallTime : 1305308410
InstallTimeDT : 5/13/2011 5:40:10 PM
IsCurrent : True
IsDefault : True
KernelPath : /cfcard/x86_64/freebsd/image2/kernel
Node : fas3070cluster01-02
RootfsPath : /cfcard/x86_64/freebsd/image2/rootfs.img
Version : RollingRock__8.1.0
IsCurrentSpecified : True
IsDefaultSpecified : True



RELATED LINKS
Set-NcSystemImage







 Data ONTAP® PowerShell Toolkit