{"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<div class=\"wp-downloadmanager\"><p><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"wp-downloadmanager-sprite\" aria-hidden=\"true\" focusable=\"false\"><symbol id=\"wp-downloadmanager-icon-file\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-archive\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M11 3h2v2h-2zM11 6h2v2h-2zM11 9h2v2h-2zM10.5 13h3v3.5h-3z\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-audio\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M10 18.5v-5l5-1.5v5\" \/><circle cx=\"9\" cy=\"18.5\" r=\"1.4\" \/><circle cx=\"14\" cy=\"17\" r=\"1.4\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-code\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M10.5 12.5 8 15.5l2.5 3M13.5 12.5 16 15.5l-2.5 3\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-document\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M9 12.5h6M9 15.5h6M9 18.5h4\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-image\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><circle cx=\"10\" cy=\"13.5\" r=\"1.1\" \/><path d=\"M8 19.5l3-3 2 2 3-3.5 2 4.5z\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-presentation\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M9 19.5v-3M12 19.5v-5.5M15 19.5v-8\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-spreadsheet\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M8 12.5h8v7H8zM8 16h8M11.5 12.5v7\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-video\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><path d=\"M10.5 13.5l5 3-5 3z\" \/><\/symbol><symbol id=\"wp-downloadmanager-icon-application\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 2.5h7l5 5v14H6z\" \/><path d=\"M13 2.5v5h5\" \/><circle cx=\"12\" cy=\"16.5\" r=\"2\" \/><path d=\"M12 12.5V14M12 19v1.5M8.5 16.5H10M14 16.5h1.5\" \/><\/symbol><\/svg><svg class=\"wp-downloadmanager-icon\" aria-hidden=\"true\" focusable=\"false\"><use href=\"#wp-downloadmanager-icon-archive\" \/><\/svg>&nbsp;&nbsp;<strong><a href=\"https:\/\/myworldofit.net\/download\/33\/\">Network Switch Change Log<\/a><\/strong> (1.6 KiB, 1,945 hits)<\/p><\/div>\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}]}}