life4dummies
Contributor
Contributor

It's something to do with the "%2f" getting added in there. Powershell error:

Copy-DatastoreItem : 11/15/2019 10:00:25 AM VimDatastore Download of file

'https://phdvc01/folder%2fdpacsdicmp01%2fdpacsdicmp01.vmx?dcPath=DBD+DC&dsName=dxi0827_prd_cl1_lun035' failed. Error message: The remote server

returned an error: (404) Not Found.

At D:\Scripts\SearchVMX.ps1:10 char:3

+   Copy-DatastoreItem -Item "DS:$vmxPath" -Destination $tgtFolder

+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Copy-DatastoreItem], VimException

    + FullyQualifiedErrorId : Client20_StorageServiceImpl_DownloadFile_DownloadFailed,VMware.VimAutomation.ViCore.Cmdlets.Commands.CopyDatastoreItem

vpxd.log message:

2019-11-15T15:50:04.283Z info vpxd[04810] [Originator@6876 sub=Default opID=req=00007f84182d4e30-af] [VpxLRO] -- ERROR session[52fa64f6-1fdf-c947-9c69-6f5f997c1070]521aafb6-a7a4-bc0f-232e-6c7ac778cc09 -- datastoreBrowser-datastore-1525140 -- vim.host.DatastoreBrowser.search: vim.fault.FileNotFound:

--> Result:

--> (vim.fault.FileNotFound) {

-->    faultCause = (vmodl.MethodFault) null,

-->    faultMessage = <unset>,

-->    file = "[dxi0827_prd_cl1_lun035]2fdpacsdicmp01"

-->    msg = "Received SOAP response fault from [<cs p:00007f840c101220, TCP:dprd01esx08.txhealth.org:443>]: searchDatastore

--> "

--> }

--> Args:

Reply
0 Kudos