{"id":9485,"date":"2023-11-14T21:17:43","date_gmt":"2023-11-14T20:17:43","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=9485"},"modified":"2024-07-23T22:57:27","modified_gmt":"2024-07-23T20:57:27","slug":"winget-usage-basics","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/winget-usage-basics\/","title":{"rendered":"winget: Basic usage"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_9485 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_9485')){$('.twoclick_social_bookmarks_post_9485').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"winget%3A%20Basic%20usage\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Ahere%20are%20some%20winget%20basics%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/winget-usage-basics\\\/\",\"post_id\":9485,\"post_title_referrer_track\":\"winget%3A+Basic+usage\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>here are some winget basics<br \/>\n<!--more--><br \/>\nSearching for a package at Microsoft store<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt;  winget search -q deutsch --source=msstore\r\nName                                    ID           Version\r\n------------------------------------------------------------\r\n...\r\nDeutsch Local Experience Pack           9P6CT0SLW589 Unknown\r\n...\r\n<\/pre>\n<p>Installing a package and open logfile<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt;  winget install --id 9P6CT0SLW589 --source=msstore --verbose-logs --open-logs\r\nInstallation oder Upgrade des Microsoft Store-Pakets ist fehlgeschlagen. Fehlercode: 0x80190003\r\n<\/pre>\n<p>If an error occured take a look at the winget <a href=\"https:\/\/github.com\/microsoft\/winget-cli\/blob\/master\/doc\/windows\/package-manager\/winget\/returnCodes.md\" rel=\"noopener\" target=\"_blank\">return codes<\/a>.<\/p>\n<p>If the error is not listed take a look at the Microsoft store logs (Application and Service Logs\/Microsoft\/Store)<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\nPS D:\\&gt;  Get-WinEvent -ProviderName Microsoft-Windows-Store | ?{$_.LevelDisplayName -ne &quot;Informationen&quot; }\r\n<\/pre>\n<p>If you call winget with &#8211;verbose-logs the logs can be found at <strong>C:\\Users\\<YourUserAccount>\\AppData\\Local\\Packages\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\\LocalState\\DiagOutputDir<\/strong>.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, here are some winget basics<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[2015,2013,2014,20,1519],"class_list":["post-9485","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-error-codes","tag-log-file","tag-verbose-log","tag-windows-2","tag-winget"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=9485"}],"version-history":[{"count":5,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9485\/revisions"}],"predecessor-version":[{"id":9490,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9485\/revisions\/9490"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=9485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=9485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=9485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}