{"id":2820,"date":"2014-08-22T14:16:57","date_gmt":"2014-08-22T21:16:57","guid":{"rendered":"http:\/\/www.brainlitter.com\/?p=2820"},"modified":"2014-08-22T14:16:57","modified_gmt":"2014-08-22T21:16:57","slug":"iisreset-for-the-sneaky-sharepoint-admin","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/","title":{"rendered":"IISReset for the Sneaky SharePoint Admin"},"content":{"rendered":"<h2>What<\/h2>\n<p>First off a disclaimer. In a production SharePoint environment, of course you shouldn&#8217;t perform an IISRESET\/system reset when users are connected. Buuuuutttttt, in those instances where you are in a jam, or the system is in testing or you&#8217;re feeling brazen, I&#8217;m just saying you &#8220;coullldddd&#8221; consider the following\u2026 <img decoding=\"async\" class=\"wlEmoticon wlEmoticon-winkingsmile\" style=\"border-style: none\" src=\"\/wp-content\/uploads\/brainlitter\/2014\/08\/wlEmoticon-winkingsmile.png\" alt=\"Winking smile\" \/><\/p>\n<p>I was working with a client the other day and we had a SharePoint farm that was heavily neglected and in need of an IISRESET at a minimum to push some stuff through so we could continue on to further work\/troubleshooting. We knew the system was going to be lightly used that day and the &#8220;suggestion&#8221; was that we could peak and see if anyone was connected and if not, we could blast out a quick IISRESET (and nobody would notice right? Or maybe we&#8217;d just blame it on the network. (I joke of course\u2026)<\/p>\n<p>So this isn&#8217;t how to do an IISRESET with IIS and SharePoint. Nor is this how to do a &#8220;Warmup&#8221; of SharePoint to ensure after said IISRESET, that SharePoint is as quick\/functional and ready to serve users as possible\u2026 This is about how to quickly check, on your Web Server (WFE\/Front End, the one DNS for your SharePoint Web Applications is pointed at) to see if there are any active HTTP or HTTPS connections in place (users having a chat with your SharePoint Server).<\/p>\n<h2>So What<\/h2>\n<p>We just rely on good ole &#8220;NETSTAT&#8221; that has been in Windows almost as long as I have. Your mileage will vary (newer versions of Windows Server support the -an switch, older versions won&#8217;t so in those cases, simply not include it) and then pipe the port we are looking for (80 for http, 443 for https, or perhaps a custom port you have defined for your web app \u2026 but why would you do that \u2026 really?)<\/p>\n<h2>Now What<\/h2>\n<p>The following is the output at this moment in time, from our Front-End SharePoint 2013 Server running on Windows Server 2012, all of our key web apps are using HTTPS so we are looking for ports with &#8220;443&#8221; (the SSL native port):<\/p>\n<p><span style=\"font-family: Courier New;font-size: x-large\">NETSTAT -an | findstr 443<\/span><\/p>\n<p>And here&#8217;s the result. By my count, there are 10 people connected (sounds about right, we all use SharePoint, all the time)\u2026 So if I were to try and sneak in an IISRESET, I would need to negotiate with these folks first (well not really, I own the server so I suppose I could pull rank ;).<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2014\/08\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px\" title=\"image\" src=\"\/wp-content\/uploads\/brainlitter\/2014\/08\/image_thumb.png\" alt=\"image\" width=\"424\" height=\"620\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>But shhhhh, don&#8217;t tell anyone, okay?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What First off a disclaimer. In a production SharePoint environment, of course you shouldn&#8217;t perform an IISRESET\/system reset when users are connected. Buuuuutttttt, in those instances where you are in a jam, or the system is in testing or you&#8217;re feeling brazen, I&#8217;m just saying you &#8220;coullldddd&#8221; consider the following\u2026 I was working with a &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":2822,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[433,14,334,194,222,223],"tags":[711,906,907,908,30],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>IISReset for the Sneaky SharePoint Admin - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IISReset for the Sneaky SharePoint Admin - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"What First off a disclaimer. In a production SharePoint environment, of course you shouldn&#8217;t perform an IISRESET\/system reset when users are connected. Buuuuutttttt, in those instances where you are in a jam, or the system is in testing or you&#8217;re feeling brazen, I&#8217;m just saying you &#8220;coullldddd&#8221; consider the following\u2026 I was working with a &hellip;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-22T21:16:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"237\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\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\":\"WebPage\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/\",\"url\":\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/\",\"name\":\"IISReset for the Sneaky SharePoint Admin - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237&ssl=1\",\"datePublished\":\"2014-08-22T21:16:57+00:00\",\"dateModified\":\"2014-08-22T21:16:57+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237&ssl=1\",\"width\":300,\"height\":237},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IISReset for the Sneaky SharePoint Admin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"IISReset for the Sneaky SharePoint Admin - Brainlitter - Inside the mind of Sean Wallbridge","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:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/","og_locale":"en_US","og_type":"article","og_title":"IISReset for the Sneaky SharePoint Admin - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"What First off a disclaimer. In a production SharePoint environment, of course you shouldn&#8217;t perform an IISRESET\/system reset when users are connected. Buuuuutttttt, in those instances where you are in a jam, or the system is in testing or you&#8217;re feeling brazen, I&#8217;m just saying you &#8220;coullldddd&#8221; consider the following\u2026 I was working with a &hellip;","og_url":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2014-08-22T21:16:57+00:00","og_image":[{"width":300,"height":237,"url":"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237","type":"image\/gif"}],"author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/","url":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/","name":"IISReset for the Sneaky SharePoint Admin - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"primaryImageOfPage":{"@id":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#primaryimage"},"image":{"@id":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237&ssl=1","datePublished":"2014-08-22T21:16:57+00:00","dateModified":"2014-08-22T21:16:57+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#primaryimage","url":"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237&ssl=1","contentUrl":"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237&ssl=1","width":300,"height":237},{"@type":"BreadcrumbList","@id":"http:\/\/regroove.ca\/brainlitter\/2014\/08\/22\/iisreset-for-the-sneaky-sharepoint-admin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"IISReset for the Sneaky SharePoint Admin"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/regroove.ca\/brainlitter\/wp-content\/uploads\/sites\/2\/2014\/08\/sneakysylvester.gif?fit=300%2C237&ssl=1","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/2820"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=2820"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/2820\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media\/2822"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=2820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=2820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=2820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}