惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
Jina AI
Jina AI
H
Help Net Security
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
L
LangChain Blog
Recorded Future
Recorded Future
F
Full Disclosure
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ
GbyAI
GbyAI
B
Blog RSS Feed
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
M
MIT News - Artificial intelligence
爱范儿
爱范儿
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Y
Y Combinator Blog
B
Blog
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
W
WeLiveSecurity
MongoDB | Blog
MongoDB | Blog
Cloudbric
Cloudbric
N
News and Events Feed by Topic
The Cloudflare Blog
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
D
DataBreaches.Net
博客园 - 【当耐特】
T
Troy Hunt's Blog
V
Visual Studio Blog
V2EX - 技术
V2EX - 技术
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google Online Security Blog
Google Online Security Blog
The GitHub Blog
The GitHub Blog

博客园 - wingfay

【转载】解决 安装或卸载软件时报错Error 1001 的问题 Win7下做一个Kubernetes的NetCore项目Demo .net Cache 需要注意的地方 SQL 字段修改 Powser Design 16.5 导入Mysql数据库的bug Druid中配置双数据库 ActiveMq Windows 配置优化 Eclipse使用Maven创建Web时错误:Could not resolve archetype 更新VS2017会出现“请更新 Visual Studio 安装程序 再继续” 提示 ipv6过审函数 转.iPhone开发网站、论坛、博客 NSLog的使用 Could not load type System.Security.Authentication..... [原创]Prism Command 和 IsEnabled 的冲突解决方法 [ZT]JScript下Array对象的性能问题 获取地区的Resolve Weather Location ID Using .NET C# LDAP Library(Novell.Directory.Ldap) WINDOWS下搭建LDAP服务器 [转帖]LDAP Schema的概念和基本要素
win7 升级Power Shell到4.0
wingfay · 2018-11-26 · via 博客园 - wingfay

因为用到EntityFrameworkCore ,想使用scaffold 来生成models。

提示我power Shell 2.0不支持命令,然后需要升级PS。

PS  win7 升级文件下载地址是 https://www.microsoft.com/zh-CN/download/details.aspx?id=40855

在这里下载 Windows6.1-KB2819745-x64-MultiPkg.msu,安装即可

在下载后安装有时候会出现 0x80240037 错误。

如果出现这个,将下载文件 .msu 改成.cab .

然后加压这个文件

然后使用 dism /online /add-package /packagepath:"X:\加压后的文件夹\Windows6.1-KB2872047-x64.cab" 依次执行解压后的各个cab文件

=============================================

如果需要右键支持打开power shell的话

首先打开regedit

在{HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command}

下新建powershell以及command两个文件夹,如上图,

然后在command的REG_SZ的值输入

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoExit Set-Location "%V"

如果不小心误操作删除了cmd的键值,那么可以用下面的键值回复,cmd的REG_Sz键值为:

cmd.exe /s /k pushd "%V"

然后关闭注册表,shift+右键 ,出现的菜单中可以看到powershell,效果如下: