{"id":972,"date":"2025-05-11T01:46:55","date_gmt":"2025-05-11T01:46:55","guid":{"rendered":"https:\/\/pensplace.co.uk\/?post_type=wpdmpro&#038;p=972"},"modified":"2025-05-11T01:48:20","modified_gmt":"2025-05-11T01:48:20","slug":"microsoft-icons","status":"publish","type":"wpdmpro","link":"https:\/\/pensplace.co.uk\/index.php\/download\/microsoft-icons\/","title":{"rendered":"Microsoft Icons"},"content":{"rendered":"\n<p>Microsoft Product Icon Pack, <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Meta data<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Column Name<\/strong><\/th><th><strong>Data<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Name<\/td><td>Microsoft Product<\/td><td>Name of the Pack<\/td><\/tr><tr><td>Shortcode<\/td><td>microsoft-icons<\/td><td>Shortcode of the pack used for filtering<\/td><\/tr><tr><td>Github Link<\/td><td><\/td><td>Github Repository Link<\/td><\/tr><tr><td>Total<\/td><td><\/td><td>Total Number of Icons<\/td><\/tr><tr><td>Author<\/td><td>Microsoft<\/td><td>Author of the Icon Pack<\/td><\/tr><tr><td>Author Link<\/td><td>Multiple<\/td><td>Link to the Author<\/td><\/tr><tr><td>Icon SVG<\/td><td>&lt;svg xmlns=&#8217;http:\/\/www.w3.org\/2000\/svg&#8217; viewBox=&#8217;0 0 439 439&#8217;>&lt;path fill=&#8217;#f3f3f3&#8242; d=&#8217;M0 0h439v439H0z&#8217;\/>&lt;path fill=&#8217;#F35325&#8242; d=&#8217;M17 17h194v194H17z&#8217;\/>&lt;path fill=&#8217;#81BC06&#8242; d=&#8217;M228 17h194v194H228z&#8217;\/>&lt;path fill=&#8217;#05A6F0&#8242; d=&#8217;M17 228h194v194H17z&#8217;\/>&lt;path fill=&#8217;#FFBA08&#8242; d=&#8217;M228 228h194v194H228z&#8217;\/>&lt;\/svg><\/td><td>SVG for the Pack Logo, or<\/td><\/tr><tr><td>Logo<\/td><td><\/td><td>PNG or JPG for the Pack Logo<\/td><\/tr><tr><td>Icons CSV<\/td><td><\/td><td>CSV FIle of the Icons<\/td><\/tr><tr><td>Has Categories<\/td><td>yes<\/td><td>Are categories used to group icons within a pack.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Transformations<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Name<\/strong><\/th><th><strong>Transform From<\/strong><\/th><th><strong>Transform To<\/strong><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">PowerShell script to create csv from repository.<\/h2>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-powershell\" data-line=\"\">$counter = 1\n$file = &quot;D:\\Appz\\IconManager\\Packs\\CSV\\microsoft-icons-20250511.csv&quot;\nwrite-host &quot;Saving Microsoft Product Icons&quot;\n$setName = &quot;microsoft-icons&quot;\n$path = &quot;D:\\Appz\\IconManager\\Packs\\Microsoft Product Icons\\Azure_Public_Service_Icons\\Icons\\*.svg&quot;\n$icons = get-childitem -File $path -recurse\n\nForEach($icon in $icons){\n    [string]$svg = Get-Content $icon.FullName;\n    [string]$path = $icon.DirectoryName.Split(&#039;\\&#039;)[-1]\n    $TextInfo = (Get-Culture).TextInfo\n    $string = $icon.Name.Replace(&quot;.svg&quot;,&quot;&quot;).Replace(&quot;-&quot;,&quot; &quot;)\n    # Capitalize the first letter of each word\n    $name = $TextInfo.ToTitleCase($string.ToLower())\n    $objResults = New-Object PSObject -Property @{\n        pp_id = $counter;\n        pp_name =  $name \n        pp_svg = $svg.Replace(&quot;&quot;&quot;&quot;,&quot;&#039;&quot;);\n        pp_pack = $setName\n        pp_size = &quot;96&quot;\n        pp_category = &quot;Azure&quot;\n    }\n    $counter++\n    $objResults | Export-CSV $file -Append -NoTypeInformation -force\n}\n\n# Power Dynamics\n$path = &quot;D:\\Appz\\IconManager\\Packs\\Microsoft Product Icons\\Dynamics_365_Icons_scalable\\*.svg&quot;\n$icons = get-childitem -File $path -recurse\n\nForEach($icon in $icons){\n    [string]$svg = Get-Content $icon.FullName;\n    [string]$path = $icon.DirectoryName.Split(&#039;\\&#039;)[-1]\n    $TextInfo = (Get-Culture).TextInfo\n    $string = $icon.Name.Replace(&quot;.svg&quot;,&quot;&quot;).Replace(&quot;-&quot;,&quot; &quot;)\n    # Capitalize the first letter of each word\n    $name = $TextInfo.ToTitleCase($string.ToLower())\n    $objResults = New-Object PSObject -Property @{\n        pp_id = $counter;\n        pp_name =  $name.Replace(&quot;Dynamics 365 &quot;,&quot;&quot;)\n        pp_svg = $svg.Replace(&quot;&quot;&quot;&quot;,&quot;&#039;&quot;);\n        pp_pack = $setName\n        pp_size = &quot;96&quot;\n        pp_category = &quot;Dynamics 365&quot;\n    }\n    $counter++\n    $objResults | Export-CSV $file -Append -NoTypeInformation -force\n}\n\n# Entra\n$path = &quot;D:\\Appz\\IconManager\\Packs\\Microsoft Product Icons\\Microsoft Entra architecture icons - Oct 2023\\*.svg&quot;\n$icons = get-childitem -File $path -recurse\n\nForEach($icon in $icons){\n    [string]$svg = Get-Content $icon.FullName;\n    [string]$path = $icon.DirectoryName.Split(&#039;\\&#039;)[-1]\n    $TextInfo = (Get-Culture).TextInfo\n    $string = $icon.Name.Replace(&quot;.svg&quot;,&quot;&quot;).Replace(&quot;-&quot;,&quot; &quot;)\n    # Capitalize the first letter of each word\n    $name = $TextInfo.ToTitleCase($string.ToLower())\n    $objResults = New-Object PSObject -Property @{\n        pp_id = $counter;\n        pp_name =  $name.Replace(&quot;Dynamics 365 &quot;,&quot;&quot;)\n        pp_svg = $svg.Replace(&quot;&quot;&quot;&quot;,&quot;&#039;&quot;);\n        pp_pack = $setName\n        pp_size = &quot;96&quot;\n        pp_category = &quot;Entra&quot;\n    }\n    $counter++\n    $objResults | Export-CSV $file -Append -NoTypeInformation -force\n}\n\n# Entra\n$path = &quot;D:\\Appz\\IconManager\\Packs\\Microsoft Product Icons\\Power_Platform_scalable\\*.svg&quot;\n$icons = get-childitem -File $path -recurse\n\nForEach($icon in $icons){\n    [string]$svg = Get-Content $icon.FullName;\n    [string]$path = $icon.DirectoryName.Split(&#039;\\&#039;)[-1]\n    $TextInfo = (Get-Culture).TextInfo\n    $string = $icon.Name.Replace(&quot;.svg&quot;,&quot;&quot;).Replace(&quot;-&quot;,&quot; &quot;)\n    # Capitalize the first letter of each word\n    $name = $TextInfo.ToTitleCase($string.ToLower())\n    $objResults = New-Object PSObject -Property @{\n        pp_id = $counter;\n        pp_name =  $name.Replace(&quot;Dynamics 365 &quot;,&quot;&quot;)\n        pp_svg = $svg.Replace(&quot;&quot;&quot;&quot;,&quot;&#039;&quot;);\n        pp_pack = $setName\n        pp_size = &quot;96&quot;\n        pp_category = &quot;Power Platform&quot;\n    }\n    $counter++\n    $objResults | Export-CSV $file -Append -NoTypeInformation -force\n}\n# O365\n$path = &quot;D:\\Appz\\IconManager\\Packs\\Microsoft Product Icons\\Office365\\*.svg&quot;\n$icons = get-childitem -File $path -recurse\n\nForEach($icon in $icons){\n    [string]$svg = Get-Content $icon.FullName;\n    [string]$path = $icon.DirectoryName.Split(&#039;\\&#039;)[-2]\n    $TextInfo = (Get-Culture).TextInfo\n    $string = $icon.Name.Replace(&quot;.svg&quot;,&quot;&quot;).Replace(&quot;-&quot;,&quot; &quot;)\n    # Capitalize the first letter of each word\n    $name = $TextInfo.ToTitleCase($string.ToLower())\n    $objResults = New-Object PSObject -Property @{\n        pp_id = $counter;\n        pp_name =  $name.Replace(&quot;Dynamics 365 &quot;,&quot;&quot;)\n        pp_svg = $svg.Replace(&quot;&quot;&quot;&quot;,&quot;&#039;&quot;);\n        pp_pack = $setName\n        pp_size = &quot;48&quot;\n        pp_category = $path\n    }\n    $counter++\n    $objResults | Export-CSV $file -Append -NoTypeInformation -force\n}\nwrite-host &quot;Finished&quot;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Product Icon Pack, Meta data Column Name Data Description Name Microsoft Product Name of the Pack Shortcode&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":""},"wpdmcategory":[47],"class_list":["post-972","wpdmpro","type-wpdmpro","status-publish","hentry","wpdmcategory-icon-packs"],"_links":{"self":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmpro\/972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmpro"}],"about":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/types\/wpdmpro"}],"author":[{"embeddable":true,"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=972"}],"wp:attachment":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=972"}],"wp:term":[{"taxonomy":"wpdmcategory","embeddable":true,"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmcategory?post=972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}