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

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

PowerShell

求助在 Windows 桌面运行某个程序的多个实例并在整个穿够屏幕布满的 powershell 脚本, GPT 生成的也无法平铺位置随机的。 是我孤陋寡闻了吗? powershell 里面其实支持顺斜杠, tab 补全也能改成顺斜杠 求助:如何阻止 Powershell 生成 tmp 文件 请教 win11 powershell 设置别名的问题 如何确定 powershell 在终端输出的信息是 stdout 还是 stderr? ps1 文件如何双击以管理员身份运行 V2EX ps 无法显示 bash 命令的完整参数,是 bug 吗? powershell setx 变量后无法自身得到变量值 请教, powershell 脚本中使用中文,脚本文本存储的是 utf-8,运行后中文就是乱码。 oh-my-posh 导致 powershell 启动缓慢 powershell 管道问题 如何在打开 powershell 脚本的时候, cd 到脚本所在目录 如何让 powershell 输出的 txt 日志为 unix lf 格式 这个 powershell "比对”命令能优化吗? powershell 运行 ps 文件的时候,如何支持带空格的路径 cmd 输出日志的时候,如何不写入重复日志 请教-关于 PowerShell 的使用场景问题——竞赛,编程挑战,运维需求在哪里找 Windows 运行 ffmpeg 批量脚本的时候,如何在不中断的情况下限制 CPU 使用率 cmd 控制台显示输出日志过滤 powershell7, 执行速度和自动补全速度都慢的令我抓狂 请教一下.ps1 运行时如何让 powerShell 同时显示所运行命令的内容 有什么不错的 powershell 书籍吗? PowerShell 是否可以实现类似 expect 的功能? PowerShell 启动慢 现在 PowerShell 是不是没有什么用? 请问如何使用 powershell 禁用/启用设备? 逐浪 CMSv8.2 发布-集成 Node 与 Vue 脚手架和 PowerShell 支持的新一代网站管理系统 Powershell 的管道兼容性 powershell 的独门秘技之气运“丹田” powershell 的 tab 参数补全的,两个不同方式详解。 在 PowerShell 中好好说话 在 PowerShell 中使用 fish-style 自动补全提示 PowerShell 与 Windows Terminal 增强配置 怎么把一个脚本方法注册为系统的环境变量? !微软又放鸽子了! 分享 powershell ssh to Linux 脚本。 PowerShell Core 7.0 RC 已经发布 powershell 一个很诡异的问题 powershell 的 ntp 校时脚本,光棍节秒杀专用! PowerShell 如何强行覆盖一个文件 如何使用命令行或 PowerShell 删除一个已经安装好的证书 PowerShell 如何导入已有的 SSL 证书 PowerShell 如何定义文件夹的权限 推荐一个 github 上的 PowerShell 项目 Out-GridView 在 PowerShell Core 中回归了 powershell 6, 7 的新特性。 新出炉的 ssh-copy-id6.ps1,是新版 vscode 的最佳拍档 把那 5000 多万条企业数据放到 SQLite 数据库里
PowerShell 竟然强悍如斯!
Tumblr · 2022-01-15 · via PowerShell
leon0318

1

leon0318      2022 年 1 月 15 日 via iPhone

还是好好用 linux 吧

aababc

2

aababc      2022 年 1 月 15 日

linux 挺好的

kidonng

3

kidonng      2022 年 1 月 15 日 via Android   ❤️ 4

PowerShell 背后是整个 .NET

qq316107934

4

qq316107934      2022 年 1 月 15 日   ❤️ 10

@kidonng #3 看了下代码,此言不假...

以及,话题只字未提但是总有几个人想刷存在感引战,楼下别被带节奏了,只讨论 Powershell 本身吧

Tumblr

5

Tumblr  

OP

   2022 年 1 月 15 日

@leonme #1 @aababc #2 我也觉得 Linux 挺好的,不过现在还没听说哪家大公司的用户终端是以 Linux 为主力的呢。

skinny

6

skinny      2022 年 1 月 15 日

现在 Powershell 也是跨平台的……虽然我在 Windows 上主要用 5.1 ,但大部分代码兼容 2.0 ,导致我根本不想在 Linux 上用它。

ila

7

ila      2022 年 1 月 15 日 via Android   ❤️ 2

这是通晓原理,用什么语言已经不太重要了

Tumblr

8

Tumblr  

OP

   2022 年 1 月 15 日

@skinny #6 这个主要看环境吧,比如目前我用到的环境已经极少 5.1 以下的了,所以基本上都是 5.1 起步。
不过我个人为了在 Mac 和 Windows 上统一,用的是 7.2 。

LowBi

9

LowBi      2022 年 1 月 15 日 via Android

PowerShell 可以远程 shell 吗

yaoyaomoe

11

yaoyaomoe      2022 年 1 月 15 日   ❤️ 1

毕竟 powershell 被引出之后是作为整个系统管理的存在的,也是微软 server core 推行的一个底力……PowerShell 下其实 Win 的很多功能都可以 ps1 执行了

t895

12

t895      2022 年 1 月 15 日

之前在某网看见用 PowerShell 模拟各种任天堂模拟器...

Orciorc

13

Orciorc      2022 年 1 月 15 日 via Android

有可能将 Windows 上自带的 Powershell5 完全升级到 Powershell7 吗?现在只能装两个版本

LowBi

14

LowBi      2022 年 1 月 15 日 via Android
xupefei

15

xupefei      2022 年 1 月 15 日 via iPhone   ❤️ 2

powershell 后面是整个 net framework 标准库,C#能做啥 PS 就能做啥。

24bit

17

24bit      2022 年 1 月 15 日   ❤️ 2

Powershell 背靠 .NET 大树,与其说是 Shell ,不如说是 DotNetScript

ysc3839

18

ysc3839      2022 年 1 月 15 日 via Android

@24bit 同意,我认为 PowerShell 更像 Python 那种脚本提供了个交互式环境。

Tumblr

19

Tumblr  

OP

   2022 年 1 月 15 日

@24bit #17 同意,但不够霸气 😆
PowerShell 还有一点我比较喜欢的就是:对于有点英语基础的人来说,全是大白话,那些命令看一眼就知道是干吗的。同时这也是讨人厌的一点,很多命令 /参数太长太啰嗦了(幸好有 tab 补全和提示)。

Tumblr

20

Tumblr  

OP

   2022 年 1 月 15 日

@Orciorc #13 我也曾经尝试,目前还不能,并且在可预见的将来也不能。
不过,反正 PowerShell core 解压即用,也没什么依赖,用起来还算方便。

Tumblr

21

Tumblr  

OP

   2022 年 1 月 15 日

@yaoyao1128 #11 确实是,我自己就有一套 Windows Server 的环境(活动目录、DNS 、证书颁发等),全是用的 Windows Server Core 版本,确实省资源,并且全部是通过 PowerShell 和部分原生命令完成的配置。

geekvcn

22

geekvcn      2022 年 1 月 15 日 via iPhone

要我想起了以前用 CMD 写 GUI 游戏的人

ragnaroks

23

ragnaroks      2022 年 1 月 16 日

powershell 可以引用绝大多数 dotnet 程序集,包括 PInvoke ;以前拿这个撸了个 windows 版 HTOP