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