{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/windows-ops-administration/",
  "atlas": "https://www.pystone.net/?node=windows-ops-administration#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/windows-ops-administration.md",
  "context": "https://www.pystone.net/notes/windows-ops-administration.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:windows-ops-administration",
  "slug": "windows-ops-administration",
  "title": "【OS Windows】windows运维知识",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "【OS Windows】windows运维知识",
  "contentRole": "unspecified",
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "unspecified",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "5c510fb5399ceaa5f0a10acd7d21efaa485851a57290ad70eabe409c88ebe12a",
  "assets": [
    {
      "reference": "assets/0025 - 【OS Windows】windows运维知识__resource-001-d8d5784a181d.png",
      "url": "/media/647326f3196fadb7d665.png",
      "mediaType": "image/png",
      "contentHash": "647326f3196fadb7d66587e701e68d81a0cbbf84616c8a0a8939dd73edfbff4d",
      "byteLength": 114200,
      "width": 829,
      "height": 1272
    },
    {
      "reference": "assets/0025 - 【OS Windows】windows运维知识__resource-002-5aff06233876.png",
      "url": "/media/1359fbf60ab2884db1b3.png",
      "mediaType": "image/png",
      "contentHash": "1359fbf60ab2884db1b3f2a6e8c7b1745503e92e1fe3be37dbba453889d49f0e",
      "byteLength": 33884,
      "width": 937,
      "height": 91
    },
    {
      "reference": "assets/0025 - 【OS Windows】windows运维知识__resource-003-3dc7926d8e1b.png",
      "url": "/media/eb8c291099d12cd3ad43.png",
      "mediaType": "image/png",
      "contentHash": "eb8c291099d12cd3ad435a94b4650f2b1656466ddcfe8faf2a423c6f1cbfcbcf",
      "byteLength": 18446,
      "width": 712,
      "height": 532
    }
  ],
  "headings": [
    {
      "depth": 1,
      "text": "【OS Windows】windows运维知识",
      "anchor": "os-windowswindows运维知识",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#os-windowswindows%E8%BF%90%E7%BB%B4%E7%9F%A5%E8%AF%86"
    },
    {
      "depth": 2,
      "text": "cmd命令",
      "anchor": "cmd命令",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#cmd%E5%91%BD%E4%BB%A4"
    },
    {
      "depth": 3,
      "text": "进程相关",
      "anchor": "进程相关",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E8%BF%9B%E7%A8%8B%E7%9B%B8%E5%85%B3"
    },
    {
      "depth": 3,
      "text": "端口与网络",
      "anchor": "端口与网络",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E7%AB%AF%E5%8F%A3%E4%B8%8E%E7%BD%91%E7%BB%9C"
    },
    {
      "depth": 3,
      "text": "内存与磁盘",
      "anchor": "内存与磁盘",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E5%86%85%E5%AD%98%E4%B8%8E%E7%A3%81%E7%9B%98"
    },
    {
      "depth": 2,
      "text": "服务与端口",
      "anchor": "服务与端口",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E6%9C%8D%E5%8A%A1%E4%B8%8E%E7%AB%AF%E5%8F%A3"
    },
    {
      "depth": 2,
      "text": "其他技巧",
      "anchor": "其他技巧",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E5%85%B6%E4%BB%96%E6%8A%80%E5%B7%A7"
    },
    {
      "depth": 3,
      "text": "任务管理器",
      "anchor": "任务管理器",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E4%BB%BB%E5%8A%A1%E7%AE%A1%E7%90%86%E5%99%A8"
    },
    {
      "depth": 3,
      "text": "防火墙相关",
      "anchor": "防火墙相关",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E9%98%B2%E7%81%AB%E5%A2%99%E7%9B%B8%E5%85%B3"
    },
    {
      "depth": 4,
      "text": "防火墙日志查看",
      "anchor": "防火墙日志查看",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E9%98%B2%E7%81%AB%E5%A2%99%E6%97%A5%E5%BF%97%E6%9F%A5%E7%9C%8B"
    },
    {
      "depth": 4,
      "text": "防火墙入站规则",
      "anchor": "防火墙入站规则",
      "citation": "https://www.pystone.net/notes/windows-ops-administration/#%E9%98%B2%E7%81%AB%E5%A2%99%E5%85%A5%E7%AB%99%E8%A7%84%E5%88%99"
    }
  ],
  "claims": [],
  "outgoing": [],
  "incoming": [
    {
      "id": "note:software-engineering-and-quality",
      "title": "软件工程与质量保障",
      "url": "https://www.pystone.net/notes/software-engineering-and-quality/",
      "atlas": "https://www.pystone.net/?node=software-engineering-and-quality#knowledge-atlas",
      "label": "软件工程与质量保障",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "CI-CD与质量保障/CI-CD工具链中的“【OS Windows】windows运维知识”导航项",
      "citation": "https://www.pystone.net/notes/software-engineering-and-quality/#ci-cd%E4%B8%8E%E8%B4%A8%E9%87%8F%E4%BF%9D%E9%9A%9Cci-cd%E5%B7%A5%E5%85%B7%E9%93%BE"
    }
  ],
  "contentMarkdown": "# 【OS Windows】windows运维知识\n\n﻿# 【OS Windows】windows运维知识\n\n> 创建时间：2021/6/21 19:09\n\n* cmd命令\n    * 进程相关\n    * 端口与网络\n    * 内存与磁盘\n  * 服务与端口\n  * 其他技巧\n    * 任务管理器\n    * 防火墙相关\n      * 防火墙日志查看\n      * 防火墙入站规则\n\n## cmd命令\n\n### 进程相关\n\n```csharp\nstring str1 = String.Empty;\nstring str2 = String.Empty;\n\nstr2 = String.Intern(sb.ToString());\n\nif((object)str1==(object)str2)\n    Console.WriteLine(&quot;The strings are equal.&quot;);\nelse\n    Console.WriteLine(&quot;The strings are not equal.&quot;);\n\n```\n\n### 端口与网络\n\n```csharp\nstring str1 = String.Empty;\nstring str2 = String.Empty;\n\nstr2 = String.Intern(sb.ToString());\n\nif((object)str1==(object)str2)\n    Console.WriteLine(&quot;The strings are equal.&quot;);\nelse\n    Console.WriteLine(&quot;The strings are not equal.&quot;);\n\n```\n\n![](assets/0025 - 【OS Windows】windows运维知识__resource-001-d8d5784a181d.png)\n\n查看端口是否通的\n\n```csharp\nstring str1 = String.Empty;\nstring str2 = String.Empty;\n\nstr2 = String.Intern(sb.ToString());\n\nif((object)str1==(object)str2)\n    Console.WriteLine(&quot;The strings are equal.&quot;);\nelse\n    Console.WriteLine(&quot;The strings are not equal.&quot;);\n\n```\n\n### 内存与磁盘\n\n```csharp\nstring str1 = String.Empty;\nstring str2 = String.Empty;\n\nstr2 = String.Intern(sb.ToString());\n\nif((object)str1==(object)str2)\n    Console.WriteLine(&quot;The strings are equal.&quot;);\nelse\n    Console.WriteLine(&quot;The strings are not equal.&quot;);\n\n```\n\n## 服务与端口\n\n查看端口号占用：\nnetstat -ano\n\nnetsh http show servicestate\n\n## 其他技巧\n\n### 任务管理器\n\n### 防火墙相关\n\n#### 防火墙日志查看\n\n防火墙和网络保护 -> Windows Defender防火墙属性 -> 日志\n\n![](assets/0025 - 【OS Windows】windows运维知识__resource-002-5aff06233876.png)\n\n#### 防火墙入站规则\n\n![](assets/0025 - 【OS Windows】windows运维知识__resource-003-3dc7926d8e1b.png)\n\n防火墙入站规则，可以开放某个端口，也可以对某个IP地址开放。\n"
}
