Xm (@XmOfficial)codex如何解除受限模式 中发帖

如图,我的codex在执行某些命令的时候总是会报错。 
环境:win11 + powershell 
 [image] 
报错信息: 
Microsoft.PowerShell_profile.ps1: 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.

InvalidOperation: Cannot set property. Property setting is supported only on core types in this language mode.

问了下AI,说是因为 PowerShell...
 
 
Back to Top