Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Set-Theme SpencerTechy 出错 #10

@sljzdotcom

Description

@sljzdotcom
❯ Get-ExecutionPolicy -List


        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser    RemoteSigned
 LocalMachine    RemoteSigned


❯ Set-Theme SpencerTechy
Import-Module : 无法加载文件 D:\Dropbox\Documents\WindowsPowerShell\PoshThemes\SpencerTechy.psm1。未对文件
D:\Dropbox\Documents\WindowsPowerShell\PoshThemes\SpencerTechy.psm1
进行数字签名。无法在当前系统上运行该脚本。有关运行脚本和设置执行策略的详细信息,请参阅
https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 D:\Dropbox\Documents\WindowsPowerShell\Modules\oh-my-posh\2.0.487\oh-my-posh.psm1:12 字符: 5
+     Import-Module $sl.CurrentThemeLocation -Force
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [Import-Module],PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

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