Set-ExecutionPolicy:访问注册表项' HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ PowerShell \ 1 \ ShellIds \ Microsoft.PowerShell'被拒绝。在第1行:char:22 +& {set-executionpolicy<<<<下RemoteSigned; Import-Module SetConsoleFont; Get-ConsoleFontInfo | Format-Table -AutoSize} + CategoryInfo:NotSpecified :( :) [Set-ExecutionPolicy],UnauthorizedAccessException + FullyQualifiedErrorId:System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
Import-Module:指定的模块' SetConsoleFont'未加载,因为在任何模块目录中找不到有效的模块文件。在行:1 char:50 +& {set-executionpolicy remotesigned; Import-Module<<<< SetConsoleFont; Get-ConsoleFontInfo | Format-Table -AutoSize} + CategoryInfo:ResourceUnavailable:(SetConsoleFont:String)[Import-Module],FileNotFoundException + FullyQualifiedErrorId:Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
术语' Get-ConsoleFontInfo'不被识别为cmdlet,函数,脚本文件或可操作程序的名称。检查名称的拼写,或者如果包含路径,请验证路径是否正确,然后重试。在行:1 char:86 +& {set-executionpolicy remotesigned; Import-Module SetConsoleFont; Get-ConsoleFontInfo<<<< | Format-Table -AutoSize} + CategoryInfo:ObjectNotFound:(Get-ConsoleFontInfo:String)[],CommandNotFoundException + FullyQualifiedErrorId:CommandNotFoundException
|