rodneyviana / ODSyncUtil

MIT License
14 stars 5 forks source link

No output when running ./Get-ODStatus.ps1 #2

Closed Daniel-Van closed 8 months ago

Daniel-Van commented 8 months ago

Hello Rodney,

I tried building a .exe from the source code and placed the ODSyncUtil.exe and Get-ODStatus.ps1 in the same folder. When I open PowerShell to run ./Get-ODStatus.ps1, there isn't any output on the console.

I've tried compiling with x32 and x64 for ODSyncUtil.exe bit but the result is the same. The system runs on Windows 10. Do you know why this might be happening?

Thank you for such a great resource!! ODSyncService was also extremely helpful so I'm excited to try this new one out :D

rodneyviana commented 8 months ago

Hi Van,

You should download the released version here: Releases · rodneyviana/ODSyncUtil (github.com)https://github.com/rodneyviana/ODSyncUtil/releases

Don't forget to Unblock the zip file in Explorer after download. Right click, Properties..., Unblock. Do not unzip before unblock. If it does not work, probably it is because of Windows 10. You don't even need the PowerShell, if you run the application it should output the JSON string. I created a proxy for the new ActiveX DLL that is present in Windows 11 by default. The proxy only works if you run the 32-version of the application. See if you have success without the proxy and if it fails, let me know and I will find a way to make the proxy available for you.

I believe it should work on the latest versions of Windows 10, but I am not sure. Windows 11 is guaranteed. You can still use previous version for Windows 10.

Thanks, Rodney  


From: Daniel Van @.> Sent: Wednesday, January 31, 2024 2:05 PM To: rodneyviana/ODSyncUtil @.> Cc: Subscribed @.***> Subject: [rodneyviana/ODSyncUtil] No output when running ./Get-ODStatus.ps1 (Issue #2)

Hello Rodney,

I tried building a .exe from the source code and placed the ODSyncUtil.exe and Get-ODStatus.ps1 in the same folder. When I open PowerShell to run ./Get-ODStatus.ps1, there isn't any output on the console.

I've tried compiling with x32 and x64 for ODSyncUtil.exe bit but the result is the same. The system runs on Windows 10. Do you know why this might be happening?

Thank you for such a great resource!! ODSyncService was also extremely helpful so I'm excited to try this new one out :D

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncUtil/issues/2 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGT5MAVW63PPUVVVGMVYDK3YRKPZTBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTLDTOVRGUZLDORPXI6LQMWSUS43TOVS2M5DPOBUWG44SQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJXGUYDAMZXG4ZTJAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDEMJRGA4DONJWHAZKO5DSNFTWOZLSUZRXEZLBORSQ. You are receiving this email because you are subscribed to this thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Daniel-Van commented 8 months ago

Hello Rodney,

Due to personal limitations on security I am unable to use the release version. My system is primarily an older version of Windows 10 and I've found a solution with ODSyncService so I'll stick with that.

The issue was a basic mistake on my end. I needed to edit the main to continue reading input or else it would automatically close. The only output I saw was '[]' on the console window that popped up so I'm still unsure if this tool would work for me but that's ok.

Thank you so much for the help!!! Definitely learned a lot through this tool

Thanks, Daniel