User Profile
SamuelBlättler
Copper Contributor
Joined 9 years ago
User Widgets
Recent Discussions
Re: Issue with Install-Language cmdlet when used in Win32 Intune package
Harm_VeenstraI think I found the issue! The link to Peters script was the key. Right at the beginning he ensures that script runs as 64 bit Powershell instance.. So I started a Powershell 32 bit process and entered get-InstalledLanguage... And this cmdlet failed! Entering the same comand in a 64 Bit environment worked! Not sure if this is a Powershell bug or by design, but I can now workaround it by using above Powershell-Code from PeterKlapwijk. Thanks for pointing me in the right directon! But now... lets enjoy holiday first!6.7KViews1like1CommentIssue with Install-Language cmdlet when used in Win32 Intune package
I wrote a small PowerShell script that installs 3 language packages to a Windows 11 22H2 client. This script needs to run elevated. During testing, I used Psexec64 -s to run the script in system context. As you can see in the screenshot, there are no error messages and language packs were installed successfully via Install-Language cmdlet: So I created a Win32 app (choose to run installation as System) and deployed it to the same client again. See what I got => The command "Install-Language" isn't recognized as cmdlet! Can anybody tell me what I'm doing wrong? Or is this a bug? Thanks for your help! Found the issue! 32-Bit Powershell can't handle the new language cmdlets! And Intune Management Extension seems to start a 32 Bit Powershell. But with this code we can enforce a 64 Bit environment and (hopefully) workaround this issue:Solved7.2KViews0likes7Comments
Recent Blog Articles
No content to show