Skip to main content
NetApp Knowledge Base

SnapCenter 6.0 PowerShell Integration Issues

Views:
121
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:
12/23/2024, 2:31:13 PM

Applies to

  • SnapCenter Server 6.0.0
  • PowerShell 7

Issue

With the release of SnapCenter 6.0, there have been significant changes to the PowerShell Toolkit. These changes have introduced two primary issues:

  1. PSModulePath Not Populated: The PSModulePath environment variable is not consistently populated during the upgrade or installation process.
  2. Manual Module Import Requirement: Users now need to manually import the SnapCenter module, which was previously auto-loaded.
Detailed Description:

Issue 1: PSModulePath Missing

During the installation of Powershell 7, the PSModulePath environment variable is not always updated to include the path to the modules folder. 

Issue 2: Manual Module Import Requirement

In SnapCenter 6.0, the auto-import functionality that was available in previous versions does not work anymore. Users now need to manually import the SnapCenter module using the Import-Module command. This change requires users to adjust their scripts to include the module import command at the beginning.

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.