{"id":151,"date":"2013-09-24T12:38:02","date_gmt":"2013-09-24T10:38:02","guid":{"rendered":"http:\/\/ps.stefanrehwald.de\/?p=151"},"modified":"2013-09-24T12:38:02","modified_gmt":"2013-09-24T10:38:02","slug":"powershell-excel-sheet-auslesen","status":"publish","type":"post","link":"https:\/\/ps.stefanrehwald.de\/?p=151","title":{"rendered":"PowerShell \u2013 Excel-Sheet auslesen"},"content":{"rendered":"<p style=\"text-align: justify;\">Zu n\u00e4chst muss wieder eine COM-Objekt instanziiert werden, anschlie\u00dfend k\u00f6nnen Daten im Excel-Sheet einfach \u00fcber Zeile (Row) und Spalte (Column) ausgelesen werden. Das gew\u00fcnschte Arbeitsblatt, der Standardname bei neuen Dateien ist Tabelle 1, kann \u00fcber den Index oder den Namen angesprochen werden. Also &#8230;Item(1) oder &#8230;Item(&#8222;Tabelle 1&#8220;).<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:ps decode:true\" title=\"Excel-Sheet auslesen Script I\">$Filepath =\"D:\\Auswertungen\\UserData.xlsx\"\r\n\r\n# Variablen\r\n[int]$Zeile = 2 # ab 2, da in Zeile 1 Die Titel stehen\r\n[int]$Spalte = 1\r\n$TableName = \"User Data\"\r\n\r\n#Instanzieren eines COM-Objektes f\u00fcr Excel\r\n$Excel = New-Object -ComObject excel.application\r\n#Excel-Sheet sichtbar machen, hei\u00dft, ob es im Vordergrund oder im Hintergrund geschehen soll.\r\n$Excel.Visible = $false\r\n#Arbeitsmappe laden\r\n$Workbook = $Excel.Workbooks.Open($Filepath)\r\n$Table =$workbook.Worksheets.Item($TableName)\r\n# alternativ zum TableName:\r\n#$Table = $workbook.Worksheets.Item(1)\r\n\r\n# Datei auslesen\r\n\r\n$User_Name = $Table.Cells.Item($Zeile,$Spalte).Text\r\n\r\n#COM-Objektes beenden\r\n$Excel.Quit()\r\n#COM-Objektes aus dem Speicher entfernen\r\n[System.Runtime.Interopservices.Marshal]::ReleaseComObject($excel)<\/pre>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\">Um mehrere Daten abzuarbeiten nutze ich im folgendem Beispiel eine Do-While Schleife. Dabei wird der Wert von $Zeile nach jeder Ausgabe im eins erh\u00f6ht. Enth\u00e4lt das aktuelle Feld keine Zeichen mehr, so wird die Do-While-Schleife beendet.<\/p>\n<pre class=\"lang:ps decode:true\" title=\"Excel-Sheet auslesen Script II\">Zu n\u00e4chst muss wieder eine COM-Objekt instanziert werden, anschlie\u00dfend k\u00f6nnen Daten im Excel-Sheet einfach \u00fcber Zeile (Row) und Spalte (Column) ausgelesen werden. Das gew\u00fcnschte Arbeitsblatt, Standardname bnei neuen Dateien Tabelle 1, kann \u00fcber den Index oder den Namen angesprochen werden. Also ...Item(1) oder ...Item(\"Tabelle 1\").\r\n\r\n$Filepath =\"D:\\Auswertungen\\UserData.xlsx\"\r\n\r\n# Variablen\r\n[int]$Zeile = 2 # ab 2, da in Zeile 1 Die Titel stehen\r\n[int]$Spalte = 1\r\n$TableName = \"User Data\"\r\n\r\n#Instanzieren eines COM-Objektes f\u00fcr Excel\r\n$Excel = New-Object -ComObject excel.application\r\n#Excel-Sheet sichtbar machen, hei\u00dft, ob es im Vordergrund oder im Hintergrund geschehen soll.\r\n$Excel.Visible = $false\r\n#Arbeitsmappe laden\r\n$Workbook = $Excel.Workbooks.Open($Filepath)\r\n$Table =$workbook.Worksheets.Item($TableName)\r\n# alternativ zum TableName:\r\n#$Table = $workbook.Worksheets.Item(1)\r\n\r\n# Datei auslesen\r\ndo {\r\n$User_Name = $Table.Cells.Item($Zeile,$Spalte).Text\r\n$Zeile++\r\n}\r\nwhile($Table.Cells.Item($Zeile,$Spalte).Text.Length -gt 0)\r\n\r\n#COM-Objektes beenden\r\n$Excel.Quit()\r\n#COM-Objektes aus dem Speicher entfernen\r\n[System.Runtime.Interopservices.Marshal]::ReleaseComObject($excel)<\/pre>\n<p>rewe<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zu n\u00e4chst muss wieder eine COM-Objekt instanziiert werden, anschlie\u00dfend k\u00f6nnen Daten im Excel-Sheet einfach \u00fcber Zeile (Row) und Spalte (Column) ausgelesen werden. Das gew\u00fcnschte Arbeitsblatt, der Standardname bei neuen Dateien ist Tabelle 1, kann \u00fcber den Index oder den Namen &hellip; <a href=\"https:\/\/ps.stefanrehwald.de\/?p=151\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":8,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[2,9],"tags":[243,245,244,253,255,242,248,246,252,251,249,247,241,254],"class_list":["post-151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","category-snippet","tag-com","tag-com-objekt","tag-com-schnittstelle","tag-do","tag-do-while","tag-excel","tag-excel-sheel-powershell","tag-excel-sheet","tag-excel-sheet-auslesen","tag-excel-sheet-bearbeiten","tag-excel-sheet-erstellen","tag-excel-sheet-powershell","tag-powershell-excel","tag-while"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Ein Excel-Sheet mittels PowerShell auslesen.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Stefan Rehwald\"\/>\n\t<meta name=\"keywords\" content=\"powershell excel,excel,com,com-schnittstelle,com-objekt,excel-sheet,excel sheet,excel-sheet powershell,excel sheel powershell,excel-sheet bearbeiten,excel sheet erstellen,excel-sheet auslesen,do,while,do while,,excel-sheet erstellen\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/ps.stefanrehwald.de\/?p=151\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"PowerShell Scripts | Eine Sammlung von PowerShell Snippets\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts\" \/>\n\t\t<meta property=\"og:description\" content=\"Ein Excel-Sheet mittels PowerShell auslesen.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/ps.stefanrehwald.de\/?p=151\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-09-24T10:38:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-09-24T10:38:02+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Ein Excel-Sheet mittels PowerShell auslesen.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#article\",\"name\":\"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts\",\"headline\":\"PowerShell \\u2013 Excel-Sheet auslesen\",\"author\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/wp-content\\\/uploads\\\/2013\\\/08\\\/logo_powershell.jpg\",\"width\":244,\"height\":191,\"caption\":\"PowerShell 3.0\"},\"datePublished\":\"2013-09-24T12:38:02+02:00\",\"dateModified\":\"2013-09-24T12:38:02+02:00\",\"inLanguage\":\"de-DE\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#webpage\"},\"articleSection\":\"PowerShell, Snippet, COM, COM-Objekt, COM-Schnittstelle, Do, do while, Excel, Excel Sheel PowerShell, Excel-Sheet, Excel-Sheet auslesen, Excel-Sheet bearbeiten, Excel-Sheet erstellen, Excel-Sheet PowerShell, PowerShell Excel, While\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ps.stefanrehwald.de\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=2#listItem\",\"name\":\"PowerShell\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=2#listItem\",\"position\":2,\"name\":\"PowerShell\",\"item\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=2\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=9#listItem\",\"name\":\"Snippet\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=9#listItem\",\"position\":3,\"name\":\"Snippet\",\"item\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=9\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#listItem\",\"name\":\"PowerShell \\u2013 Excel-Sheet auslesen\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=2#listItem\",\"name\":\"PowerShell\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#listItem\",\"position\":4,\"name\":\"PowerShell \\u2013 Excel-Sheet auslesen\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?cat=9#listItem\",\"name\":\"Snippet\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/#organization\",\"name\":\"PowerShell Scripts\",\"description\":\"Eine Sammlung von PowerShell Snippets\",\"url\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?author=2#author\",\"url\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?author=2\",\"name\":\"Stefan Rehwald\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/00349957f89eb7edc5bfe4e8d19b2198e56cb63116c2a4ac8ba0e6b8b8b75451?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Stefan Rehwald\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#webpage\",\"url\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151\",\"name\":\"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts\",\"description\":\"Ein Excel-Sheet mittels PowerShell auslesen.\",\"inLanguage\":\"de-DE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?author=2#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/wp-content\\\/uploads\\\/2013\\\/08\\\/logo_powershell.jpg\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151\\\/#mainImage\",\"width\":244,\"height\":191,\"caption\":\"PowerShell 3.0\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/?p=151#mainImage\"},\"datePublished\":\"2013-09-24T12:38:02+02:00\",\"dateModified\":\"2013-09-24T12:38:02+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/#website\",\"url\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/\",\"name\":\"PowerShell Scripts\",\"description\":\"Eine Sammlung von PowerShell Snippets\",\"inLanguage\":\"de-DE\",\"publisher\":{\"@id\":\"https:\\\/\\\/ps.stefanrehwald.de\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts","description":"Ein Excel-Sheet mittels PowerShell auslesen.","canonical_url":"https:\/\/ps.stefanrehwald.de\/?p=151","robots":"max-image-preview:large","keywords":"powershell excel,excel,com,com-schnittstelle,com-objekt,excel-sheet,excel sheet,excel-sheet powershell,excel sheel powershell,excel-sheet bearbeiten,excel sheet erstellen,excel-sheet auslesen,do,while,do while,,excel-sheet erstellen","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ps.stefanrehwald.de\/?p=151#article","name":"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts","headline":"PowerShell \u2013 Excel-Sheet auslesen","author":{"@id":"https:\/\/ps.stefanrehwald.de\/?author=2#author"},"publisher":{"@id":"https:\/\/ps.stefanrehwald.de\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/ps.stefanrehwald.de\/wp-content\/uploads\/2013\/08\/logo_powershell.jpg","width":244,"height":191,"caption":"PowerShell 3.0"},"datePublished":"2013-09-24T12:38:02+02:00","dateModified":"2013-09-24T12:38:02+02:00","inLanguage":"de-DE","mainEntityOfPage":{"@id":"https:\/\/ps.stefanrehwald.de\/?p=151#webpage"},"isPartOf":{"@id":"https:\/\/ps.stefanrehwald.de\/?p=151#webpage"},"articleSection":"PowerShell, Snippet, COM, COM-Objekt, COM-Schnittstelle, Do, do while, Excel, Excel Sheel PowerShell, Excel-Sheet, Excel-Sheet auslesen, Excel-Sheet bearbeiten, Excel-Sheet erstellen, Excel-Sheet PowerShell, PowerShell Excel, While"},{"@type":"BreadcrumbList","@id":"https:\/\/ps.stefanrehwald.de\/?p=151#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de#listItem","position":1,"name":"Home","item":"https:\/\/ps.stefanrehwald.de","nextItem":{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?cat=2#listItem","name":"PowerShell"}},{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?cat=2#listItem","position":2,"name":"PowerShell","item":"https:\/\/ps.stefanrehwald.de\/?cat=2","nextItem":{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?cat=9#listItem","name":"Snippet"},"previousItem":{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?cat=9#listItem","position":3,"name":"Snippet","item":"https:\/\/ps.stefanrehwald.de\/?cat=9","nextItem":{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?p=151#listItem","name":"PowerShell \u2013 Excel-Sheet auslesen"},"previousItem":{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?cat=2#listItem","name":"PowerShell"}},{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?p=151#listItem","position":4,"name":"PowerShell \u2013 Excel-Sheet auslesen","previousItem":{"@type":"ListItem","@id":"https:\/\/ps.stefanrehwald.de\/?cat=9#listItem","name":"Snippet"}}]},{"@type":"Organization","@id":"https:\/\/ps.stefanrehwald.de\/#organization","name":"PowerShell Scripts","description":"Eine Sammlung von PowerShell Snippets","url":"https:\/\/ps.stefanrehwald.de\/"},{"@type":"Person","@id":"https:\/\/ps.stefanrehwald.de\/?author=2#author","url":"https:\/\/ps.stefanrehwald.de\/?author=2","name":"Stefan Rehwald","image":{"@type":"ImageObject","@id":"https:\/\/ps.stefanrehwald.de\/?p=151#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/00349957f89eb7edc5bfe4e8d19b2198e56cb63116c2a4ac8ba0e6b8b8b75451?s=96&d=mm&r=g","width":96,"height":96,"caption":"Stefan Rehwald"}},{"@type":"WebPage","@id":"https:\/\/ps.stefanrehwald.de\/?p=151#webpage","url":"https:\/\/ps.stefanrehwald.de\/?p=151","name":"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts","description":"Ein Excel-Sheet mittels PowerShell auslesen.","inLanguage":"de-DE","isPartOf":{"@id":"https:\/\/ps.stefanrehwald.de\/#website"},"breadcrumb":{"@id":"https:\/\/ps.stefanrehwald.de\/?p=151#breadcrumblist"},"author":{"@id":"https:\/\/ps.stefanrehwald.de\/?author=2#author"},"creator":{"@id":"https:\/\/ps.stefanrehwald.de\/?author=2#author"},"image":{"@type":"ImageObject","url":"https:\/\/ps.stefanrehwald.de\/wp-content\/uploads\/2013\/08\/logo_powershell.jpg","@id":"https:\/\/ps.stefanrehwald.de\/?p=151\/#mainImage","width":244,"height":191,"caption":"PowerShell 3.0"},"primaryImageOfPage":{"@id":"https:\/\/ps.stefanrehwald.de\/?p=151#mainImage"},"datePublished":"2013-09-24T12:38:02+02:00","dateModified":"2013-09-24T12:38:02+02:00"},{"@type":"WebSite","@id":"https:\/\/ps.stefanrehwald.de\/#website","url":"https:\/\/ps.stefanrehwald.de\/","name":"PowerShell Scripts","description":"Eine Sammlung von PowerShell Snippets","inLanguage":"de-DE","publisher":{"@id":"https:\/\/ps.stefanrehwald.de\/#organization"}}]},"og:locale":"de_DE","og:site_name":"PowerShell Scripts | Eine Sammlung von PowerShell Snippets","og:type":"article","og:title":"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts","og:description":"Ein Excel-Sheet mittels PowerShell auslesen.","og:url":"https:\/\/ps.stefanrehwald.de\/?p=151","article:published_time":"2013-09-24T10:38:02+00:00","article:modified_time":"2013-09-24T10:38:02+00:00","twitter:card":"summary","twitter:title":"Excel-Sheet mit PowerShell auslesen. | PowerShell Scripts","twitter:description":"Ein Excel-Sheet mittels PowerShell auslesen."},"aioseo_meta_data":{"post_id":"151","title":"Excel-Sheet mit PowerShell auslesen. | #site_title","description":"Ein Excel-Sheet mittels PowerShell auslesen.","keywords":[{"label":"PowerShell Excel","value":"PowerShell Excel"},{"label":"Excel","value":"Excel"},{"label":"COM","value":"COM"},{"label":"COM-Schnittstelle","value":"COM-Schnittstelle"},{"label":"COM-Objekt","value":"COM-Objekt"},{"label":"Excel-Sheet","value":"Excel-Sheet"},{"label":"Excel Sheet","value":"Excel Sheet"},{"label":"Excel-Sheet PowerShell","value":"Excel-Sheet PowerShell"},{"label":"Excel Sheel PowerShell","value":"Excel Sheel PowerShell"},{"label":"Excel-Sheet bearbeiten","value":"Excel-Sheet bearbeiten"},{"label":"Excel Sheet erstellen","value":"Excel Sheet erstellen"},{"label":"Excel-Sheet auslesen","value":"Excel-Sheet auslesen"},{"label":"Do","value":"Do"},{"label":"While","value":"While"},{"label":"do while","value":"do while"},{"label":"","value":""}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-30 00:57:16","updated":"2025-10-06 09:19:05","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ps.stefanrehwald.de\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ps.stefanrehwald.de\/?cat=2\" title=\"PowerShell\">PowerShell<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ps.stefanrehwald.de\/?cat=9\" title=\"Snippet\">Snippet<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPowerShell \u2013 Excel-Sheet auslesen\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/ps.stefanrehwald.de"},{"label":"PowerShell","link":"https:\/\/ps.stefanrehwald.de\/?cat=2"},{"label":"Snippet","link":"https:\/\/ps.stefanrehwald.de\/?cat=9"},{"label":"PowerShell \u2013 Excel-Sheet auslesen","link":"https:\/\/ps.stefanrehwald.de\/?p=151"}],"jetpack_featured_media_url":"https:\/\/ps.stefanrehwald.de\/wp-content\/uploads\/2013\/08\/logo_powershell.jpg","jetpack_shortlink":"https:\/\/wp.me\/p3N2Ht-2r","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=151"}],"version-history":[{"count":1,"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions\/152"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=\/wp\/v2\/media\/8"}],"wp:attachment":[{"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ps.stefanrehwald.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}