Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Powershell cmdlet for Flexcache creation in latest ONTAP version.
2024-05-03
04:46 AM
1,454 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As per latest PowerShell tool kit 9.14.1.2401, Cmdlet "New-NcFlexcache" shows Flexcache feature is not supported in ONTAP 8.3, so this cmdlet works in ONTAP 8.2 or lower only.
I would like to know how to use FlexCache from PowerShell for latest ONTAP versions.
Details:
PS > Get-help New-NcFlexcache -full
NAME
New-NcFlexcache
SYNOPSIS
Create cluster-wide caching for a given volume.
SYNTAX
New-NcFlexcache [-Vserver] <String> [-OriginVolume] <String> [-Controller <NcController[]>] [-InformationAction
<ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-ZapiRetryCount <Int32>]
[<CommonParameters>]
DESCRIPTION
Create cluster-wide caching for a given volume.
Flexcache feature is not supported in ONTAP 8.3, so this cmdlet works in ONTAP 8.2 or lower only.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If there is no CmdLet available to perform the task you want to achieve or a CmdLet only works with a particular version of ONTAP you can always use the Private REST CLI to invoke a CLI command via HTTPS.
PS C:\> Get-Help Invoke-NcCli
NAME
Invoke-NcCli
SYNOPSIS
For using the private CLI passthrough with the ONTAP REST API
SYNTAX
Invoke-NcCli -Command <String> [-Query <String>] [-Body <String>] [-Fields <String>] [<CommonParameters>]
DESCRIPTION
For using the private CLI passthrough with the ONTAP REST API. This cmdlet is supported with Rest.
RELATED LINKS
REMARKS
To see the examples, type: "get-help Invoke-NcCli -examples".
For more information, type: "get-help Invoke-NcCli -detailed".
For technical information, type: "get-help Invoke-NcCli -full".
For online help, type: "get-help Invoke-NcCli -online"
/Matt
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
