8000 DiskPart output is localised · Issue #15 · FSLogix/Invoke-FslShrinkDisk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DiskPart output is localised #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JimMoyle opened this issue Sep 8, 2020 · 3 comments
Open

DiskPart output is localised #15

JimMoyle opened this issue Sep 8, 2020 · 3 comments

Comments

@JimMoyle
Copy link
Contributor
JimMoyle commented Sep 8, 2020

Current code only checks for english output

@JimMoyle
Copy link
Contributor Author
JimMoyle commented Sep 8, 2020

Although the disk shrinks successfully, due to not identifying the success, the code waits to time out on every disk

@shaidenschuster
Copy link

Hi Jim,
I can report back this issue as our display language was german it was failing all the time when trying to extend the space after cleaning up. I found that you check the diskpart logfile for a specific text in english and could get the script running when changing the display language to english on my system. after that everything works fine. thanks for the effort you put into this script it's amazing!

@Jannos-443
Copy link

Had to change the following part to german too.

old:
$diskPartResult -contains 'DiskPart successfully compacted the virtual disk file.' does not match.
new:
$diskPartResult -contains 'Die Datei für virtuelle Datenträger wurde von DiskPart erfolgreich komprimiert.' does match.

don´t know why but in ISE it´s "Die Datei f�r virtuelle Datentr„ger wurde von DiskPart erfolgreich komprimiert"

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

No branches or pull requests

3 participants
0