{"id":3289,"date":"2023-03-13T11:00:17","date_gmt":"2023-03-13T11:00:17","guid":{"rendered":"http:\/\/howtowindowsguides.com\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/"},"modified":"2023-03-13T11:00:17","modified_gmt":"2023-03-13T11:00:17","slug":"come-spegnere-o-riavviare-il-computer-in-windows-powershell","status":"publish","type":"post","link":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/","title":{"rendered":"Come spegnere o riavviare il computer in Windows PowerShell"},"content":{"rendered":"<p>Il sistema operativo Windows offre diversi modi per spegnere o riavviare il computer. Ad esempio, pu\u00f2 spegnere o riavviare il computer utilizzando il menu Start, il menu WinX, il prompt dei comandi, la finestra Esegui, la finestra Arresto di Windows premendo Alt + F4 o creando una scorciatoia speciale, ecc.<\/p>\n<p>Per spegnere il computer, esegua Windows PowerShell come amministratore ed esegua il seguente comando:<\/p>\n<blockquote><p>Stop-Computer<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3129\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_1-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_1-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_1-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_1-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Per riavviare il computer, esegua Windows PowerShell come amministratore ed esegua il comando:<\/p>\n<blockquote><p>Riavviare il computer<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3137\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_2-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_2-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_2-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_2-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Pu\u00f2 anche utilizzare il metodo Win32Shutdown della classe Win32_OperatingSystem WMI per spegnere o riavviare. I flag dell&#8217;elenco seguente possono essere utilizzati come argomento:<\/p>\n<ul>\n<li>0 &#8211; Disconnettersi<\/li>\n<li>4 &#8211; Disconnessione forzata<\/li>\n<li>1 &#8211; Spegnimento<\/li>\n<li>5 &#8211; Arresto forzato<\/li>\n<li>2 &#8211; Riavvio<\/li>\n<li>6 &#8211; Riavvio forzato<\/li>\n<li>8 &#8211; Spegnimento<\/li>\n<li>12 &#8211; Spegnimento forzato<\/li>\n<\/ul>\n<p>Vediamo alcuni esempi di comandi. Per spegnere il computer, esegua il comando:<\/p>\n<blockquote><p>(Get-WmiObject Win32_OperatingSystem -EnableAllPrivileges).Win32Shutdown(1)<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3141\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_3-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_3-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_3-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_3-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Per riavviare il computer, esegua il comando:<\/p>\n<blockquote><p>(Get-WmiObject Win32_OperatingSystem -EnableAllPrivileges).Win32Shutdown(2)<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3145\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_4-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_4-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_4-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_4-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Per uscire, esegua il comando:<\/p>\n<blockquote><p>(Get-WmiObject Win32_OperatingSystem -EnableAllPrivileges).Win32Shutdown(0)<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3149\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_5-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_5-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_5-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_5-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>E come aggiunta, alcuni comandi diversi per spegnere e riavviare il computer utilizzando la console Windows PowerShell.<\/p>\n<p>Con il seguente comando pu\u00f2 spegnere due computer remoti contemporaneamente:<\/p>\n<blockquote><p>Stop-Computer -Nome del computer &#8220;Server01&#8221;, &#8220;Server02&#8221;.<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3153\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_6-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_6-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_6-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_6-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Il comando seguente dimostra come riavviare due computer remoti denominati <mark>Server01<\/mark> e <mark>Server02<\/mark> e un computer locale identificato come <mark>localhost<\/mark>.<\/p>\n<blockquote><p>Restart-Computer -Nome computer &#8220;Server01&#8221;, &#8220;Server02&#8221;, &#8220;localhost&#8221;.<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3157\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_7-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_7-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_7-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_7-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Con il seguente comando, pu\u00f2 impostare il tempo di ritardo (in secondi) prima che il computer si spenga.<\/p>\n<blockquote><p>Avvio-Sleep -Secondi 60; Stop-Computer<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3161\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_8-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_8-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_8-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_8-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Il comando seguente imposta il tempo (in secondi) prima che il computer si riavvii.<\/p>\n<blockquote><p>Avvio-Sleep -Secondi 60; Riavvio del computer<\/p><\/blockquote>\n<p><span itemprop=\"image\" itemscope itemtype=\"https:\/\/schema.org\/ImageObject\"><img itemprop=\"url image\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3165\" src=\"http:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_9-1.jpg\" alt=\"\" width=\"865\" height=\"317\"  srcset=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_9-1.jpg 865w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_9-1-300x110.jpg 300w, https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot_9-1-768x281.jpg 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><meta itemprop=\"width\" content=\"865\"><meta itemprop=\"height\" content=\"317\"><\/span><\/p>\n<p>Per maggiori informazioni sul cmdlet Restart-Computer, visiti il sito web di Microsoft a questo <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/microsoft.powershell.management\/restart-computer?view=powershell-7.3&amp;viewFallbackFrom=powershell-6\">link<\/a> \u27af e per informazioni sul cmdlet Stop-Computer, veda \u27af <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/microsoft.powershell.management\/stop-computer?view=powershell-7.3&amp;viewFallbackFrom=powershell-6\">qui<\/a>. Per ora \u00e8 tutto.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Il sistema operativo Windows offre diversi modi per spegnere o riavviare il computer. Ad esempio, pu\u00f2 spegnere o riavviare il computer utilizzando il menu Start, il menu WinX, il prompt dei comandi, la finestra Esegui, la finestra Arresto di Windows premendo Alt + F4 o creando una scorciatoia speciale, ecc. Per spegnere il computer, esegua [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3135,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-3289","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-information"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Come spegnere o riavviare il computer in Windows PowerShell<\/title>\n<meta name=\"description\" content=\"In questo articolo imparer\u00e0 come pu\u00f2 spegnere e riavviare il computer utilizzando comandi speciali in Windows PowerShell.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Come spegnere o riavviare il computer in Windows PowerShell\" \/>\n<meta property=\"og:description\" content=\"In questo articolo imparer\u00e0 come pu\u00f2 spegnere e riavviare il computer utilizzando comandi speciali in Windows PowerShell.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"Windows 10, novit\u00e0 Microsoft, recensioni di dispositivi, registro e tweak\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-13T11:00:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1260\" \/>\n\t<meta property=\"og:image:height\" content=\"725\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Oliver Bennett\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Scritto da\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oliver Bennett\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/\"},\"author\":{\"name\":\"Oliver Bennett\",\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/#\\\/schema\\\/person\\\/03df0b7bcd704df0eb052e71cced1f31\"},\"headline\":\"Come spegnere o riavviare il computer in Windows PowerShell\",\"datePublished\":\"2023-03-13T11:00:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/\"},\"wordCount\":302,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/howtowindowsguides.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/screenshot-1.jpg\",\"articleSection\":[\"Information\"],\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/\",\"url\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/\",\"name\":\"Come spegnere o riavviare il computer in Windows PowerShell\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/howtowindowsguides.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/screenshot-1.jpg\",\"datePublished\":\"2023-03-13T11:00:17+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/#\\\/schema\\\/person\\\/03df0b7bcd704df0eb052e71cced1f31\"},\"description\":\"In questo articolo imparer\u00e0 come pu\u00f2 spegnere e riavviare il computer utilizzando comandi speciali in Windows PowerShell.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#primaryimage\",\"url\":\"https:\\\/\\\/howtowindowsguides.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/screenshot-1.jpg\",\"contentUrl\":\"https:\\\/\\\/howtowindowsguides.com\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/screenshot-1.jpg\",\"width\":1260,\"height\":725},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Come spegnere o riavviare il computer in Windows PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/#website\",\"url\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/\",\"name\":\"Windows 10, novit\u00e0 Microsoft, recensioni di dispositivi, registro e tweak\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/#\\\/schema\\\/person\\\/03df0b7bcd704df0eb052e71cced1f31\",\"name\":\"Oliver Bennett\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/35962e2f03ed8ae5009bc0d380978939bb83cd9684ab3e1ce4b54dd58a40599e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/35962e2f03ed8ae5009bc0d380978939bb83cd9684ab3e1ce4b54dd58a40599e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/35962e2f03ed8ae5009bc0d380978939bb83cd9684ab3e1ce4b54dd58a40599e?s=96&d=mm&r=g\",\"caption\":\"Oliver Bennett\"},\"url\":\"https:\\\/\\\/howtowindowsguides.com\\\/it\\\/author\\\/oliver\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Come spegnere o riavviare il computer in Windows PowerShell","description":"In questo articolo imparer\u00e0 come pu\u00f2 spegnere e riavviare il computer utilizzando comandi speciali in Windows PowerShell.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/","og_locale":"it_IT","og_type":"article","og_title":"Come spegnere o riavviare il computer in Windows PowerShell","og_description":"In questo articolo imparer\u00e0 come pu\u00f2 spegnere e riavviare il computer utilizzando comandi speciali in Windows PowerShell.","og_url":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/","og_site_name":"Windows 10, novit\u00e0 Microsoft, recensioni di dispositivi, registro e tweak","article_published_time":"2023-03-13T11:00:17+00:00","og_image":[{"width":1260,"height":725,"url":"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot-1.jpg","type":"image\/jpeg"}],"author":"Oliver Bennett","twitter_card":"summary_large_image","twitter_misc":{"Scritto da":"Oliver Bennett","Tempo di lettura stimato":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#article","isPartOf":{"@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/"},"author":{"name":"Oliver Bennett","@id":"https:\/\/howtowindowsguides.com\/it\/#\/schema\/person\/03df0b7bcd704df0eb052e71cced1f31"},"headline":"Come spegnere o riavviare il computer in Windows PowerShell","datePublished":"2023-03-13T11:00:17+00:00","mainEntityOfPage":{"@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/"},"wordCount":302,"commentCount":0,"image":{"@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot-1.jpg","articleSection":["Information"],"inLanguage":"it-IT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/","url":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/","name":"Come spegnere o riavviare il computer in Windows PowerShell","isPartOf":{"@id":"https:\/\/howtowindowsguides.com\/it\/#website"},"primaryImageOfPage":{"@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#primaryimage"},"image":{"@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot-1.jpg","datePublished":"2023-03-13T11:00:17+00:00","author":{"@id":"https:\/\/howtowindowsguides.com\/it\/#\/schema\/person\/03df0b7bcd704df0eb052e71cced1f31"},"description":"In questo articolo imparer\u00e0 come pu\u00f2 spegnere e riavviare il computer utilizzando comandi speciali in Windows PowerShell.","breadcrumb":{"@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#primaryimage","url":"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot-1.jpg","contentUrl":"https:\/\/howtowindowsguides.com\/wp-content\/uploads\/2023\/03\/screenshot-1.jpg","width":1260,"height":725},{"@type":"BreadcrumbList","@id":"https:\/\/howtowindowsguides.com\/it\/come-spegnere-o-riavviare-il-computer-in-windows-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/howtowindowsguides.com\/it\/"},{"@type":"ListItem","position":2,"name":"Come spegnere o riavviare il computer in Windows PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/howtowindowsguides.com\/it\/#website","url":"https:\/\/howtowindowsguides.com\/it\/","name":"Windows 10, novit\u00e0 Microsoft, recensioni di dispositivi, registro e tweak","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/howtowindowsguides.com\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Person","@id":"https:\/\/howtowindowsguides.com\/it\/#\/schema\/person\/03df0b7bcd704df0eb052e71cced1f31","name":"Oliver Bennett","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/secure.gravatar.com\/avatar\/35962e2f03ed8ae5009bc0d380978939bb83cd9684ab3e1ce4b54dd58a40599e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/35962e2f03ed8ae5009bc0d380978939bb83cd9684ab3e1ce4b54dd58a40599e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/35962e2f03ed8ae5009bc0d380978939bb83cd9684ab3e1ce4b54dd58a40599e?s=96&d=mm&r=g","caption":"Oliver Bennett"},"url":"https:\/\/howtowindowsguides.com\/it\/author\/oliver\/"}]}},"_links":{"self":[{"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/posts\/3289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/comments?post=3289"}],"version-history":[{"count":0,"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/posts\/3289\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/media\/3135"}],"wp:attachment":[{"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/media?parent=3289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/categories?post=3289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howtowindowsguides.com\/it\/wp-json\/wp\/v2\/tags?post=3289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}