{"id":635,"date":"2016-06-02T08:14:42","date_gmt":"2016-06-02T06:14:42","guid":{"rendered":"http:\/\/blogs.msdn.microsoft.com\/lavanack\/?p=635"},"modified":"2022-05-30T13:51:36","modified_gmt":"2022-05-30T11:51:36","slug":"iis-logs-maintenance-scripts-powershell","status":"publish","type":"post","link":"https:\/\/laurentvanacker.com\/index.php\/2016\/06\/02\/iis-logs-maintenance-scripts-powershell\/","title":{"rendered":"Scripts de compression et suppression des logs IIS avec PowerShell \/ Compression and removal scripts for IIS logs with PowerShell"},"content":{"rendered":"<div id=\"fr-FR\"><a href=\"#en-US\">English version<\/a><\/div>\n<p>L&rsquo;un de mes premiers articles proposait des <a title=\"Scripts de compression et suppression des logs IIS avec des outils natifs \/ Compression and removal scripts for IIS logs with built-in tools\" href=\"https:\/\/laurentvanacker.com\/index.php\/2016\/03\/08\/iis-logs-maintenance-scripts\/\" target=\"_blank\" rel=\"noopener noreferrer\">scripts de compression et suppression des logs IIS avec des outils natifs<\/a> et je terminais l&rsquo;article en vous pr\u00e9cisant qu&rsquo;une solution PowerShell arriverait bient\u00f4t. Je vous la propose donc dans cette article. Le script est disponible <a href=\"https:\/\/github.com\/lavanack\/laurentvanacker.com\/blob\/master\/Windows%20Powershell\/IIS\/IISLogManagement.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">ici<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<div id=\"en-US\"><a href=\"#fr-FR\">Version fran\u00e7aise<\/a><\/div>\n<div id=\"gt-form-c\">\n<form id=\"gt-form\" action=\"\/\" method=\"post\" name=\"text_form\">\n<div>\n<div dir=\"ltr\"><span id=\"result_box\" lang=\"en\">\u00a0<\/span><\/div>\n<div dir=\"ltr\">\n<p>One of my first articles proposed <a title=\"Scripts de compression et suppression des logs IIS avec des outils natifs \/ Compression and removal scripts for IIS logs with built-in tools\" href=\"https:\/\/laurentvanacker.com\/index.php\/2016\/03\/08\/iis-logs-maintenance-scripts\/\" target=\"_blank\" rel=\"noopener noreferrer\">Compression and removal scripts for IIS logs with built-in tools<\/a> and I finished the article stating that you PowerShell solution would come soon. I therefore propose to you in this section. The source file is available <a href=\"https:\/\/github.com\/lavanack\/laurentvanacker.com\/blob\/master\/Windows%20Powershell\/IIS\/IISLogManagement.ps1\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<\/div>\n<div dir=\"ltr\">\n<div id=\"gt-res-data\">\n<div id=\"gt-res-wrap\">\n<div id=\"gt-res-content\" class=\"almost_half_cell\">\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\"><span lang=\"en\">Laurent.<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/form>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>English version L&rsquo;un de mes premiers articles proposait des scripts de compression et suppression des logs IIS avec des outils natifs et je terminais l&rsquo;article [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":2465,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,19],"tags":[25,39],"class_list":["post-635","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iis","category-powershell","tag-iis","tag-powershell"],"_links":{"self":[{"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/posts\/635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/comments?post=635"}],"version-history":[{"count":8,"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/posts\/635\/revisions"}],"predecessor-version":[{"id":2969,"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/posts\/635\/revisions\/2969"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/media\/2465"}],"wp:attachment":[{"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/media?parent=635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/categories?post=635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laurentvanacker.com\/index.php\/wp-json\/wp\/v2\/tags?post=635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}