{"id":1004,"date":"2026-09-30T16:40:00","date_gmt":"2026-09-30T09:40:00","guid":{"rendered":"https:\/\/itonstartplus.com\/?p=1004"},"modified":"2026-09-30T16:40:00","modified_gmt":"2026-09-30T09:40:00","slug":"powershell-check-services-and-disk","status":"publish","type":"post","link":"https:\/\/itonstartplus.com\/?p=1004","title":{"rendered":"\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c PowerShell \u0e40\u0e0a\u0e47\u0e01\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e41\u0e25\u0e30\u0e14\u0e34\u0e2a\u0e01\u0e4c\u0e1a\u0e19 Windows Server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0e07\u0e32\u0e19\u0e40\u0e1d\u0e49\u0e32\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e23\u0e30\u0e08\u0e33\u0e27\u0e31\u0e19\u0e2b\u0e25\u0e32\u0e22\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e17\u0e33\u0e14\u0e49\u0e27\u0e22 PowerShell \u0e1a\u0e23\u0e23\u0e17\u0e31\u0e14\u0e40\u0e14\u0e35\u0e22\u0e27\u0e44\u0e14\u0e49 \u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e43\u0e2b\u0e49\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e15\u0e23\u0e27\u0e08\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e07\u0e32\u0e19\u0e15\u0e25\u0e2d\u0e14 \u0e41\u0e25\u0e30\u0e14\u0e39\u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e14\u0e34\u0e2a\u0e01\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e25\u0e37\u0e2d<\/p>\n\n\n\n<h2 id=\"\u0e40\u0e0a\u0e47\u0e01\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\" class=\"wp-block-heading\">\u0e40\u0e0a\u0e47\u0e01\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23<\/h2>\n\n\n\n<pre class=\"wp-block-code language-powershell\"><code>$services = 'MSSQLSERVER', 'SQLSERVERAGENT', 'W32Time'\n\nGet-Service -Name $services -ErrorAction SilentlyContinue |\n    Select-Object Name, Status, StartType |\n    Format-Table -AutoSize<\/code><\/pre>\n\n\n\n<h2 id=\"\u0e40\u0e23\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e2b\u0e22\u0e38\u0e14\u0e2d\u0e22\u0e39\u0e48\" class=\"wp-block-heading\">\u0e40\u0e23\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e2b\u0e22\u0e38\u0e14\u0e2d\u0e22\u0e39\u0e48<\/h2>\n\n\n\n<pre class=\"wp-block-code language-powershell\"><code>Get-Service -Name $services -ErrorAction SilentlyContinue |\n    Where-Object { $_.Status -ne 'Running' -and $_.StartType -eq 'Automatic' } |\n    ForEach-Object {\n        Write-Host \"Starting $($_.Name) ...\"\n        Start-Service -Name $_.Name\n    }<\/code><\/pre>\n\n\n\n<div class=\"wp-block-group is-style-itb-warning is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u0e01\u0e48\u0e2d\u0e19\u0e2a\u0e31\u0e48\u0e07\u0e40\u0e23\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 \u0e43\u0e2b\u0e49\u0e15\u0e23\u0e27\u0e08\u0e01\u0e48\u0e2d\u0e19\u0e27\u0e48\u0e32\u0e17\u0e33\u0e44\u0e21\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e08\u0e36\u0e07\u0e2b\u0e22\u0e38\u0e14 \u0e16\u0e49\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e0b\u0e49\u0e33\u0e41\u0e25\u0e49\u0e27\u0e2b\u0e22\u0e38\u0e14\u0e2d\u0e35\u0e01 \u0e41\u0e2a\u0e14\u0e07\u0e27\u0e48\u0e32\u0e21\u0e35\u0e2a\u0e32\u0e40\u0e2b\u0e15\u0e38\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e41\u0e01\u0e49 \u0e44\u0e21\u0e48\u0e04\u0e27\u0e23\u0e43\u0e2b\u0e49\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c\u0e40\u0e23\u0e34\u0e48\u0e21\u0e43\u0e2b\u0e21\u0e48\u0e27\u0e19\u0e44\u0e1b\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e22 \u0e46<\/p>\n<\/div>\n\n\n\n<h2 id=\"\u0e14\u0e39\u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e14\u0e34\u0e2a\u0e01\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e25\u0e37\u0e2d\" class=\"wp-block-heading\">\u0e14\u0e39\u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e14\u0e34\u0e2a\u0e01\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e25\u0e37\u0e2d<\/h2>\n\n\n\n<pre class=\"wp-block-code language-powershell\"><code>Get-PSDrive -PSProvider FileSystem |\n    Where-Object { $_.Used -gt 0 } |\n    Select-Object Name,\n        @{ n = 'UsedGB'; e = { [math]::Round($_.Used \/ 1GB, 1) } },\n        @{ n = 'FreeGB'; e = { [math]::Round($_.Free \/ 1GB, 1) } }<\/code><\/pre>\n\n\n\n<div class=\"wp-block-group is-style-itb-tip is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u0e15\u0e31\u0e49\u0e07\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c\u0e40\u0e1b\u0e47\u0e19 Scheduled Task \u0e43\u0e2b\u0e49\u0e23\u0e31\u0e19\u0e17\u0e38\u0e01\u0e40\u0e0a\u0e49\u0e32 \u0e41\u0e25\u0e49\u0e27\u0e2a\u0e48\u0e07\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e40\u0e02\u0e49\u0e32\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e1f\u0e25\u0e4c log \u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e41\u0e19\u0e27\u0e42\u0e19\u0e49\u0e21\u0e01\u0e48\u0e2d\u0e19\u0e17\u0e35\u0e48\u0e14\u0e34\u0e2a\u0e01\u0e4c\u0e08\u0e30\u0e40\u0e15\u0e47\u0e21<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c\u0e2a\u0e31\u0e49\u0e19 \u0e46 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e41\u0e25\u0e30\u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e14\u0e34\u0e2a\u0e01\u0e4c\u0e02\u0e2d\u0e07 Windows Server \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e2a\u0e31\u0e48\u0e07\u0e40\u0e23\u0e34\u0e48\u0e21\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e2b\u0e22\u0e38\u0e14\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e2b\u0e49\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[20,18,19,11],"class_list":["post-1004","post","type-post","status-publish","format-standard","hentry","category-windows-server","tag-automation","tag-powershell","tag-windows-server","tag-demo"],"_links":{"self":[{"href":"https:\/\/itonstartplus.com\/index.php?rest_route=\/wp\/v2\/posts\/1004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itonstartplus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itonstartplus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itonstartplus.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itonstartplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1004"}],"version-history":[{"count":0,"href":"https:\/\/itonstartplus.com\/index.php?rest_route=\/wp\/v2\/posts\/1004\/revisions"}],"wp:attachment":[{"href":"https:\/\/itonstartplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itonstartplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itonstartplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}