{"id":304,"date":"2020-03-16T08:00:10","date_gmt":"2020-03-16T08:00:10","guid":{"rendered":"https:\/\/practicalpowershell.com\/?p=304"},"modified":"2020-06-07T16:37:27","modified_gmt":"2020-06-07T22:37:27","slug":"what-type-gettype","status":"publish","type":"post","link":"https:\/\/practicalpowershell.com\/what-type-gettype\/","title":{"rendered":"What Type? GetType()"},"content":{"rendered":"<p>There are multiple types of variables.  Variables can contain numbers, strings and more.  Sometimes this can be key to how we handle the data on the variable or how we can display or search for information in the variable.  First we will take a look at Get-Date.  Get-Date pulls your current date and time information from your computer.  We can store this information in a variable and then see how that data is being stored\/interpreted by PowerShell:<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg?resize=608%2C113&#038;ssl=1\" alt=\"\" width=\"608\" height=\"113\" class=\"aligncenter size-full wp-image-324\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg?w=608&amp;ssl=1 608w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg?resize=300%2C56&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg?resize=600%2C112&amp;ssl=1 600w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/a><br \/>\nNotice that the type is &#8216;DateTime&#8217; which is logical considering what could pulled from Get-Date.  Now, we can convert the type to a string if we do not need that particular data type.  We can accomplish this like so:<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-02.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-02.jpg?resize=598%2C111&#038;ssl=1\" alt=\"\" width=\"598\" height=\"111\" class=\"aligncenter size-full wp-image-323\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-02.jpg?w=598&amp;ssl=1 598w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-02.jpg?resize=300%2C56&amp;ssl=1 300w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/a><br \/>\nNow, let&#8217;s take a look at some real world examples.  First, we have a query for the Administrator mailbox&#8217;s Primary SMTP Address.  The value for the PrimarySMTPAddress will be stored in a variable called $SMTP.  We then use the &#8216;.GetType()&#8217; to see what variable type is set with this data storage.<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-03.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-03.jpg?resize=612%2C118&#038;ssl=1\" alt=\"\" width=\"612\" height=\"118\" class=\"aligncenter size-full wp-image-322\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-03.jpg?w=612&amp;ssl=1 612w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-03.jpg?resize=300%2C58&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-03.jpg?resize=600%2C116&amp;ssl=1 600w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><br \/>\nNotice that the type of variable we have now is a very specific &#8216;SmtpAddress&#8221;.  What does that mean exactly?<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-04.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-04.jpg?resize=442%2C124&#038;ssl=1\" alt=\"\" width=\"442\" height=\"124\" class=\"aligncenter size-full wp-image-321\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-04.jpg?w=442&amp;ssl=1 442w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-04.jpg?resize=300%2C84&amp;ssl=1 300w\" sizes=\"auto, (max-width: 442px) 100vw, 442px\" \/><\/a><br \/>\nNow, what if we wanted to store all email addresses for a mailbox.  The value for that is &#8216;EmailAddresses&#8217;:<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-05.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-05.jpg?resize=640%2C83&#038;ssl=1\" alt=\"\" width=\"640\" height=\"83\" class=\"aligncenter size-full wp-image-320\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-05.jpg?w=799&amp;ssl=1 799w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-05.jpg?resize=300%2C39&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-05.jpg?resize=768%2C99&amp;ssl=1 768w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-05.jpg?resize=600%2C77&amp;ssl=1 600w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nNotice that we have a different type (name and base type) for this object&#8217;s properties.  The name is a &#8216;ProxyAddressCollection&#8217; because there can be one or more Proxy Addresses (or email addresses) stored in the variable now.  Quite useful if we are storing a lot of information.<BR><br \/>\nNext, we want to store the name of a mailbox in a variable called name.  We can do so like the example below.  Notice that the variable is a string, which makes sense since the value is a name of an object:<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-06.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-06.jpg?resize=596%2C113&#038;ssl=1\" alt=\"\" width=\"596\" height=\"113\" class=\"aligncenter size-full wp-image-319\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-06.jpg?w=596&amp;ssl=1 596w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-06.jpg?resize=300%2C57&amp;ssl=1 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/a><br \/>\nWe also have numbers, integers, that we can store in variables as well.  We may need a count of all items in a mailbox that we aggregate with all other mailboxes for reporting. We can capture this like so (which also shows the value to be an integer]:<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-07.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-07.jpg?resize=638%2C147&#038;ssl=1\" alt=\"\" width=\"638\" height=\"147\" class=\"aligncenter size-full wp-image-318\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-07.jpg?w=638&amp;ssl=1 638w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-07.jpg?resize=300%2C69&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-07.jpg?resize=600%2C138&amp;ssl=1 600w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/a><BR><br \/>\n<strong>Conclusion<\/strong><BR><br \/>\nSo there you have it, it is easy to get the type of a variable with a stored values.  Knowing this will help determine if we can add numbers to it, string values, or that It may need to be expanded in order to use the variable \/ understand its contents.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are multiple types of variables. Variables can contain numbers, strings and more. Sometimes this can be key to how we handle the data on the variable or how we can display or search for information in the variable. First we will take a look at Get-Date. Get-Date pulls your current date and time information [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[22],"tags":[],"class_list":["post-304","post","type-post","status-publish","format-standard","hentry","category-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Type? GetType() - Practical PowerShell<\/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:\/\/practicalpowershell.com\/what-type-gettype\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Type? GetType() - Practical PowerShell\" \/>\n<meta property=\"og:description\" content=\"There are multiple types of variables. Variables can contain numbers, strings and more. Sometimes this can be key to how we handle the data on the variable or how we can display or search for information in the variable. First we will take a look at Get-Date. Get-Date pulls your current date and time information [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/practicalpowershell.com\/what-type-gettype\/\" \/>\n<meta property=\"og:site_name\" content=\"Practical PowerShell\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-16T08:00:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-07T22:37:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg\" \/>\n<meta name=\"author\" content=\"damian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"damian\" \/>\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:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/\"},\"author\":{\"name\":\"damian\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"headline\":\"What Type? GetType()\",\"datePublished\":\"2020-03-16T08:00:10+00:00\",\"dateModified\":\"2020-06-07T22:37:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/\"},\"wordCount\":400,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"image\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Chapter01-GetType-01.jpg\",\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/\",\"url\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/\",\"name\":\"What Type? GetType() - Practical PowerShell\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Chapter01-GetType-01.jpg\",\"datePublished\":\"2020-03-16T08:00:10+00:00\",\"dateModified\":\"2020-06-07T22:37:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Chapter01-GetType-01.jpg?fit=608%2C113&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/Chapter01-GetType-01.jpg?fit=608%2C113&ssl=1\",\"width\":608,\"height\":113},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/what-type-gettype\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/practicalpowershell.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Type? GetType()\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#website\",\"url\":\"https:\\\/\\\/practicalpowershell.com\\\/\",\"name\":\"Practical PowerShell\",\"description\":\"PowerShell books written by experts\",\"publisher\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/practicalpowershell.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\",\"name\":\"damian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"caption\":\"damian\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Type? GetType() - Practical 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:\/\/practicalpowershell.com\/what-type-gettype\/","og_locale":"en_US","og_type":"article","og_title":"What Type? GetType() - Practical PowerShell","og_description":"There are multiple types of variables. Variables can contain numbers, strings and more. Sometimes this can be key to how we handle the data on the variable or how we can display or search for information in the variable. First we will take a look at Get-Date. Get-Date pulls your current date and time information [&hellip;]","og_url":"https:\/\/practicalpowershell.com\/what-type-gettype\/","og_site_name":"Practical PowerShell","article_published_time":"2020-03-16T08:00:10+00:00","article_modified_time":"2020-06-07T22:37:27+00:00","og_image":[{"url":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg","type":"","width":"","height":""}],"author":"damian","twitter_card":"summary_large_image","twitter_misc":{"Written by":"damian","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/#article","isPartOf":{"@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/"},"author":{"name":"damian","@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"headline":"What Type? GetType()","datePublished":"2020-03-16T08:00:10+00:00","dateModified":"2020-06-07T22:37:27+00:00","mainEntityOfPage":{"@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/"},"wordCount":400,"commentCount":0,"publisher":{"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"image":{"@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/#primaryimage"},"thumbnailUrl":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg","articleSection":["PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/practicalpowershell.com\/what-type-gettype\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/","url":"https:\/\/practicalpowershell.com\/what-type-gettype\/","name":"What Type? GetType() - Practical PowerShell","isPartOf":{"@id":"https:\/\/practicalpowershell.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/#primaryimage"},"image":{"@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/#primaryimage"},"thumbnailUrl":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg","datePublished":"2020-03-16T08:00:10+00:00","dateModified":"2020-06-07T22:37:27+00:00","breadcrumb":{"@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/practicalpowershell.com\/what-type-gettype\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/#primaryimage","url":"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg?fit=608%2C113&ssl=1","contentUrl":"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/03\/Chapter01-GetType-01.jpg?fit=608%2C113&ssl=1","width":608,"height":113},{"@type":"BreadcrumbList","@id":"https:\/\/practicalpowershell.com\/what-type-gettype\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/practicalpowershell.com\/"},{"@type":"ListItem","position":2,"name":"What Type? GetType()"}]},{"@type":"WebSite","@id":"https:\/\/practicalpowershell.com\/#website","url":"https:\/\/practicalpowershell.com\/","name":"Practical PowerShell","description":"PowerShell books written by experts","publisher":{"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/practicalpowershell.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb","name":"damian","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","caption":"damian"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/comments?post=304"}],"version-history":[{"count":1,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/304\/revisions"}],"predecessor-version":[{"id":325,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/304\/revisions\/325"}],"wp:attachment":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/categories?post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/tags?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}