Windows (45 posts)

文件夹权限设置:对象用户

Steven · 2024-11-28 20:09 · 54 views · Windows

# Define variables $sharePath = "E:\Test" # 共享文件夹路径 $users = "syinsh\han1", "syinsh\han2" # 需要设置权限的用户 $permissions = "ReadOnly" # 权限等级,可以调整为 "Modify", "Write", "ReadOnly","FullControl"

Read more

文件夹权限设置:对象安全组

Steven · 2024-11-28 20:06 · 53 views · Windows

# Define variables $sharePath = "E:\Test" # 共享文件夹路径 $groupName = "syinsh\Domain Users" # 需要设置权限的群组 $permissions = "ReadOnly" # 权限等级,可以调整为 "Modify", "Write", "ReadOnly","FullControl" # Import Active Di

Read more

Register-Scheduled Task

Steven · 2023-12-30 19:47 · 52 views · Windows

$Trigger= New-ScheduledTaskTrigger -At 10:00pm –Daily $User= "syinsh\administrator" $Action= New-ScheduledTaskAction -Execute "PowerShell.exe" -Argument "C:\share\Script.ps1" Register-ScheduledTask -T

Read more

.ectx格式的文件转化成excel

Steven · 2023-03-06 20:21 · 160 views · Windows

.evtx格式的Windows事件日志文件不能直接转换为Excel文件,但是您可以使用PowerShell脚本将.evtx文件中的数据提取到CSV(逗号分隔值)文件中,然后再打开CSV文件并保存为Excel文件。 以下是将.evtx文件转换为Excel文件的步骤: 打开Windows PowerShell:在Windows Server上单击开始菜单,搜索“PowerShell”,右键单击“Win

Read more

Windows Firewall configuration best practices

Steven · 2023-03-02 05:39 · 64 views · Windows

Here are some Windows Firewall configuration best practices: Enable Windows Firewall: Ensure that Windows Firewall is enabled on all computers in your network, including servers and workstations. This

Read more

Group Policy of operating system security?

Steven · 2023-03-02 05:35 · 150 views · Windows

Group Policy is a powerful tool for managing the security of Windows operating systems. Here are some of the security settings that can be configured using Group Policy: Password policy: You can enfor

Read more

steps of installing WSUS server

Steven · 2023-03-02 05:29 · 66 views · Windows

Here are the general steps to install WSUS server: Prepare the server: WSUS server can be installed on a dedicated server or on an existing server. The server should meet the minimum hardware and soft

Read more

DNS condition forwarding

Steven · 2023-03-02 05:26 · 145 views · Windows

DNS conditional forwarding is a feature in Windows Server that allows you to configure a DNS server to forward queries for specific domain names to specific DNS servers. This can be useful in scenario

Read more