{"id":11549,"date":"2016-03-24T06:00:59","date_gmt":"2016-03-24T13:00:59","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=11549"},"modified":"2016-03-24T16:41:23","modified_gmt":"2016-03-24T23:41:23","slug":"exporting-from-modules-a-reminder","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/","title":{"rendered":"Exporting from Modules: A Reminder"},"content":{"rendered":"<p>There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and <a href=\"http:\/\/www.itidea.nl\/index.php\/powershell-export-modulemember-vs-export-keys-in-manifest\/\">a great blog post<\/a> that demonstrates that information about variables in <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dd878297(v=VS.85).aspx\">a TechNet topic about module manifests<\/a> is wrong.<\/p>\n<p>Here are some important reminders about modules and their manifests:<\/p>\n<ul>\n<li>By default, all functions and aliases are exported, but variables are not exported.\n<p>&#8220;By default, all variables are exported&#8221; in <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dd878297(v=VS.85).aspx\">How to Write a Module Manifest<\/a> (MSDN) is wrong. This topic is outdated anyway. It lingers from the time of the original <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=141555\">New-ModuleManifest<\/a> cmdlet, which prompted you for about 20 of the 49 parameters, even when only Path is mandatory<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>The <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=141555\">Export-ModuleMember<\/a> cmdlet overrides the default export behavior. When you use it, only the commands that you specify are exported.\n<p>Therefore, by itself, this command prevents all functions and aliases, and all other variables in the module, from being exported.<\/p>\n<\/p>\n<pre lang=\"PowerShell\">Export-ModuleMember -Variable myVar<\/pre>\n<\/li>\n<\/ul>\n<ul>\n<li>You can have multiple <strong>Export-ModuleMember<\/strong> commands in a module. All of the statements are processed; none takes precedence. So, the result is the union of the statements.\n<p>Therefore, these statements, in any order&#8230;<\/p>\n<\/p>\n<pre lang=\"PowerShell\">Export-ModuleMember -Variable myProfiles\r\nExport-ModuleMember -Function Get-Profile, Set-Profile\r\nExport-ModuleMember -Function Get-Profile\r\n<\/pre>\n<p>&#8230;are equivalent to:<\/p>\n<pre lang=\"PowerShell\">Export-ModuleMember -Variable myProfiles -Function Get-Profile, Set-Profile<\/pre>\n<p>As a best practice, mostly for visibility, I prefer one <strong>Export-ModuleMember<\/strong> command as the last statement in a module file, but that&#8217;s just a recommendation.<\/li>\n<\/ul>\n<ul>\n<li>The value of the <strong>Variable<\/strong> parameter of <strong>Export-ModuleMember<\/strong> must be a name, not a variable that begins with $.\n<p>This is correct:<\/p>\n<\/p>\n<pre lang=\"PowerShell\">Export-ModuleMember -variable myProfiles\u00a0\u00a0 # Omits $<\/pre>\n<p>This has no effect, but it does not generate any errors.<\/p>\n<pre lang=\"PowerShell\">Export-ModuleMember -variable $myProfiles # Includes $<\/pre>\n<\/li>\n<\/ul>\n<ul>\n<li>The *ToExport keys in a module manifest can only further restrict exports. They cannot add to exports.\n<p>Therefore, if the module includes:<\/p>\n<\/p>\n<pre lang=\"PowerShell\">Export-ModuleMember -Function Get-Widget<\/pre>\n<p>And, the manifest includes:<\/p>\n<pre lang=\"PowerShell\">FunctionsToExport = 'Get-Widget', 'Set-Widget'<\/pre>\n<p>Only Get-Widget is exported.<\/p>\n<p>Be very careful with this one. When the value of any *ToExport key is an empty array, no objects of that type are exported, regardless of the value the Export-ModuleMember.<\/p>\n<pre lang=\"PowerShell\">FunctionsToExport = @()<\/pre>\n<\/li>\n<\/ul>\n<ul>\n<li>Redundant Export-ModuleMember and module manifest values do no harm and have no special effect.\n<\/p>\n<pre lang=\"PowerShell\"># In module \r\nExport-ModuleMember -Function Get-Profile\u00a0\u00a0\u00a0\u00a0 \r\n\r\n# In module manifest\r\nFunctionsToExport = 'Get-Profile'<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Important stuff<\/strong><\/p>\n<ul>\n<li>Use explicit names in the value of the *ToExport keys in the module manifest, instead of wildcard characters (*).Jason Shirk (<a href=\"https:\/\/twitter.com\/lzybkr\">@lzybkr<\/a>), the PowerShell team developer who maintains the module discovery code, says:\n<p><em>&#8220;PowerShell does expensive work during command discovery if you use wildcards, skips that if you are explicit&#8230;.[O]n a fresh Win10 system, if all modules do it correctly, can save 15 [seconds].&#8221;<\/em><\/p>\n<p>For example:<\/p>\n<pre lang=\"PowerShell\">FunctionsToExport = 'Get-Profile', 'Set-Profile'<\/pre>\n<p>Instead of:<\/p>\n<pre lang=\"PowerShell\">FunctionsToExport = '*'<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>I needed the reminders and Jason&#8217;s performance report will change how I write my module manifests.<\/p>\n<p><em>June Blender is a technology evangelist at SAPIEN Technologies, Inc. and a Windows PowerShell MVP. You can reach her at <\/em><a href=\"mailto:juneb@sapien.com\"><em>juneb@sapien.com<\/em><\/a><em>\u00a0and follow her on Twitter at <\/em><a href=\"https:\/\/twitter.com\/juneb_get_help\"><em>@juneb_get_help<\/em><\/a><em>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests [&hellip;]<\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[703,25],"tags":[1081,934,753,1082,551,1083,28,1072,1080],"class_list":["post-11549","post","type-post","status-publish","format-standard","hentry","category-powershell-studio","category-windows-powershell","tag-export-modulemember","tag-juneb","tag-module","tag-module-manifest","tag-modules","tag-new-modulemanifest","tag-powershell","tag-powershell-3-0","tag-powershell-modules"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"June Blender\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"DEV SAPIEN Blog - Tools for IT Success\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Exporting from Modules: A Reminder - DEV SAPIEN Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-03-24T13:00:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-03-24T23:41:23+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Exporting from Modules: A Reminder - DEV SAPIEN Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#blogposting\",\"name\":\"Exporting from Modules: A Reminder - DEV SAPIEN Blog\",\"headline\":\"Exporting from Modules: A Reminder\",\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"},\"datePublished\":\"2016-03-24T06:00:59-07:00\",\"dateModified\":\"2016-03-24T16:41:23-07:00\",\"inLanguage\":\"en-US\",\"commentCount\":8,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#webpage\"},\"articleSection\":\"PowerShell Studio, Windows PowerShell, Export-ModuleMember, juneb, module, Module manifest, modules, New-ModuleManifest, powershell, PowerShell 3.0, PowerShell modules\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"position\":2,\"name\":\"Software News\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"name\":\"PowerShell Studio\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"position\":3,\"name\":\"PowerShell Studio\",\"item\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#listItem\",\"name\":\"Exporting from Modules: A Reminder\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/#listItem\",\"name\":\"Software News\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#listItem\",\"position\":4,\"name\":\"Exporting from Modules: A Reminder\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/topics\\\/software-news\\\/powershell-studio\\\/#listItem\",\"name\":\"PowerShell Studio\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/\",\"name\":\"June Blender\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#webpage\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/\",\"name\":\"Exporting from Modules: A Reminder - DEV SAPIEN Blog\",\"description\":\"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/2016\\\/03\\\/24\\\/exporting-from-modules-a-reminder\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/author\\\/juneblender\\\/#author\"},\"datePublished\":\"2016-03-24T06:00:59-07:00\",\"dateModified\":\"2016-03-24T16:41:23-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/\",\"name\":\"DEV SAPIEN Blog\",\"description\":\"Tools for IT Success\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/dev.sapien.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Exporting from Modules: A Reminder - DEV SAPIEN Blog","description":"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests","canonical_url":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#blogposting","name":"Exporting from Modules: A Reminder - DEV SAPIEN Blog","headline":"Exporting from Modules: A Reminder","author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"},"datePublished":"2016-03-24T06:00:59-07:00","dateModified":"2016-03-24T16:41:23-07:00","inLanguage":"en-US","commentCount":8,"mainEntityOfPage":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#webpage"},"isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#webpage"},"articleSection":"PowerShell Studio, Windows PowerShell, Export-ModuleMember, juneb, module, Module manifest, modules, New-ModuleManifest, powershell, PowerShell 3.0, PowerShell modules"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/dev.sapien.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","position":2,"name":"Software News","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","name":"PowerShell Studio"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","position":3,"name":"PowerShell Studio","item":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/","nextItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#listItem","name":"Exporting from Modules: A Reminder"},"previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/#listItem","name":"Software News"}},{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#listItem","position":4,"name":"Exporting from Modules: A Reminder","previousItem":{"@type":"ListItem","@id":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/#listItem","name":"PowerShell Studio"}}]},{"@type":"Organization","@id":"https:\/\/dev.sapien.com\/blog\/#organization","name":"DEV SAPIEN Blog","description":"Tools for IT Success","url":"https:\/\/dev.sapien.com\/blog\/"},{"@type":"Person","@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author","url":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/","name":"June Blender"},{"@type":"WebPage","@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#webpage","url":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/","name":"Exporting from Modules: A Reminder - DEV SAPIEN Blog","description":"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/dev.sapien.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/#breadcrumblist"},"author":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"creator":{"@id":"https:\/\/dev.sapien.com\/blog\/author\/juneblender\/#author"},"datePublished":"2016-03-24T06:00:59-07:00","dateModified":"2016-03-24T16:41:23-07:00"},{"@type":"WebSite","@id":"https:\/\/dev.sapien.com\/blog\/#website","url":"https:\/\/dev.sapien.com\/blog\/","name":"DEV SAPIEN Blog","description":"Tools for IT Success","inLanguage":"en-US","publisher":{"@id":"https:\/\/dev.sapien.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"DEV SAPIEN Blog - Tools for IT Success","og:type":"article","og:title":"Exporting from Modules: A Reminder - DEV SAPIEN Blog","og:description":"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests","og:url":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/","article:published_time":"2016-03-24T13:00:59+00:00","article:modified_time":"2016-03-24T23:41:23+00:00","twitter:card":"summary_large_image","twitter:title":"Exporting from Modules: A Reminder - DEV SAPIEN Blog","twitter:description":"There are so many new things in Windows PowerShell that I often assume that I know the basics. But, while working on a project about modules, I ran into some new guidance from PowerShell developer Jason Shirk and a great blog post that demonstrates that information about variables in a TechNet topic about module manifests"},"aioseo_meta_data":{"post_id":"11549","title":null,"description":null,"keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":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_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"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,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-08-28 16:00:32","updated":"2026-08-28 16:00:32"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\" 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:\/\/dev.sapien.com\/blog\/topics\/software-news\/\" title=\"Software News\">Software News<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/\" title=\"PowerShell Studio\">PowerShell Studio<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExporting from Modules: A Reminder\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/dev.sapien.com\/blog"},{"label":"Software News","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/"},{"label":"PowerShell Studio","link":"https:\/\/dev.sapien.com\/blog\/topics\/software-news\/powershell-studio\/"},{"label":"Exporting from Modules: A Reminder","link":"https:\/\/dev.sapien.com\/blog\/2016\/03\/24\/exporting-from-modules-a-reminder\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=11549"}],"version-history":[{"count":52,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11549\/revisions"}],"predecessor-version":[{"id":11728,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/11549\/revisions\/11728"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=11549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=11549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=11549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}