-
Notifications
You must be signed in to change notification settings - Fork 134
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
xRemoteFile does not work with PowerShell 7.2.1 #743
Labels
bug
The issue is a bug.
needs investigation
The issue needs to be investigated by the maintainers or/and the community.
Comments
PlagueHO
added
bug
The issue is a bug.
needs investigation
The issue needs to be investigated by the maintainers or/and the community.
labels
Feb 5, 2022
Hi @IlleNilsson - thank you for raising this. A few questions to help us diagnose this:
Thank you! |
Hi Daniel,
I have reverted to PS 5.1 and can’t get the exact error message. But it looked like a buffer error saying unable to create mof while writing the headers to it.
I have only tried the header I reported.
BR // Ilian
…________________________________
From: Daniel Scott-Raynsford ***@***.***>
Sent: Saturday, February 5, 2022 7:52:38 PM
To: dsccommunity/xPSDesiredStateConfiguration ***@***.***>
Cc: Ilian Nilsson ***@***.***>; Mention ***@***.***>
Subject: Re: [dsccommunity/xPSDesiredStateConfiguration] xRemoteFile does not work with PowerShell 7.2.1 (Issue #743)
Hi @IlleNilsson<https://github.com/IlleNilsson> - thank you for raising this.
A few questions to help us diagnose this:
1. Does an error occur when passing the headers or are they just ignored?
2. Is the issue with the specific Accept-Language header or any header?
Thank you!
—
Reply to this email directly, view it on GitHub<#743 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AID6F4BF5FC5BE5PB6ONJSDUZVWXNANCNFSM5NTTXH2A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thanks @IlleNilsson - It sounds like this error was occurring while compiling the MOF, rather than while running the code. Does that sound correct? |
Yes that sound about right
…________________________________
From: Daniel Scott-Raynsford ***@***.***>
Sent: Wednesday, February 9, 2022 2:40:26 AM
To: dsccommunity/xPSDesiredStateConfiguration ***@***.***>
Cc: Ilian Nilsson ***@***.***>; Mention ***@***.***>
Subject: Re: [dsccommunity/xPSDesiredStateConfiguration] xRemoteFile does not work with PowerShell 7.2.1 (Issue #743)
Thanks @IlleNilsson<https://github.com/IlleNilsson> - It sounds like this error was occurring while compiling the MOF, rather than while running the code. Does that sound correct?
—
Reply to this email directly, view it on GitHub<#743 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AID6F4GUPUV6KOCILYEO7FDU2HAYVANCNFSM5NTTXH2A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
The issue is a bug.
needs investigation
The issue needs to be investigated by the maintainers or/and the community.
Problem description
When using Header property of xRemoteFile, creating MOF-file fails.
Verbose logs
DSC configuration
Suggested solution
I have no idea
Operating system the target node is running
PowerShell version and build the target node is running
xPSDesiredStateConfiguration version
The text was updated successfully, but these errors were encountered: