随笔分类 -  PowerShell

摘要:环境介绍】 操作系统:Windows Server 2019 Standard,64位操作系统 PowerShell版本:PowerShell 1.0 脚本位置:"F:\Scripts\BackupScript.ps1" 启动目录:"C:\Windows\System32\WindowsPowerS 阅读全文
posted @ 2025-02-27 10:07 梦徒 阅读(3850) 评论(0) 推荐(0)
摘要:Windows2019配置OpenSSH服务 适用于 Windows Server 2019、Windows 10、Windows Server 2022 OpenSSH 是一款用于远程登录的连接工具,它使用 SSH 协议。 它会加密客户端与服务器之间的所有流量,从而遏止窃听、连接劫持和其他攻击。 阅读全文
posted @ 2025-02-21 15:00 梦徒 阅读(468) 评论(0) 推荐(0)
摘要:1、添加用户命令 net user 用户名 密码 /add 2、将用户加入组的命令 net localgroup administrators 用户名 /add 3、在dos命令行模式下启用用户 net user 用户名 /active:yes 4、更改用户名和密码 net user 用户名 密码 阅读全文
posted @ 2016-04-12 22:10 梦徒