跳转到主内容

SnapCenter 6.0 PowerShell集成问题

Views:
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

适用场景

  • SnapCenter 6.0.0
  • PowerShell 7.

问题描述

随着SnapCenter 6.0的发布、PowerShell工具包进行了重大更改。这些更改带来了两个主要问题:

  1. PSModule Path Not Populated:在升级或安装过程中、PSModule环境变量的填充不一致。
  2. 手动模块导入要求:用户现在需要手动导入先前自动加载的SnapCenter模块。
详细问题描述:

问题描述1:缺少PSModule路径

在安装PowerShell 7期间、PSModule环境变量不会始终更新以包含模块文件夹的路径。 

原因2:手动模块导入要求

在SnapCenter 6.0中、先前版本中提供的自动导入功能不再起作用。用户现在需要使用 Import-Module 命令手动导入SnapCenter模块。此更改要求用户调整其脚本、使其在开头包含module import命令。

 

 

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.

 

  • 这篇文章对您有帮助吗?