{"id":9181,"date":"2015-11-10T15:12:03","date_gmt":"2015-11-10T15:12:03","guid":{"rendered":"https:\/\/myworldofit.net\/?p=9181"},"modified":"2015-11-10T15:12:03","modified_gmt":"2015-11-10T15:12:03","slug":"automated-change-detection-and-reporting-network-switches","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=9181","title":{"rendered":"Automated Change Detection and Reporting &#8211; Network Switches"},"content":{"rendered":"<figure id=\"attachment_9183\" aria-describedby=\"caption-attachment-9183\" style=\"width: 300px\" class=\"wp-caption alignright\"><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Folder.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9183 size-medium\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Folder-300x121.png\" alt=\"This is how your folder should look once updated\" width=\"300\" height=\"121\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Folder-300x121.png 300w, https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Folder.png 725w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-9183\" class=\"wp-caption-text\">This is how your folder should look once updated<\/figcaption><\/figure>\n<p>Following from <a href=\"https:\/\/myworldofit.net\/?p=9127\">Automated backup for your network switches with WinSCP and PowerShell<\/a>\u00a0you can take things one step further and with a little more\u00a0PowerShell its possible to get email reports on any changes between switch configs.<\/p>\n<p>This kind of setup would be useful for any sized organisation\u00a0who have a need to ensure changes are logged or want to ensure that no one has maliciously changed a configuration.<\/p>\n<figure id=\"attachment_9186\" aria-describedby=\"caption-attachment-9186\" style=\"width: 300px\" class=\"wp-caption alignright\"><a href=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Settings-of-note.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-9186\" src=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Settings-of-note-300x167.png\" alt=\"Make sure you edit lines 6-8 with your SMTP details\" width=\"300\" height=\"167\" srcset=\"https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Settings-of-note-300x167.png 300w, https:\/\/myworldofit.net\/wp-content\/uploads\/2015\/11\/Settings-of-note.png 561w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-9186\" class=\"wp-caption-text\">Make sure you edit lines 6-8 with your SMTP details<\/figcaption><\/figure>\n<p>The setup is simple, just as with the automated backup these will need to be extracted to your C:\\Network Switch Backup folder which should look something like the screenshot to the right once done.<\/p>\n<p>I&#8217;ve also included an updated .cmd file which calls the Backup Network Switches.ps1 script\u00a0and then the Compare Configs.ps1 script in turn.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/myworldofit.net\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/zip.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"https:\/\/myworldofit.net\/?dl_id=33\">Network Switch Change Log<\/a><\/strong> (1.6 KiB, 1,923 hits)<\/p>\n<p>There is plenty of description within the PowerShell file; even a little error handling as well! Be sure to edit lines 6-8 with your SMTP settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following from Automated backup for your network switches with WinSCP and PowerShell\u00a0you can take things one step further and with a little more\u00a0PowerShell its possible to get email reports on any changes between switch configs. This kind of setup would be useful for any sized organisation\u00a0who have a need to ensure changes are logged or want to ensure that no&#8230; <a class=\"read-more\" href=\"https:\/\/myworldofit.net\/?p=9181\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[21],"tags":[312,313,31,304,248,311,310,305],"series":[],"class_list":["post-9181","post","type-post","status-publish","format-standard","hentry","category-hardware","tag-change-management","tag-change-reporting","tag-email","tag-network-switch","tag-powershell","tag-report","tag-smtp","tag-switch"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/9181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9181"}],"version-history":[{"count":4,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/9181\/revisions"}],"predecessor-version":[{"id":9187,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/9181\/revisions\/9187"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9181"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=9181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}