{"id":629,"date":"2013-05-04T05:55:03","date_gmt":"2013-05-04T05:55:03","guid":{"rendered":"http:\/\/www.myfatblog.co.uk\/?p=629"},"modified":"2013-05-04T05:57:38","modified_gmt":"2013-05-04T05:57:38","slug":"useful-technique-gooey-sharepoint-scripting","status":"publish","type":"post","link":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/","title":{"rendered":"Useful Technique &#8211; Gooey SharePoint Scripting"},"content":{"rendered":"<h1>Automating the SharePoint GUI using Scripting.<\/h1>\n<p>My colleague Alex and I have been working on the same client project during the last 6 months and we recently hit an issue that required us to republish 150 content types in the content type hub.<\/p>\n<p>Due to an issue with the PowerShell publish commands not working previously, the client had requested that we publish all of them manually through the GUI!!!!<\/p>\n<p>With Alex being a bit of a PowerShell geek, he decided to adapt a method he\u2019d seen somewhere to do this using the GUI, but by driving it from PowerShell. His blog post <a title=\"Permalink to Gooey SharePoint Scripting\" href=\"http:\/\/alexbrassington.com\/2013\/05\/02\/gooey-sharepoint-scripting\/\">Gooey SharePoint Scripting<\/a> takes you through the process and explains how he saved us from RSI!<\/p>\n<p>Well worth a 5 minute read so you understand the concepts, You never know when this could be useful to you. I\u2019ll be adapting this method and posting here soon on how to generate Search\/Analytics data for demos.<\/p>\n<p>Paul.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automating the SharePoint GUI using Scripting. My colleague Alex and I have been working on the same client project during the last 6 months and we recently hit an issue that required us to republish 150 content types in the content type hub. Due to an issue with the PowerShell publish commands not working previously, &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":552,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[113,94,110,31,70,91,1],"tags":[191,116,114,56,115],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Useful Technique - Gooey SharePoint Scripting - Blog of an overweight SharePoint addict<\/title>\n<meta name=\"description\" content=\"A quick and easy technique to automate the SharePoint gui using PowerShell scripting to drive the manual interface.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Useful Technique - Gooey SharePoint Scripting - Blog of an overweight SharePoint addict\" \/>\n<meta property=\"og:description\" content=\"A quick and easy technique to automate the SharePoint gui using PowerShell scripting to drive the manual interface.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog of an overweight SharePoint addict\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-04T05:55:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-05-04T05:57:38+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"551\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Cimares\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cimares\" \/>\n<meta name=\"twitter:site\" content=\"@cimares\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cimares\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/\",\"name\":\"Useful Technique - Gooey SharePoint Scripting - Blog of an overweight SharePoint addict\",\"isPartOf\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg\",\"datePublished\":\"2013-05-04T05:55:03+00:00\",\"dateModified\":\"2013-05-04T05:57:38+00:00\",\"author\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\"},\"description\":\"A quick and easy technique to automate the SharePoint gui using PowerShell scripting to drive the manual interface.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/#primaryimage\",\"url\":\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg\",\"width\":\"500\",\"height\":\"551\"},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\",\"url\":\"http:\/\/www.myfatblog.co.uk\/\",\"name\":\"Blog of an overweight SharePoint addict\",\"description\":\"The rantings of a (not so) food obsessed IT consultant!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\",\"name\":\"Cimares\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"caption\":\"Cimares\"},\"sameAs\":[\"http:\/\/www.myfatblog.co.uk\"],\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Useful Technique - Gooey SharePoint Scripting - Blog of an overweight SharePoint addict","description":"A quick and easy technique to automate the SharePoint gui using PowerShell scripting to drive the manual interface.","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":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/","og_locale":"en_US","og_type":"article","og_title":"Useful Technique - Gooey SharePoint Scripting - Blog of an overweight SharePoint addict","og_description":"A quick and easy technique to automate the SharePoint gui using PowerShell scripting to drive the manual interface.","og_url":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/","og_site_name":"Blog of an overweight SharePoint addict","article_published_time":"2013-05-04T05:55:03+00:00","article_modified_time":"2013-05-04T05:57:38+00:00","og_image":[{"width":"500","height":"551","url":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg","type":"image\/jpeg"}],"author":"Cimares","twitter_card":"summary_large_image","twitter_creator":"@cimares","twitter_site":"@cimares","twitter_misc":{"Written by":"Cimares","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/","url":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/","name":"Useful Technique - Gooey SharePoint Scripting - Blog of an overweight SharePoint addict","isPartOf":{"@id":"http:\/\/www.myfatblog.co.uk\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/#primaryimage"},"image":{"@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/#primaryimage"},"thumbnailUrl":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg","datePublished":"2013-05-04T05:55:03+00:00","dateModified":"2013-05-04T05:57:38+00:00","author":{"@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6"},"description":"A quick and easy technique to automate the SharePoint gui using PowerShell scripting to drive the manual interface.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/05\/useful-technique-gooey-sharepoint-scripting\/#primaryimage","url":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg","contentUrl":"http:\/\/www.myfatblog.co.uk\/wp-content\/uploads\/2012\/12\/TopOfTheWorld.jpg","width":"500","height":"551"},{"@type":"WebSite","@id":"http:\/\/www.myfatblog.co.uk\/#website","url":"http:\/\/www.myfatblog.co.uk\/","name":"Blog of an overweight SharePoint addict","description":"The rantings of a (not so) food obsessed IT consultant!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6","name":"Cimares","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/","url":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","contentUrl":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","caption":"Cimares"},"sameAs":["http:\/\/www.myfatblog.co.uk"],"url":"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/"}]}},"_links":{"self":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/629"}],"collection":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=629"}],"version-history":[{"count":2,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/629\/revisions"}],"predecessor-version":[{"id":631,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/629\/revisions\/631"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/media\/552"}],"wp:attachment":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}