Skip to content

运行generate_config.ps1报错 #17

@wuruijie525-netizen

Description

@wuruijie525-netizen

[SN:]081121000343569
SN: 081121000343569
Your password:
. : 无法加载文件 C:\Users\mayn\Desktop\generate_config.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.
microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 7

  • & { . 'C:\Users\mayn\Desktop\generate_config.ps1'; Generate-Config -P ...
  •   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : SecurityError: (:) [],PSSecurityException
    • FullyQualifiedErrorId : UnauthorizedAccess
      Generate-Config : 无法将“Generate-Config”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包
      括路径,请确保路径正确,然后再试一次。
      所在位置 行:1 字符: 52
  • ... 'C:\Users\mayn\Desktop\generate_config.ps1'; Generate-Config -Passwo ...
  •                                               ~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Generate-Config:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

请按任意键继续. . .g width="1928" height="766" alt="Image" src="https://github.com/user-attachments/assets/54099fa2-aa7b-42ff-b5f4-69eade9e48fb" /

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions