{"id":822,"date":"2009-02-01T17:07:45","date_gmt":"2009-02-02T01:07:45","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=822"},"modified":"2009-02-01T17:16:41","modified_gmt":"2009-02-02T01:16:41","slug":"unable-to-execute-powershell-scripts-on-windows-server-2008","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/","title":{"rendered":"Unable to Execute PowerShell Scripts on Windows Server 2008"},"content":{"rendered":"<p>Have you run into a situation where you try to execute a\u00a0 wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows\u00a0PowerShell\u00a0and\u00a0run the script and what you get is rather bizarre. You get an error that says that scripting is disabled on your server. Hmmmm! who did that without your permission? The error says something like:<\/p>\n<p><span style=\"color: #ff0000;\">File C:\\scripts\\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see &#8220;get-<br \/>\nhelp about_signing&#8221; for more details.<br \/>\nAt line:1 char:19<br \/>\n+ c:\\scripts\\test.ps1 &lt;&lt;&lt;&lt;<\/span><\/p>\n<p>Well, there are a couple of things to know about PowerShell before you start executing PowerShell scripts.<\/p>\n<p><span style=\"color: #000000;\">1. PowerShell is available in Windows Server 2008 as a feature. To install PowerShell, start\u00a0the Server Manager. go to Features, Add features,\u00a0check the Windows PowerShell box and click Install.<\/span><\/p>\n<p><span style=\"color: #000000;\">2. Just because you&#8217;ve installed PowerShell it doesn&#8217;t mean that you can execute scripts. Scripts can be dangerous, especially when they are allowed to run on a server. The ability to &#8220;execute&#8221; PowerShell scripts is disabled by default in Windows Server 2008. You can allow the execution by using the ExecutionPolicy option.<\/span><\/p>\n<p>To view your current PowerShell Excecution Policy status, open the PowerShell console and type:<\/p>\n<p><span style=\"color: #800000;\"><strong><span style=\"color: #008000;\">Get-ExecutionPolicy<\/span><\/strong><\/span><\/p>\n<p>The response you will see is &#8220;Restricted&#8221;, which is the default status. You can change the status to\u00a0AllSigned, RemoteSigned, or Unrestricted.<\/p>\n<p><strong>Restricted<\/strong>: This default setting does not allow execution of scripts at all.<\/p>\n<p><strong>AllSigned<\/strong>: Allows you to\u00a0only execute digitally signed scripts. This is the most secure, other than Restricted setting.<\/p>\n<p><strong>RemoteSigned<\/strong>: Scripts downloaded from a remote site must be digitally signed before they can be executed. This is a good setting to have for a lot of environments.<\/p>\n<p><strong>Unrestricted<\/strong>: All scripts can be executed but technically this isn&#8217;t what I consider a fully\u00a0unrestricted setting in the sense that downloaded scripts will still offer user a prompt before executing. This should be used in rare situations and is not the recommended setting.<\/p>\n<p>To change the default\u00a0ExecutionPolicy, run the PowerShell as an administrator and type the appropriate command. For example, to change the Execution Policy to RemoteSigned, type:<\/p>\n<p><span style=\"color: #0000ff;\"><strong><span style=\"color: #008000;\">Set-ExecutionPolicy RemoteSigned<\/span><\/strong><\/span><\/p>\n<p>To switch it back to default Restricted setting, type:<\/p>\n<p><span style=\"color: #008000;\"><strong>Set-ExecutionPolicy Unrestricted<\/strong><\/span><\/p>\n<p>Always verify by running <em>Get-ExecutionPolicy<\/em> to ensure that you have configured the proper settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you run into a situation where you try to execute a\u00a0 wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows\u00a0PowerShell\u00a0and\u00a0run the script and what you get is rather bizarre. You [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[57,11,30],"tags":[],"class_list":["post-822","post","type-post","status-publish","format-standard","hentry","category-scripting","category-tips-tricks","category-longhorn-server"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Zubair Alexander\"\/>\n\t<meta name=\"google-site-verification\" content=\"xUGSODobCBguuxTNOCWOCVwAIhfY39LLtYAQOmExYzw\" \/>\n\t<meta name=\"msvalidate.01\" content=\"65829CD0C3C810D64E58EA860413DB21\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Alexander&#039;s Blog | Sharing knowledge with the global IT community since November 1, 2004\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander&#039;s Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2004\/11\/AlexandersBlog_logo_590x590.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2004\/11\/AlexandersBlog_logo_590x590.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"590\" \/>\n\t\t<meta property=\"og:image:height\" content=\"590\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-02-02T01:07:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-02-02T01:16:41+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@zubairalexander\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander&#039;s Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@zubairalexander\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2004\/11\/AlexandersBlog_logo_590x590.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#article\",\"name\":\"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander's Blog\",\"headline\":\"Unable to Execute PowerShell Scripts on Windows Server 2008\",\"author\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/author\\\/sp_admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/AlexandersBlog_logo_590x590.jpg\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/#articleImage\"},\"datePublished\":\"2009-02-01T17:07:45-08:00\",\"dateModified\":\"2009-02-01T17:16:41-08:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#webpage\"},\"articleSection\":\"Scripting, Tips &#038; Tricks, Windows 2008\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/category\\\/tips-tricks\\\/#listItem\",\"name\":\"Tips &#038; Tricks\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/category\\\/tips-tricks\\\/#listItem\",\"position\":2,\"name\":\"Tips &#038; Tricks\",\"item\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/category\\\/tips-tricks\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#listItem\",\"name\":\"Unable to Execute PowerShell Scripts on Windows Server 2008\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#listItem\",\"position\":3,\"name\":\"Unable to Execute PowerShell Scripts on Windows Server 2008\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/category\\\/tips-tricks\\\/#listItem\",\"name\":\"Tips &#038; Tricks\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/#organization\",\"name\":\"Alexander's Blog\",\"description\":\"Sharing knowledge with the global IT community since November 1, 2004\",\"url\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/AlexandersBlog_logo_590x590.jpg\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/zubairalexander\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/zubairalexander\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/author\\\/sp_admin\\\/#author\",\"url\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/author\\\/sp_admin\\\/\",\"name\":\"Zubair Alexander\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#webpage\",\"url\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/\",\"name\":\"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander's Blog\",\"description\":\"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/unable-to-execute-powershell-scripts-on-windows-server-2008\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/author\\\/sp_admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/author\\\/sp_admin\\\/#author\"},\"datePublished\":\"2009-02-01T17:07:45-08:00\",\"dateModified\":\"2009-02-01T17:16:41-08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/\",\"name\":\"Alexander's Blog\",\"description\":\"Sharing knowledge with the global IT community since November 1, 2004\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.zubairalexander.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander's Blog","description":"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You","canonical_url":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"xUGSODobCBguuxTNOCWOCVwAIhfY39LLtYAQOmExYzw","msvalidate.01":"65829CD0C3C810D64E58EA860413DB21","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#article","name":"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander's Blog","headline":"Unable to Execute PowerShell Scripts on Windows Server 2008","author":{"@id":"https:\/\/www.zubairalexander.com\/blog\/author\/sp_admin\/#author"},"publisher":{"@id":"https:\/\/www.zubairalexander.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2020\/10\/AlexandersBlog_logo_590x590.jpg","@id":"https:\/\/www.zubairalexander.com\/blog\/#articleImage"},"datePublished":"2009-02-01T17:07:45-08:00","dateModified":"2009-02-01T17:16:41-08:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#webpage"},"isPartOf":{"@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#webpage"},"articleSection":"Scripting, Tips &#038; Tricks, Windows 2008"},{"@type":"BreadcrumbList","@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.zubairalexander.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.zubairalexander.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.zubairalexander.com\/blog\/category\/tips-tricks\/#listItem","name":"Tips &#038; Tricks"}},{"@type":"ListItem","@id":"https:\/\/www.zubairalexander.com\/blog\/category\/tips-tricks\/#listItem","position":2,"name":"Tips &#038; Tricks","item":"https:\/\/www.zubairalexander.com\/blog\/category\/tips-tricks\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#listItem","name":"Unable to Execute PowerShell Scripts on Windows Server 2008"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.zubairalexander.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#listItem","position":3,"name":"Unable to Execute PowerShell Scripts on Windows Server 2008","previousItem":{"@type":"ListItem","@id":"https:\/\/www.zubairalexander.com\/blog\/category\/tips-tricks\/#listItem","name":"Tips &#038; Tricks"}}]},{"@type":"Organization","@id":"https:\/\/www.zubairalexander.com\/blog\/#organization","name":"Alexander's Blog","description":"Sharing knowledge with the global IT community since November 1, 2004","url":"https:\/\/www.zubairalexander.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2020\/10\/AlexandersBlog_logo_590x590.jpg","@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#organizationLogo"},"image":{"@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#organizationLogo"},"sameAs":["https:\/\/twitter.com\/zubairalexander","https:\/\/www.linkedin.com\/in\/zubairalexander"]},{"@type":"Person","@id":"https:\/\/www.zubairalexander.com\/blog\/author\/sp_admin\/#author","url":"https:\/\/www.zubairalexander.com\/blog\/author\/sp_admin\/","name":"Zubair Alexander"},{"@type":"WebPage","@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#webpage","url":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/","name":"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander's Blog","description":"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.zubairalexander.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/#breadcrumblist"},"author":{"@id":"https:\/\/www.zubairalexander.com\/blog\/author\/sp_admin\/#author"},"creator":{"@id":"https:\/\/www.zubairalexander.com\/blog\/author\/sp_admin\/#author"},"datePublished":"2009-02-01T17:07:45-08:00","dateModified":"2009-02-01T17:16:41-08:00"},{"@type":"WebSite","@id":"https:\/\/www.zubairalexander.com\/blog\/#website","url":"https:\/\/www.zubairalexander.com\/blog\/","name":"Alexander's Blog","description":"Sharing knowledge with the global IT community since November 1, 2004","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.zubairalexander.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Alexander's Blog | Sharing knowledge with the global IT community since November 1, 2004","og:type":"article","og:title":"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander's Blog","og:description":"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You","og:url":"https:\/\/www.zubairalexander.com\/blog\/unable-to-execute-powershell-scripts-on-windows-server-2008\/","og:image":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2004\/11\/AlexandersBlog_logo_590x590.png","og:image:secure_url":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2004\/11\/AlexandersBlog_logo_590x590.png","og:image:width":590,"og:image:height":590,"article:published_time":"2009-02-02T01:07:45+00:00","article:modified_time":"2009-02-02T01:16:41+00:00","twitter:card":"summary_large_image","twitter:site":"@zubairalexander","twitter:title":"Unable to Execute PowerShell Scripts on Windows Server 2008 | Alexander's Blog","twitter:description":"Have you run into a situation where you try to execute a wonderful PowerShell script that you found on the Internet and instead of executing the script you end up getting a Notepad window that opens up your script? As a workaround you open Windows PowerShell and run the script and what you get is rather bizarre. You","twitter:creator":"@zubairalexander","twitter:image":"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2004\/11\/AlexandersBlog_logo_590x590.png"},"aioseo_meta_data":{"post_id":"822","title":null,"description":null,"keywords":null,"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":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"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,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 04:09:20","updated":"2025-06-04 00:47:13","seo_analyzer_scan_date":null},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=822"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/822\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}