{"id":32,"date":"2022-10-29T13:23:59","date_gmt":"2022-10-29T13:23:59","guid":{"rendered":"http:\/\/nkascocom.nk\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/"},"modified":"2024-03-23T16:16:18","modified_gmt":"2024-03-23T21:16:18","slug":"2022-10-29-how-to-make-powershell-process-data-fast","status":"publish","type":"post","link":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/","title":{"rendered":"How to Process PowerShell Datasets Extremely Fast"},"content":{"rendered":"\n<div class=\"sqs-html-content\">\n<p class=\"\" style=\"white-space: pre-wrap;\">The other day I had a need to take data from hundreds of logs and transform it, do a few lookups, then finally flatten it into a single unified output file. OK no big deal right, just get each one in memory, do your calculations, and append to an object\u2026<\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\">In my case, 1 of the lookups I had to do were to determine if a machine was still in Active Directory. As you may know you can simply run the following 1 liner:<\/p>\n<\/div>\n\n\n\n<pre class=\"wp-block-preformatted\">$Machine = \"MyComputer\"\nGet-ADComputer $Machine<\/pre>\n\n\n\n<div class=\"sqs-html-content\">\n<p class=\"\" style=\"white-space: pre-wrap;\">Well, in my case I had over 230,000 records to look up. This created a few concerns, not only did I not want to cause slow response time on a domain controller from so many queries, it would also take on average about 2-3 seconds for each query to complete.<\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\">Then I figured, \u201cOK I can just get ALL computer info from AD in memory first then look them up from there when I need to\u201d. This solved the concern of causing slow response time on the DC. Let\u2019s say we have all our data in a variable called $ADData, to look up a machine we can do 1 of the following options:<\/p>\n<\/div>\n\n\n\n<pre class=\"wp-block-preformatted\">$CurrentMachine = \"MyComputer\"\n\n#Option 1\n$ADLookup = $ADData | Where-Object Name -eq $CurrentMachine\n\n#Option 2\n$ADLookup = $ADData.where({$_.Name -eq \"$CurrentMachine\"})<\/pre>\n\n\n\n<div class=\"sqs-html-content\">\n<p class=\"\" style=\"white-space: pre-wrap;\">Both of these options are legitimate code, however with that many records in memory, it was still taking about 3 seconds for either of those options to process. Doing some quick math:<\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><strong>3 seconds per machine x 230,000 machines = 690,000 seconds or 7.98 DAYS to process<\/strong><\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\">It\u2019s often stated that PowerShell isn\u2019t as efficient as Python for processing data, and this is a perfect example of that. But what if it could be much more efficient\u2026<\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><strong>Enter DataTable object types<\/strong>:<\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/api\/system.data.datatable.select?view=net-7.0\" target=\"_blank\" rel=\"noopener\">Data Tables are .NET based<\/a> and are blazing fast, but there doesn\u2019t seem to be a built-in option for converting data sets. In an effort to not reinvent the wheel here are a few options on the gallery that can do it for you:<\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><a href=\"https:\/\/www.powershellgallery.com\/packages\/Pipeworks\/1.9.9.4\/Content\/ConvertTo-DataTable.ps1\" target=\"_blank\" rel=\"noopener\">https:\/\/www.powershellgallery.com\/packages\/Pipeworks\/1.9.9.4\/Content\/ConvertTo-DataTable.ps1<\/a><\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><a href=\"https:\/\/www.powershellgallery.com\/packages\/PSSQLite\/1.0.1\/Content\/Out-DataTable.ps1\" target=\"_blank\" rel=\"noopener\">https:\/\/www.powershellgallery.com\/packages\/PSSQLite\/1.0.1\/Content\/Out-DataTable.ps1<\/a><\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><em>Note: When converting your dataset this will take a minute or so up front, but the downstream performance gains are far worth it.<\/em><\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><strong>Now, I can utilize the .NET Select method from the DataTable object type to achieve a lookup which in my case was able to improve from ~3s to ~3ms. Insane!<\/strong><\/p>\n<\/div>\n\n\n\n<pre class=\"wp-block-preformatted\">$ADDataTable = ConvertTo-DataTable $ADData\n\n#Use the Select method with a filter to achieve insanely fast lookups\n$ADDataTable.Select(\"Name='$CurrentMachine'\")\n\n#We can also see that this is now of the type DataTable\n$ADDataTable.GetType()\n\nIsPublic IsSerial Name                                     BaseType\n-------- -------- ----                                     --------\nTrue     True     DataTable                                System.ComponentModel.MarshalByValueComponent<\/pre>\n\n\n\n<div class=\"sqs-html-content\">\n<p class=\"\" style=\"white-space: pre-wrap;\">With this approach, I was able to convert a job that would otherwise take nearly <strong>8 days<\/strong> to run into a job that completes in about <strong>3 minutes<\/strong>!<\/p>\n<p class=\"\" style=\"white-space: pre-wrap;\"><em>Who says PowerShell can\u2019t be used to process data fast like Python?<\/em><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The other day I had a need to take data from hundreds of logs and transform it, do a few lookups, then finally flatten it into a single unified output file. OK no big deal right, just get each one in memory, do your calculations, and append to an object\u2026 In my case, 1 of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":33,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Process PowerShell Datasets Extremely Fast - Nathan Kasco - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Process PowerShell Datasets Extremely Fast - Nathan Kasco - Blog\" \/>\n<meta property=\"og:description\" content=\"The other day I had a need to take data from hundreds of logs and transform it, do a few lookups, then finally flatten it into a single unified output file. OK no big deal right, just get each one in memory, do your calculations, and append to an object\u2026 In my case, 1 of [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/\" \/>\n<meta property=\"og:site_name\" content=\"Nathan Kasco - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-29T13:23:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-23T21:16:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"227\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nate Kasco\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Bu5yGiraffe\" \/>\n<meta name=\"twitter:site\" content=\"@Bu5yGiraffe\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nate Kasco\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/\"},\"author\":{\"name\":\"Nate Kasco\",\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3\"},\"headline\":\"How to Process PowerShell Datasets Extremely Fast\",\"datePublished\":\"2022-10-29T13:23:59+00:00\",\"dateModified\":\"2024-03-23T21:16:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/\"},\"wordCount\":433,\"publisher\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3\"},\"image\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/\",\"url\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/\",\"name\":\"How to Process PowerShell Datasets Extremely Fast - Nathan Kasco - Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png\",\"datePublished\":\"2022-10-29T13:23:59+00:00\",\"dateModified\":\"2024-03-23T21:16:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage\",\"url\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png\",\"contentUrl\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png\",\"width\":400,\"height\":227},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.nkasco.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Process PowerShell Datasets Extremely Fast\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/#website\",\"url\":\"https:\/\/blog.nkasco.com\/wordpress\/\",\"name\":\"Nathan Kasco - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.nkasco.com\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3\",\"name\":\"Nate Kasco\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png\",\"url\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png\",\"contentUrl\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png\",\"width\":200,\"height\":200,\"caption\":\"Nate Kasco\"},\"logo\":{\"@id\":\"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png\"},\"sameAs\":[\"http:\/\/nkascocom.nk\/wordpress\",\"https:\/\/x.com\/Bu5yGiraffe\"],\"url\":\"https:\/\/blog.nkasco.com\/wordpress\/index.php\/author\/nate\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Process PowerShell Datasets Extremely Fast - Nathan Kasco - Blog","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:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/","og_locale":"en_US","og_type":"article","og_title":"How to Process PowerShell Datasets Extremely Fast - Nathan Kasco - Blog","og_description":"The other day I had a need to take data from hundreds of logs and transform it, do a few lookups, then finally flatten it into a single unified output file. OK no big deal right, just get each one in memory, do your calculations, and append to an object\u2026 In my case, 1 of [&hellip;]","og_url":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/","og_site_name":"Nathan Kasco - Blog","article_published_time":"2022-10-29T13:23:59+00:00","article_modified_time":"2024-03-23T21:16:18+00:00","og_image":[{"width":400,"height":227,"url":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png","type":"image\/png"}],"author":"Nate Kasco","twitter_card":"summary_large_image","twitter_creator":"@Bu5yGiraffe","twitter_site":"@Bu5yGiraffe","twitter_misc":{"Written by":"Nate Kasco","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#article","isPartOf":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/"},"author":{"name":"Nate Kasco","@id":"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3"},"headline":"How to Process PowerShell Datasets Extremely Fast","datePublished":"2022-10-29T13:23:59+00:00","dateModified":"2024-03-23T21:16:18+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/"},"wordCount":433,"publisher":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3"},"image":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/","url":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/","name":"How to Process PowerShell Datasets Extremely Fast - Nathan Kasco - Blog","isPartOf":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage"},"image":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png","datePublished":"2022-10-29T13:23:59+00:00","dateModified":"2024-03-23T21:16:18+00:00","breadcrumb":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#primaryimage","url":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png","contentUrl":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2022\/10\/dataunsplash.png","width":400,"height":227},{"@type":"BreadcrumbList","@id":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/2022\/10\/29\/2022-10-29-how-to-make-powershell-process-data-fast\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.nkasco.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"How to Process PowerShell Datasets Extremely Fast"}]},{"@type":"WebSite","@id":"https:\/\/blog.nkasco.com\/wordpress\/#website","url":"https:\/\/blog.nkasco.com\/wordpress\/","name":"Nathan Kasco - Blog","description":"","publisher":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.nkasco.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.nkasco.com\/wordpress\/#\/schema\/person\/1dfd694a2ed094a43a37dc6882c65eb3","name":"Nate Kasco","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png","url":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png","contentUrl":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png","width":200,"height":200,"caption":"Nate Kasco"},"logo":{"@id":"https:\/\/blog.nkasco.com\/wordpress\/wp-content\/uploads\/2024\/03\/cropped-logo.png"},"sameAs":["http:\/\/nkascocom.nk\/wordpress","https:\/\/x.com\/Bu5yGiraffe"],"url":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/author\/nate\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":4,"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/32\/revisions\/137"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media\/33"}],"wp:attachment":[{"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nkasco.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}