Jump to content
Microsoft Windows Bulletin Board

Recommended Posts

Posted
After updating Windows to 24H2 PowerShell scritps can not be executed from PowerShell ISE. The following error message is issued:  Cannot dot-source this command because it was defined in a different language mode. To invoke this command without importing its contents, omit the '.' operator.The same script has been working in a Windows 11 version before update to 24H2.Additional information.The same script works from ISE, if all the code is selected in the script pane and execution started with "Run Selection (F8)". Error message is issued only when script is started with "Run Script (F5)

View the full article

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...