0

在最近的 Windows 10 更新后,我使用 cloudberry 管理单元的 powershell 脚本不再工作。我已经重新安装了cloudberry,但没有成功。

即使管理单元显示为已注册:

PS C:\> Get-PSsnapin -Registered


Name        : CloudBerryLab.Explorer.PSSnapIn
PSVersion   : 2.0
Description : CloudBerry Explorer snap-in for PowerShell

Powershell 无法识别命令:

PS C:\> $destination = Get-CloudFilesystemConnection | Select-CloudFolder 
"\\diskstation\drive1\backups\ow-data\"
Get-CloudFilesystemConnection : The term 'Get-CloudFilesystemConnection' is 
not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, 
or if a path was included, verify that the
path is correct and try again.
At line:1 char:16
+ $destination = Get-CloudFilesystemConnection | Select-CloudFolder "\\ ...
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ObjectNotFound: (Get- 
CloudFilesystemConnection:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

管理单元也被添加到当前会话中,但仍不显示:

PS C:\> Add-PSSnapin CloudBerryLab.Explorer.PSSnapIn
PS C:\> Get-PSsnapin

Name        : Microsoft.PowerShell.Core
PSVersion   : 5.1.17134.81
Description : This Windows PowerShell snap-in contains cmdlets used to 
manage components of Windows PowerShell.
4

1 回答 1

0

最终对 Win10 进行了重新铺平(通过“重置”),并花了一天时间重新安装应用程序。重置后安装的第一个应用是 Cloudberry,插件运行良好。从几年前的 7 升级而来的操作系统确实有点老了。感谢您的帮助尝试。

于 2018-05-28T01:19:39.927 回答