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

Set-Theme SpencerTechy 出错 #10

Open
sljzdotcom opened this issue Oct 23, 2020 · 0 comments
Open

Set-Theme SpencerTechy 出错 #10

sljzdotcom opened this issue Oct 23, 2020 · 0 comments

Comments

@sljzdotcom
Copy link

sljzdotcom commented Oct 23, 2020

❯ 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant