Skip to content

Removed last Get-WmiObject, #133

Open
CamelCaseName wants to merge 1 commit into
kmwoley:mainfrom
CamelCaseName:main
Open

Removed last Get-WmiObject, #133
CamelCaseName wants to merge 1 commit into
kmwoley:mainfrom
CamelCaseName:main

Conversation

@CamelCaseName

Copy link
Copy Markdown

added quotes for local path to allow spaces in local repo path

@kmwoley

kmwoley commented Dec 16, 2025

Copy link
Copy Markdown
Owner

Thanks for the PR! I know Get-WmiObject has been depreciated, so it's a good change to make. Could you please describe the benefit of this change in terms of functionality? Is there any functionality change or improvement?

@CamelCaseName

Copy link
Copy Markdown
Author

it threw an error for me regarding the get-wmiObjectsand the backup didn't work, so I went ahead and removed those. didn't fix my particular issue, but no more error in the script as well

as for the path, I had a space in the path, and because its not encapsulated when doing test path it failed, and tried adding https to the local path

after adding the quotes a local path with spaces was parsed correctly and also correctly handed over to restic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants