{"id":162,"date":"2016-04-29T18:22:16","date_gmt":"2016-04-29T16:22:16","guid":{"rendered":"http:\/\/rolig.dk\/?p=162"},"modified":"2016-04-29T18:22:16","modified_gmt":"2016-04-29T16:22:16","slug":"generate-webpage-with-mdt-status","status":"publish","type":"post","link":"https:\/\/rolig.dk\/?p=162","title":{"rendered":"Generate Webpage with MDT status"},"content":{"rendered":"<p>If you have set up MDT monitoring and have users that should access the monitoring data from MDT, but doesn&#8217;t have the console installed. Then you can follow this guide to create a webpage the contains the monitoring data. See <a href=\"https:\/\/rolig.dk\/?p=122\" target=\"_blank\" rel=\"noopener noreferrer\">this post<\/a> to set up MDT monitoring. Thanks to <a href=\"https:\/\/deploymentbunny.com\/2013\/12\/13\/nice-to-know-dumping-mdt-monitor-data-to-a-webpage-using-powershell-update\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mikael Nystrom blog post<\/a> for the inspiration. I have made a few changes to the script.<\/p>\n<p>1. Download <a href=\"https:\/\/onedrive.live.com\/redir?resid=447ADB7F2AA023F5!10915&amp;authkey=!ABTLDiQQfNwEfnA&amp;ithint=folder%2cps1\" target=\"_blank\" rel=\"noopener noreferrer\">GenOSDStatus.ps1<\/a> to C:\\Scripts<\/p>\n<p>2. Modify the server url line 1 and point to your MDT server. <\/p>\n<p>3. Modify \u201cCOMPANY\u201d in line 33 and line 40.<\/p>\n<p>4. Modify \u201cUSER\u201d in line 41.<\/p>\n<p>5. Save the changes.<\/p>\n<p>6. Create a service account to run the Scheduled task.<\/p>\n<p>5. Open Task Scheduler on the SCCM Server or the server that you want to run the webpage on.<\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-47.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-47.png\" width=\"400\" height=\"159\"><\/a><br \/>Create Task\u2026<\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-49.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-49.png\" width=\"462\" height=\"349\"><\/a><\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-50.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-50.png\" width=\"469\" height=\"355\"><\/a><br \/>Click \u201cNew\u201d<\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-51.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-51.png\" width=\"479\" height=\"414\"><\/a><br \/>If you want it to run more often the \u201c15 minutes\u201d, then change the \u201cRepeat task every\u201d. Then you should also change the \u201cThe update of the status runs every 15 minutes. Last update: %d-%m-%y &#8211; %T \u201c text in line 39.<\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-52.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-52.png\" width=\"490\" height=\"373\"><\/a><\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-53.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-53.png\" width=\"503\" height=\"380\"><\/a><br \/>Click \u201cNew\u201d<\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-54.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-54.png\" width=\"407\" height=\"442\"><\/a><\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-55.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-55.png\" width=\"517\" height=\"391\"><\/a><\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-56.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-56.png\" width=\"521\" height=\"394\"><\/a><\/p>\n<p>You can now browse to <a href=\"http:\/\/SERVERNAME\">Http:\/\/SERVERNAME<\/a> and see the monitoring status<\/p>\n<p><a href=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image-57.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/rolig.dk\/wp-content\/uploads\/2016\/04\/image_thumb-57.png\" width=\"544\" height=\"146\"><\/a><\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Frolig.dk%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F162&#038;text=Hey%20check%20this%20out\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/rolig.dk\/wp-content\/plugins\/social-media-feather\/synved-social\/addons\/extra-icons\/image\/social\/circle\/96x96\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-48 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Frolig.dk%2Findex.php%3Frest_route%3D%252Fwp%252Fv2%252Fposts%252F162&#038;title=Generate%20Webpage%20with%20MDT%20status\" style=\"font-size: 0px;width:48px;height:48px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"48\" height=\"48\" style=\"display: inline;width:48px;height:48px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/rolig.dk\/wp-content\/plugins\/social-media-feather\/synved-social\/addons\/extra-icons\/image\/social\/circle\/96x96\/linkedin.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>If you have set up MDT monitoring and have users that should access the monitoring data from MDT, but doesn&#8217;t have the console installed. Then you can follow this guide to create a webpage the contains the monitoring data. See this post to set up MDT monitoring. Thanks to Mikael Nystrom blog post for the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[18],"class_list":["post-162","post","type-post","status-publish","format-standard","hentry","category-sccm","tag-mdtwebstatus"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts\/162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=162"}],"version-history":[{"count":0,"href":"https:\/\/rolig.dk\/index.php?rest_route=\/wp\/v2\/posts\/162\/revisions"}],"wp:attachment":[{"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rolig.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}