Closed SynapseCarbon closed 1 month ago
I'm not sure what I did as when I posted this I couldn't get anything to work, then last night I suddenly got a full output, either directly from the .exe (though only when run from inside PS).
My new problem is I was hoping to get the OneDrive status by calling the PS script from a monitoring tool (which has a local agent on the VM). When I do that, no status is returned which I presume is because the script is running non-interactively.
Hi,
I'm trying to use the util on a new VM built running W10 Pro 22H2 (19045.4291) x64. Patched and PowerShell 7 installed.
Downloaded the 64 bit version of ODSyncUtil Unblocked the Zip file prior to extraction
.\Get-ODStatus.ps1
returns no output..\Get-ODStatusFromDLL.ps1
returns:I have downloaded OneDriveFlyOutPS.dll, unblocked and run (from a elevated command prompt):
regsvr32 /i OneDriveFlyOutPS.dll
This returns (which I think is expected):
Running
ODSyncUtil -d
directly returns:Have I missed a step somewhere?
I have also tried the original utility which works from an interactive PowerShell session but that fails when non-interactive.
Thanks, Chris.