Blog Archives

Adding elements to a list(pshell)

Adding elements to an array using += actually creates a new array with the elements from the original array and adds the new element to it. A better practice is to create a list instead: $outItems = New-Object System.Collections.Generic.List[System.Object] Adding

Posted in array, howto, powershell

Skype for Business 2015 Prerequisites on Windows Server 2016

Here you go: Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Dir-Browsing, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Server-Media-Foundation, BITS

Posted in 2016, Oneliner, powershell, Server, Skype for business