Привязка PowerShell для Cloudberry больше не работает - PullRequest
0 голосов
/ 25 мая 2018

После недавнего обновления Windows 10 мои скрипты powershell, использующие оснастку cloudberry, больше не работают.Я переустановил 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.

1 Ответ

0 голосов
/ 28 мая 2018

Закончилось повторным проделыванием (через «сброс») к Win10 и потратил день на переустановку приложений.Первое приложение, которое установилось после сброса, было Cloudberry, и плагин работал нормально.По общему признанию, O / S был немного стар в зубах после 7 лет пару лет назад.Спасибо за ваши попытки помощи.

...