Move-Item で爆撃するpowershellスクリプトに次のコードがあります:指定されたパスの形式はサポートされていません。私は自分が間違っていることを理解できないようです。
 $computer = gc env:computername
 write-host "Moving archives `r`n"
 gci -Path $logdir -Recurse -Include *.7z |  ForEach-Object {  
 mi -Path $_.FullName -Destination \\storage\logs\iis\$computer\$_.Directory.Name\ -force -WhatIf
 }
誰かが私に何か指針を与えることができますか?