Привязка PowerShell для Cloudberry больше не работает
После недавнего обновления Windows 10 мои скрипты 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.
1 ответ
Закончилось повторным проделыванием (через "сброс") к Win10 и потратил день на переустановку приложений. Первым приложением после сброса было Cloudberry, и плагин работал нормально. По общему признанию, O/S был немного стар в зубах, которые были обновлены с 7 пару лет назад. Спасибо за ваши попытки помощи.