Archive

Posts Tagged ‘changelog’

Changelog: Install-OfficeWebAppsLanguagePacks.ps1

March 7th, 2015 No comments

This is the changelog page for Script: Install-OfficeWebAppsLanguagePacks.ps1 – Easier Installation of Selected Language Packs. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.0 – 03-07-2015

  1. Initial version
Categories: PowerShell Tags:

Changelog: New-SignedScript

June 10th, 2014 No comments

This is the changelog page for New-SignedScript. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.3 – 09-18-2016

  1. Now includes a selection box when more than one valid code signing certificate is found.

v1.1 – 06-10-2014

  1. Better handling when there is more than one code signing cert. Script now finds the first valid code signing cert and uses that.
  2. Better validation that the script is successfully signed

v1.0 – 09-20-2012

  1. Initial version
Categories: PowerShell Tags: , ,

Changelog: Set-Cs2013Features.ps1

February 8th, 2013 12 comments

This is the changelog page for Set-Cs2013Features.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v3.8 – 03-25-2015

Added features/options
————————-

None
Updated features/options & fixes
————————-

  1. option 5 (OWAS) – the English language pack installation is now FINALLY silent. This removes the need to manually click through the installation routine. This also introduces a known issue where the language pack installation will fail if -TargetFolder contains a space. I’m working to resolve that.
  2. option 5 (OWAS) – changed the GUID that is checked for installation of the English language pack. Seems the OWAS install created the previous one, which meant the detection for the language pack could give false results.
  3. Additional handling around the -tail function to avoid visible errors
  4. option 2 (Edge) – minor tweak so that the Remote Desktop firewall policy for the Public profile is NOT enabled if the edge server is domain joined.
  5. If -DownloadAll or -DownloadOnly options are specified, the server version check, core check, and reboot check are all skipped.
  6. option 30 (WireShark) – updated to 1.12.4, including WireShark and the two files I created to install and configure WireShark. Was also able to shave more than 27% of the processing time off the configuration task.
  7. option 50-1 (Lync Help File) – fixed issue where extra errors would occur if the file is not present when the install routine is called.
  8. Fixed an issue with selecting “abort” during failed downloads and the log file session not closing when using -tail
  9. Streamlined some of the code for calling the WireShark config program so that it’s not version specific

 

v3.7 – 02-27-2015

Added features/options
————————-

  1. 80-7 Event Zero connector download added

Updated features/options & fixes
————————-

  1. Started adapting the script to support installing Skype for Business Server
  2. option 3 (Front end) fixed the issue where Telnet-Client would get installed on front ends, even if you declined it.
  3. option 21 (ARR) while this option was introduced in v3.6, I neglected to add it to the menu. That’s now done.
  4. fixed an issue where some downloads would throw an error & the script would exit if IE had NEVER be opened by the user. This is because a registry key that contains some proxy info isn’t created till IE is opened the first time. The script has always looked for that key to see if it needed to deal with a proxy. So the solution is that if the key doesn’t exist, the script will create it, and set it to zero (the same default setting IE uses if there is no proxy). If a GPO or other policy comes by and sets it later, that’s still fine. We’re just creating it a little sooner.
  5. New-FileDownload function updated to support retries when non-default destination folders and/or filenames are defined.
  6. Removed the MSMQ features for Director prereqs. I swear I removed this before, but they’re not required and not listed in the official doc for prereqs at https://technet.microsoft.com/en-us/library/gg398686.aspx
  7. Fixed an issue where some users would get an error about $PowerShellTailId when exiting the script. This was a trivial error that didn’t affect functionality of the script, and could safely be ignored. But it’s dealt with now.
  8. Little bit of code cleanup per best practices (a constantly evolving task)
  9. option 18 – Message Analyzer updated to v1.2 (build 4.0.7285.0)
  10. option 2 – edge server – minor change where DNS is not removed from the internal NIC when the edge server is domain joined
  11. Minor tweak to Set-NICConfig function to handle more complex queries
  12. Minor tweak to -tail option to deal with multiple PowerShell windows open
  13. Option 5 (OWAS) now cycles the WACSM service after installing the language pack

v3.6 – 02-12-2015

Added features/options
————————-

  1. option 21 – ARR (“Pirate Proxy”) prerequisites. This installs the Windows features, and downloads the Web installer. it also verifies the server is not domain joined, then goes through the process of setting the primary DNS suffix (same as option 50-13). Also configures NICs to remove DNS and gateway from the internal NIC, remove dynamic registration in external NIC, and prompt to disable both lmhosts and NetBIOS over TCP/IP.
  2. option 50-13 – Configure primary DNS suffix. This prompts for a domain name, assigns it as the primary DNS suffix, then reboots. This configuration is required for edge and ARR (reverse proxy) servers.

Updated features/options & fixes
————————-

  1. Event log option in Write-Log is finally fixed, and now supports writing to the Lync Server and OWAS event logs as well.
  2. Suppression of some warnings when Windows features are installed and Windows Update is disabled or not configured
  3. option 5 – Now checks if server is part of an OWAS farm before installing updates & throws an error if it is
  4. fixed typos in Test-InvalidCerts when writing warnings. Thanks to Manfred for the heads up.
  5. option 90-3 – Now checks if the Lync module is installed before attempting to cycle the Lync services. Thanks to Manfred for the heads up.
  6. -DownloadAll now also includes the DigiCert certificate utility. Thanks to @chrislerhatx for the idea.
  7. option 3 (edge): now checks for domain membership and throw a warning if they are domain joined, as that’s not recommended.
  8. option 3 (edge): If not domain joined, the server is checked for a primary DNS suffix. If it’s not configured, the script will prompt for a domain name, adds it, then prompts for a reboot. Essentially the same as option 50-13.
  9. option 3 (edge): now automatically runs the NIC config to remove DNS and gateway from the internal NIC, remove dynamic registration on the external NIC, and prompt to disable both lmhosts and NetBIOS over TCP/IP.
  10. cleaned up Install-TelnetClient function
  11. tweaked New-ProgramInstallation to not require install switches. This was necessary as the WireShark install and config programs don’t have switches
  12. tweaked New-ProgramInstallation to finally squash the problem with checking for processes and throwing an error that couldn’t easily be suppressed. This was most evident when building OWAS servers, as the .Net Framework 4.5.2 would always report it failed, when, in fact, it succeeded.
  13. -tail now gracefully exits when the script exits (in non-reboot scenarios)
  14. updated SDN downloads to v2.11 (9235.1)
  15. Option 5 (OWAS) updated to include February update 2956101
  16. option 30 (WireShark) now automatically installs and configures for common Lync settings, including:
    1. adds Source Port (resolved) column
    2. adds Destination Port (resolved) column
    3. adds DSCP column
    4. Configures RTP protocol “Try to decode RTP outside of conversations”
    5. Configures SIP protocol for ports 5060-5068 (instead of WireShark’s default of 5060)
    6. Sets the time format to human readable format

v3.5 – 02-02-2015

Added features/options
None

Updated features/options & fixes

  1. option 50-12 (Edge servernetworkconfig)
    1. now removes the gateway on the internal NIC
    2. now removes the configured DNS servers on the internal NIC
    3. now removes the dynamic DNS registration for the external NIC
    4. now prompts & if accepted, disables lmhosts lookup on all NICs
    5. now prompts & if accepted, disables NetBIOS over TCP on all NICs
  2. option 5 (OWAS server)
    1. updated to include January 2015 Cumulative Update (from SP1)
    2. Added Web-http-logging to installed Windows components based on recent MS documentation change
  3. comment help on many functions updated
  4. Revamped code used for mounting/dismounting disk images. It’s now much cleaner code-wise, cleaner console output, and about 10 lines less code.
  5. -Win2012Source now supports an unmounted .iso file – thanks to Lasse Nordvik Wedø (@lawedo) for the suggestion
  6. -Win2012Source now survives reboots by the script

v3.4 – 01-26-2015

Added options and features

  1. Added -Tail option which shows a tail of the log file as it’s written (think *nix). It automatically restarts if the script reboots the server, too. Really only beneficial to me, but if you use it and find it useful, let me know. Thanks to mjolinor on the Technet forums for help with getting the syntax right.
  2. Option 50-11 – Opens the hosts file in Notepad for editing. This is convenient on edge servers.
  3. Option 60-15 – Creates Notepad Desktop Shortcut for Edge servers to open the Hosts file (Thanks to Hany for the idea)
  4. Option 50-12 – Configure edge static routing – adds the static routes for all private address ranges to use the internal NIC. The user is prompted with a list of NICs discovered, and asked to pick which will be used for the internal connection. Once picked, the script will determine if there is already a gateway defined. If so, it will use that IP address to create the static routes. If there is no default gateway assigned, the user is prompted to enter the gateway that the static routes should use. The user still must manually remove any hard coded gateways on that NIC.

Updated options and fixes

  1. Option 50-8 (Upgrade to PowerShell 4.0) now only downloads the files if it needs them. Dunno how I overlooked this previously.
  2. Option 50-2 Changed the New-PSUpdateHelpScheduledTask function. It now also cleans up the temp files created by the Update-Help command. Otherwise, over time, you’ll end up with significant temp folder bloat (about 50MB every time it runs). Thanks to @UCGarry for the heads up. If you’ve used a previous version of the script to create the scheduled task, just run this version. It will delete the existing scheduled task and create a new one.
  3. Tweaked New-Shortcut function to account for shortcuts that need arguments. Also cleaned up some of the logging so that if the shortcut already exists, it’s more obvious.
  4. Updated Wireshark download to 1.12.3 (from 1.12.2)
  5. Updated SQL Server 2012 Management Studio Express to SP2 (from SP1)
  6. -DownloadOnly bypasses RestartRequired check
  7. Reboot option (98) now correctly sets running status when rebooting
  8. Message Analyzer upgraded to v1.2 (from 1.1)
  9. Change reboot prompt when disabling UAC to popup style instead of console prompt to match other prompts in the script
  10. Option 15 – Windows Update – now exits the script to ensure the script closes gracefully. This is trivial since most Windows Updates would require a reboot anyways, which would stop the script.

v3.3 – 01-07-2015

  1. Abort/Retry/Ignore option for downloads that fail. Abort stops the script (gracefully), retry will retry the download, ignore will ignore that file and continue running the rest of the script.
  2. Combined all the code that gets executed when the script exits, into a function. This allowed me to eliminate probably 100 lines of code, as well as getting more predictable output in the log file.
  3. code cleanup/standardizing of some function formatting
  4. URL decoding of downloaded file names. Some of the files, especially documents, are encoded URLs at some sites like Microsoft. Decoding them makes the file names more readable.
  5. PowerShell version is now logged when the script starts.
  6. Fixed logging anomaly where elapsed time wouldn’t show leading zeros – thanks to @pcgeek86 for some code examples
  7. download menu option 6 – Lync Online Admin components – includes the Lync Online PowerShell module and the Lync Online Sign-in Assistant
  8. Tweaked logging of downloaded files to account for those without version numbers
  9. fixed display anomaly for option 2 (edge server) where a prereq warning could be displayed in both the console and as a pop-up, both at the same time.
  10. Changed the script to utilize “#Requires -RunAsAdministrator” instead of a function that tries to restart the script in an elevated session. The latter was just a little two touchy, especially if UAC is enabled. The script will now error if it’s started from a non-elevated session.
  11. Had to back out some of the [IO.FileInfo[]] changes I made in 3.2 due to reported errors. Investigating further when time allows.
  12. -TargetFolder can now be used with -DownloadAll option
  13. File versions are logged of files that already exist if the script is checking to see if it needs to download the file.
  14. Fixed the -DownloadAll option to always download the chm file and the latest CU, regardless if they already exist locally
  15. Using a UNC (i.e. “\\server\share”) path for -TargetFolder is now supported for at least the -DownloadOnly option as well as the Front End and Office Web Apps server options (options 3 and 5, respectively). I’m still validating that it will work for other options. Thanks to @tjschleining and @energizedtech for help with the regex for validation. NOTE: I have not tested with hidden shares in a UNC path, such as “\\server\share$” or administrative shares, such as “\\server\c$”.
  16. Using a UNC path for -Win2012Source is now supported. Just like above, I haven’t tested with hidden/admin shares.
  17. -DownloadAll option now bypasses the Server Core test when the script starts
  18. Misc server config submenu created (option 50), and a bunch of the options were moved there & renumbered. This was necessary as there were so many options on the main menu that the menu would scroll partly off the screen.
  19. Added Server Config option 7 – Disable Server Manager on login (needs to be added to menu)
  20. Added Server Config option 8 – Upgrade to PowerShell v4 – this will work on 2012 servers (not 2012 R2) that have the original PowerShell 3.0 installed. This option requires a reboot at the end, and I **STRONGLY** recommend rebooting before attempting any other options.
  21. Fixed minor display anomaly due to a typo when the reboot prompt appeared
  22. Fixed a bug created by two functions that create/change/delete script related registry info. One would negatively affect the other and cause unintended results. This was evident in options that would reboot the server & auto start the script again. The script would throw an error when restarting.
  23. Misc Server Config > option 6 “Set fabric logging to circular” added. See Tom’s great article “Check your Lync server windows fabric log size with PowerShell
  24. Disable Server Manager on logon option added in Misc Server Config > option 7
  25. Upgrade to PowerShell v4.0 option added in Misc Server Config > option 8. This is for Windows Server 2012 boxes that still have PowerShell v3.0 on them. Upgrading PowerShell both before and after Lync Server is installed is supported by Microsoft.

v3.2 – 12-22-2014

  1. Added option 34 (Lync Room System Admin Portal prerequisites) to the menu. It actually worked fine, the option just wasn’t visible in the menu.
  2. -DownloadOnly option. If specified when calling the script, will ONLY download necessary files for the option you choose. For example – when using that option, and choosing option 3 (Front End), the script will only download the Silverlight file, SQL Express, and SQL Management. Studio. No other configuration or changes are made to the server. This option is in case your Lync servers do not have Internet access. You can run the script on a machine that DOES have Internet access, download the files, then copy them to c:\_install on the desired server, and use the script normally.
  3. -DownloadAll option. Similar to -DownloadOnly, but this will download every file that the script can normally download. This includes all files for all options. Keep in mind that a full download set is in the neighborhood of 3.8GB of files.
  4. Removed download of Lync-Skype Connectivity Guide, as it looks like this is now just available as web pages, and no longer as a Word document download.
  5. Updated WireShark to 1.12.2. Still working on the full automated install and configuration of WireShark. Pretty sure it will work fine, but really need to test some more.
  6. Added Lync Online PowerShell module for SCOM Watcher Node (option 16 and download option 2) – thanks to Andrew Price for the heads up
  7. renumbered sub-menu options so that they all start at 1
  8. created security sub-menu (option 90), and moved option 29 (disable SSL 3.0) to it (now option 2)
  9. added option 1 in security sub-menu to disable SSL 2.0
  10. SSL 2.0 and 3.0 settings (enabled/disabled) are now logged when the script starts
  11. swapped some longer IF statements with some regex
  12. change in code due to OWAS image file no longer being a free download from Microsoft. If you need to run option 5, manually download the OWAS image file from your volume licensing site and place it in c:\_install. Option 5 will then work as intended. See http://www.wictorwilen.se/office-web-apps-server-will-only-be-available-for-volume-license-customers-shortly+SharePoint+MCA%2C+MCM+and+MVP%29 for more info.
  13. code cleanup as a result of DownloadOnly/DownloadAll options allows for easier management of the 40+ URLs the script uses for downloading files. This also prompted me to optimize the script a little more to handle URLs in the variables and how those files get installed. This means less work for me when a URL changes, which happens often with things like Silverlight, WireShark, etc.
  14. adjusted the warning verbiage when configuring Skype federation (option 28)
  15. All places where the server reboots are now forced – regardless of whether someone else is logged onto the server.
  16. Download option 1 (latest cumulative update) will now ALWAYS download the update, even if a local file already exists. This is to ensure that the latest CU is downloaded if an older version is already in the folder. This is the same behavior I use for the Lync documentation help file. I may try to do some version detection in the future, but this will have to suffice for now.
  17. OWAS SP1 notice (option 5) about size will now only appear if the file needs to be downloaded
  18. Dismounting OWAS ISO doesn’t close Windows Explorer window in 2012 R2 (like it does in Win 2012) – write-log added entry to display that it can be manually closed
  19. version info is now logged for files that are downloaded. I envision something around logging CU number in the future. We’ll see.
  20. changed the code that looks at the age of the script file to warn about updates to look at last modified vs. creation date. This likely won’t affect anyone other than me. But either way, should be better.
  21. Switched some [string] variables to [IO.FileInfo[]] just for best practices.
  22. A bunch of code added to “lock” the server so that multiple instances of the script cannot be run at the same time. Normally, I can’t imagine this ever taking place, but had an incident at a customer site lately that was literally a perfect storm where it happened. When the script runs now, it sets a registry key to one value, and when it stops, it sets the key to a different value. The script checks the value of that key when it first starts to ensure it’s not already running. If it is, it throws a warning and exits.
  23. Tweaked the status output during file transfers to be a little more descriptive, including listing filename. I’m still tweaking the code to display file size.

v3.1 – 10-24-2014

  1. option 84 (Lync 2013 Rollout and Adoption Success Kit (RASK) User Education and Training Resources)
    1. added Lync 2013 Rollout and Adoption Success Kit (RASK) Core Planning Resources
    2. added Lync 2013 Rollout and Adoption Success Kit (RASK) Resources
  2. fixed menu display anomaly for option 85
  3. option 34 (LRS Admin portal prereqs) added. As much as people are having issues getting it to work right, this option will at least get the prereqs installed.
  4. option 29 (Disable SSL 3) added. This is to lower your vulnerability footprint for POODLE attacks. I’m working on adding another whole menu (similar to the downloads menu) of just security options. Look for that in a future build. For more information, see Richard Brynteson’s posts POODLE and Lync Server 2013 and POODLE Testing Results for Lync
  5. Option 5 (OWAS) updated to do a date check due to the upcoming change for OWAS downloads. If the script is run after 11/23/2014, it will not attempt to download the image because the image won’t be available on the Microsoft Download Center any longer. See http://blogs.technet.com/b/office_sustained_engineering/archive/2014/10/22/web-apps-server-removal-from-download-center.aspx. The work around will be to manually download the image via your Volume Licensing portal and place it in the $TargetFolder (usually c:\_install), where the script will see it and continue as normal.
  6. fixed a bug and optimized the code around .Net versioning in option 5 (OWAS)
  7. fixed a bug in option 5 (OWAS) where you’d get prompted to install the English language pack even though it was already installed.

v3.0 – 10-06-2014

  1. Rewrote the New-ProgramInstallation function to reuse code that was otherwise appearing multiple times throughout the script. This resulted in several dozen lines of code that was no longer needed being removed. It also allows for more accurate logging, including finally fixing an issue where the script would report something was installed even though the installation hadn’t yet finished.
  2. Rewrote the New-Tile function. The original method was fine for just a few options, but it got out of control and needed to be streamlined. Result is several dozen fewer lines of code with no loss in functionality or performance.
  3. Option 54 Added desktop shortcut for Microsoft Message Analyzer. Thanks to John for requesting it.
  4. Option 71 Added taskbar shortcut for Microsoft Message Analyzer. Thanks to John for requesting it.
  5. fixed prompt for FW exceptions to use New-Popup function instead of separate code
  6. added logging for Power Plan prompt
  7. Option 72 added to REMOVE the Windows Store app from the taskbar (2012 R2)
  8. Script now checks to see if UAC is enabled when choosing option 5 (OWAS). If it’s enabled, you’re prompted to disable it (which requires a reboot). The script has issues attempting to mount the ISO files for OWAS when UAC is enabled. Added a bunch of error handling for option 5 as well. Can’t believe I didn’t do that previously.
  9. updated option 85 (SDN) to 2.1. See http://www.microsoft.com/en-us/download/details.aspx?id=44274 for more info
  10. Added the Lync wireshark plugin to option 30 (Wireshark). It’s really only recommended on edge servers. See http://www.mylynclab.com/2014/05/microsoft-lync-wireshark-plugin.html for more info
  11. Option 99 (exit script) now checks if a reboot is required, and prompts if it is

v2.9 – 09-22-2014

  1. added some minor error handling code
  2. Changed logging for SQL instances to show if it exists before it says its installing
  3. fixed a bug where .Net Framework 4.52 could still be installing when a reboot prompt is displayed, potentially causing the machine to reboot mid-install
  4. Script now flags for ANY Lync server installation where the server is set for auto updates. Really, folks – DON’T AUTO UPDATE!
  5. Updated SilverLight download to v5.1.30514.00
  6. Updated Wireshark download to v1.12.10
  7. Updated Microsoft Message Analyzer to v1.1 (see http://blogs.technet.com/b/messageanalyzer/archive/2014/09/15/announcing-the-message-analyzer-1-1-release.aspx)
  8. Added Option 16 – SCOM Watcher Node prerequisites
  9. Updated Option 25 – now also sets OWAS service to restart (if run on an OWAS server, of course)
  10. Added Option 85 – Lync Server SDN API 2.0 [Download only] added, and includes the API installer, the management utility, the docs, and the .chm file.
  11. Script now checks for non-root certificates in the root certificate store & warns if any are found.
  12. Fixed an issue with option 14 (scheduled task) where an error would display if you chose that option and the scheduled task already existed.

v2.8 – 08-13-2014

  1. Created Desktop Shortcuts Menu (option 40) and moved all of the desktop shortcut options to it.
  2. Created Taskbar Shortcuts Menu (option 60) and moved all of the taskbar shortcut options to it.
  3. Created Download Menu (option 80) and moved all of the [DOWNLOAD ONLY] options to it.
  4. Added the following options when calling the script:
    1. IncludeSSMS (automatically installs SQL Server Management Studio for those options that normally prompt for it)
    2. IncludeTelnet (automatically installs telnet client for those options that normally prompt for it)
    3. IncludeFW (automatically adds firewalls exceptions for those options that normally prompt for it)
    4. IncludeStandard (automatically installs the extra SQL instance needed on standard edition front ends)
    5. IncludeHighPower (automatically configures the high power system power setting for those options that normally prompt for it)
  5. Changed some of the logging so less is shown on the console, especially around file downloads. That info is still logged to the log file, though.
  6. Fixed a quirk where an error would get logged during the installation of SQL Server Management Studio if the TargetFolder parameter was specified, and it’s value was on another drive. The installation was, however, fine. Thanks to Simon for reporting that.
  7. Replaced original netsh code for creating firewall rules with native New-NetFirewallRule cmdlet
  8. The usual code optimization, logging tweaks, etc.
  9. Updated SQL Express 2012 from SP1 to SP2 for the roles that install SQL instances (Front End, Edge, Persistent Chat, Director, etc.)
  10. Fixed a problem with option 20 (SQL Mgmt Studio) due to a typo. Thanks to Japheth for pointing it out.
  11. Added .Net Framework 4.5.2 when installing OWAS (option 5) on Server 2012 R2 to deal with the issue mentioned here: http://blogs.technet.com/b/office_web_apps_server_2013_support_blog/archive/2014/07/24/office-web-apps-2013-on-windows-server-2012-r2.aspx
  12. Added some logging around AV solution installed
  13. Updated Wireshark to 1.12.0

v2.7 – 06-26-2014

  1. Implemented a fix for a super minor display anomaly when the script starts to reboot, but the next line is executed before the script stops. It didn’t hurt anything the way it was, but it bugged my OCD.
  2. Fixed logging error during OWAS install (option 5)
  3. Fixed several issues that occur when attempting to disable auto updates during OWAS install (option 5)
  4. Tweaked prompt when a file download fails
  5. Added code to automatically restart script with proper option after a reboot during prereq installs. This still requires you to manually login. But once you do, the script will kick off again.
  6. Added a check around the firewall rules to verify that the service is running first. Thanks to Simon for that.
  7. Upgraded Wireshark to 1.10.8 – looking for an easier way to find the latest version dynamically. I have a method that works now (not yet part of the script), but isn’t bullet proof yet.
  8. Upgraded Silverlight to 5.1.30214.0 – looking for an easier way to find the latest version dynamically. Thanks to Simon who helped track down an issue with installations that already had a newer version (albeit 32 bit) installed.
  9. TONS of updates to logging, including more info, updated info, and corrected info.
  10. Added option (option 38) to create the Lync file share on the local computer.

v2.6 – 06-10-2014

  1. Tweaked code that creates desktop shortcuts to be a little more flexible.
  2. Removed the code that copied the tmx file for the debugging tools as the January 2014 update apparently fixed that issue. Thanks to Adam Ball for the info.
  3. Updated Wireshark code for version 1.10.7
  4. Changed link for custom portquery config file to a file on my blog site since OneDrive URLs are difficult to deal with programmatically. Thanks to flinchböt for allowing me to do that.
  5. Fixed an issue with the code signing detection/logging
  6. Various other tweaks that no one other than myself will ever notice.

v2.5 – 05-24-2014

  1. fixed two typos in the OWAS language pack prompt. Thanks to Mitch for pointing it out.
  2. option 5 – tweaked the prompt for disabling automatic windows updates
  3. option 33 – set power plan to “High Performance” added. Also added as a prompted option for options 1-6
  4. recommended windows updates config is now logged. I may throw an alert in the future if this is false

v2.4 – 04-29-2014

  1. Added some more logging
  2. Added OWAS SP1 (the re-released version)
  3. fixed spelling error
  4. added .Net 3.5 as a prereq for SQL Server Management Studio. Normally not an issue in full server installs, but in some management server scenarios, it’s not always installed beforehand. This should resolve that.
  5. tweaked menu code to not display menu after using option 98
  6. Added prompt to install OWAS English language pack, although it does require that the user manually accept the EULA.
  7. added reboot prompt when showing $RebootWarning
  8. prompt to disable Automatic Updates for OWAS (See “Planning updates for Office Web Apps Server – http://technet.microsoft.com/en-us/library/jj219435.aspx)
  9. firewall status is now logged – I’ll be adding an alert if the FW is disabled in a future version
  10. fixed the wait loop for Wireshark. It now correctly waits until both Wireshark and WinPcap installers are done

v2.3 – 02-08-2014

  1. replaced write-host with write-output where possible. See http://www.jsnover.com/blog/2013/12/07/write-host-considered-harmful/
  2. cleaned up param blocks per Jeff Hicks
  3. option 12: tweaked to check for .net 4.5
  4. added logging on some options
  5. lots of minor code cleanup/optimization
  6. comment help optimized per suggestions at http://www.lazywinadmin.com/2014/01/powershell-tip-adding-help-in-param.html
  7. swaped in updated New-PsUpdateHelpScheduledTask function
  8. swaped in updated Set-ModuleStatus function
  9. swaped in updated Write-Log function
  10. swaped in updated Test-ScriptUpdates function

v2.2 – 01-20-2014

  1. added preliminary code to install Sql Native Client when prompted. It’s required for topology builder if you’re going to merge OCS topologies. Most common scenario is management servers that don’t have a rtclocal instance. Look for an option soon.
  2. added preliminary PowerShell firewall rules option & firewall notification option. Look for an option soon.
  3. option 30: updated link to new version (10.5) of WireShark. Also used an alternate path that should continue to work as new versions are released. Thanks to Mitch.
  4. added prompt to exit script if a file download fails. Basically just better error handling.
  5. Cleanup around the InitialMenuOption feature to ensure we don’t see some weirdness.
  6. option 31 added: Enable Photo URL (See http://www.lynclog.com/2013/11/lync-2013-client-and-and-pictures-from.html for description)
  7. option 32 added: fix font for Control Panel (See https://www.ucunleashed.com/2448)
  8. cleanup of the Test-IsServerCore function

v2.1 – 12-17-2013

  1. verify server is not core. Thanks to John.
  2. better error detection when Add-WindowsFeature fails
  3. strip trailing slash on $Win2012Source
  4. option 1: Added Windows-Identity-Foundation to the Windows Features required. Thanks to Mitch.
  5. option 3: fixed missing log message indent value when Win2012Source isn’t valid. Thanks to Patrick @ MCS.

v2.0 – 11-26-2013

  1. option 3: Added prompt and prereqs for Lync Room System Admin Portal
  2. option 3: Added code to create firewall exceptions for Get-CsConnections.ps1 when installing RTCLocal SQL instance.
  3. option 5: changes to features installed for Office Web Apps servers based on feedback
  4. option 5: added WAC update from KB2837634
  5. option 18: changed to the new Microsoft Message Analyzer (from NetMon 3.4)
  6. option 30: Wireshark – downloads file and starts installation. Automated installation isn’t really possible.
  7. Added logging of more information
  8. Removed some aliases to conform with best practices
  9. option 17: updated link to download file for portqry XML file. The author of the file uses SkyDrive for the download, so the URL changes every time he posts an update.

v1.9 – 10-28-2013

  1. Added support for Windows Server 2012 R2
  2. Fixed Test-IsProxyEnabled that could throw an error if a proxy has NEVER been configured on a server
  3. Test-IsSigned comment help updated
  4. Test-ScriptUpdates comment help updated
  5. Corrected a typo
  6. Reworded some error messages and warnings

v1.8 – 08-01-2013

  1. Tweaked regex for $SQLPath to support paths with spaces (thanks to David Wyatt)
  2. Removed some instances of text being sent to the console during file downloads to make things a little cleaner. Info is still sent to the log file, though. Write-Log tweaked to verify event log actually exists if writing to it
  3. Added code to restart script in an elevated session if the current session isn’t elevated (previously the script just throw an error and exited)
  4. Option 5 updated to include Net-Http-Activation per http://michaelvh.wordpress.com/2013/07/29/the-curious-remedy-for-the-not-so-curious-health-problems-of-the-office-web-apps-server/
  5. Option 19 fixed typo that caused an error
  6. Option 24 updated to verify Media Foundation feature is installed
  7. Option 28 Added download of Lync-Skype Connectivity Provisioning Guide
  8. Option 30 started – configure push notifications

v1.7 – 05-31-2013

  1. option added (option 25) for Set recovery of Lync services to restart – this comes from my post at https://www.ucunleashed.com/662
  2. option added (option 26) Lync Server 2013 Watcher Node [DOWNLOAD ONLY]
  3. option added (option 27) Lync Server 2013 Management Pack & Documentation [DOWNLOAD ONLY]
  4. option added (option 28) Enable Skype Federation
  5. option added (option 97) to visit script’s website
  6. intro code for script update check – right now if the script’s file creationdate is more than 90 days old, you’ll get a prompt asking if you want to check for an update.
  7. auto detection of first CD-ROM drive for default $Win2012Source (previously default to d:)
  8. updated Test-IsRebootRequired function to check more registry keys to cover Windows Update reboot required as well; added code to see if SCCM 2012 client requires a reboot
  9. various logging bug fixes as well as logging more info to the file – eventually this will result in less being sent to the console screen.
  10. switched here-strings to double quotes to work around a random formatting issue in UltraEdit, and to streamline using variables in them
  11. initial code for proxy detection and credentials (per @TomArbuthnot) – it hasn’t been extensively tested yet.
  12. better error detection/suppression/logging in New-FileDownload and New-ProgramInstallation functions
  13. fixed the documentation help download (option 13) code to always download the file – even if it already exists locally (to account for updated file)
  14. additional work on the sysinternals option (not yet availabled). Access to \\live.sysinternals.com seems to be pretty laggy. Trying to work around that.
  15. added some validation around the $TargetFolder parameter. I really hate dealing with regex, but do appreciate what they can do.
  16. some optimization of the New-SQLInstance and New-SQLMgmtStudio functions
  17. fixed some weird issue with the portqryui custom xml file download (option 17). I think it’s SkyDrive related. Might have to come up with an alternative method.
  18. fixed an issue with the Write-Log function which caused split log files if the script changed directories. Now set the logs to be in $TargetFolder\logs
  19. optimized Test-IsAdmin function – it’s now 1/2 the lines of code
  20. minor tweaks to Add-PinnedAppToTaskbar and Add-PinnedAppToStartMenu functions to utilize ParameterSetName
  21. minor tweaks to New-FileDownload function to utilize Split-Path over a longer, more complex method
  22. minor tweaks to convert some Where-Object lines to the PowerShell v3 method

v1.6 – 05-24-2013

  1. “Download latest Lync Server 2013 Cumulative Update” option added
  2. “Custom PortQryUI” option added per (http://flinchbot.wordpress.com/2013/05/10/portqueryui-config-xml-file-for-lync/)
  3. “Windows Update tile” option added
  4. combined tile functions
  5. combined SQL instance functions
  6. additional logging
  7. “Microsoft Unified Communications Managed API 4.0, Runtime (UCMA 4.0) installation” option added
  8. various code optimization

v1.5 – 05-10-2013

  1. -NoSQL option for those who insist on letting the Lync installer install the SQL instances. This means that you’ll have to update those instances.
  2. Better reboot handling for OS prerequisites. This should resolve the problem with some people seeing a lot of errors until after a reboot.
  3. Better error messages for some errors. Can’t ignore these!
  4. Updated Debugger Tools installation as mention in Jonathan’s post  (thanks to Kevin)
  5. Office Web App server KB2810007 update (thanks to Randy)
  6. Rename to Set-Cs2013Features.ps1
  7. Added custom Scheduler simple URL. This automates adding a custom simple URL for the scheduler app
  8. Changed Standard edition server config to a prompt during regular FE install (removed -standard parameter)
  9. changed SQL input parameters to a single $SQLPath, with regex validation and default value. Just specify the -SQLPath [path] instead of the -SQLDir and -SQLDrive parameters.
  10. intro code for full logging functionality. Script will now create a log file that can be used for troubleshooting. Just basic stuff in there for now. I’ll add more later.
  11. updated comment based help info with additional parameter and example information
  12. fixed Lync Help option that was generating errors when trying to create taskbar shortcuts

v1.4 – 05-03-2013

  1. Added detection check for OS reboot (due to previous unfinished installation), and halt script if it’s detected. Otherwise, some Add-WindowsFeatures commands could fail.
  2. Added telnet client option, and prompt for it during most roles.
  3. Added SQL Management Studio option per Chris Elliot’s suggestion and example, and prompt during any role that has SQL instances
  4. Added Lync documentation help option
  5. Added NetMon 3.4 option
  6. Added Windows Update option
  7. Added option to define installation path for SQL instances
  8. Tweaked Office Web App OS prereqs to include InkAndHandwritingServices per Viggo Stomsvik’s comment
  9. Moved Add-WindowsFeature commands to top of order for all roles to avoid a potential error when installing SQL Express
  10. Added better check to determine if installing OS prereqs requires a reboot, and flagging accordingly
  11. Cleaned up code for scheduler custom simple URL
  12. Added preliminary code for SysInternals Suite install
  13. Moved SQL instance installs to dedicated functions and optimized
  14. Switched from ANSI to Unicode so that I could do cleaner looking error displays
  15. Switched SQL Express and SQL Management Studio installs from /quiet to /quietsimple so that there is some on-screen indication that the installs are progressing. This has no effect on the installations themselves, but it’s better than the script not appearing to do anything for 10 minutes at a time.

v1.3 – 04-29-2013

  1. Added Office Web App option. Includes all prerequisites, installing the roll, and the recent update for it
  2. Added the Director role option. Includes all OS prerequisites and the updated SQL Express instances
  3. Code optimization
  4. Added updated SQL Express instances to Edge option
  5. Signed script

v1.2 – 04-01-2013

  1. Edge server functions updated to include SQL Express SP1 (just like the FE code)
  2. Added Stress and Performance Tool option
  3. Minor code optimization
  4. Some code for future features

v1.1 – 02-28-2013

  1. Server roles added:
    1. Edge
    2. Persistent Chat
  2. Tools and utilities added:
    1. Resource Kit
    2. Persistent Chat Resource Kit
  3. Features added
    1. PowerShell Update-Help scheduled task
  4. Bug fixes and tweaks
    1. check for $Win2012Source\sources\sxs
    2. Moved tiles to the All Users profile

v1.0 – 02-08-2013

  1. Initial version

Changelog: New-ExpiringCertificatesReminder.ps1

September 14th, 2012 No comments

This is the changelog page for New-ExpiringCertificatesReminder.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.3 – 02-13-2017

  1. added parametersets to param block
  2. code optimization
  3. updated Remove-Variables to v1.1
  4. updated domain name info and comment help block

v1.2 – 01-27-2014

  1. -noprofile switch added to install routine
  2. minor code tweaks per best practices

v1.0 – 09-11-2012

  1. Initial version
Categories: PowerShell Tags: , ,

Changelog: New-FirewallRule

September 14th, 2012 No comments

This is the changelog page for New-FirewallRule. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.0 – 09-14-2012

  1. Initial version
Categories: PowerShell Tags: ,

Changelog: Grant-CsPolicyByADGroup.ps1

September 10th, 2012 No comments

This is the changelog page for Grant-CsPolicyByADGroup.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.7 – 02-03-2017

  1. Code cleanup/optimization

v1.6 – 09-23-2014

  1. fixed a syntax issue that would throw an error. Thanks to John for alerting me.

v1.5 – 02-08-2014

  1. swapped in new Set-ModuleStatus function
  2. cleanup of param block per best practices
  3. cleanup of functions per best practices
  4. replaced aliases with correct full cmdlet name per best practice

v1.4 – 01-27-2014

  1. Fixed PowerShell v2.0 compatibility
  2. minor code cleanup
  3. -noprofile switch added to install routine

v1.2 – 10-16-2012

  1. Better handling of nested user groups and members

v1.1 – 09-19-2012

  1. Added support for nested AD groups
  2. Added variable in param() block to define type of policy to apply to users
  3. Optimization of Set-ModuleStatus, Install, and Remove-ScriptVariables functions

v1.0 – 09-10-2012

  1. Original version

Changelog: New-CsFirmware.ps1

July 19th, 2012 No comments

This is the changelog page for New-CsFirmware.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v2.1 – 02-08-2017

  1. Updated Get-Folder to 1.3
  2. Added new update method
  3. code cleanup and optimization
  4. updated Set-ModuleStatus to v1.6
  5. updated Test-IsProxyEnabled to v1.2
  6. updated New-FileDownload to v1.5
  7. updated Write-Log to v2.9

v1.9 – 03-31-2015

  1. minor code cleanup per best practices
  2. fixed an issue where an error would get thrown when the script was getting a list of update files. Thanks to Ben for pointing it out.

v1.8 – 02-08-2015

  1. -PoolFqdn option to target a single pool
  2. updated Write-Log to v2.7
  3. updated Set-ModuleStatus to v1.5
  4. updated New-FileDownload to v1.2
  5. updated Get-Folder to v1.1
  6. updated Test-IsProxyEnabled to v1.1
  7. fixed logging issue where file name and pool FQDN were not correctly logged

v1.7 – 05-20-2014

  1. New-Download option will now download all firmware for the4LPE families:
    1. Polycom CX700 and LG-Nortel IP Phone 8540
    2. Polycom CX500, Polycom CX600 and Polycom CX3000
    3. Aastra 6721ip and Aastra 6725ip
    4. HP 4110 and HP 4120

then extract them, and then import them automatically

v1.6 – 02-08-2014

  1. bug fix: Tweaked to only target Lync pools and not ALL pools (which could contain OCS 2007 R2 pools during coexistence, and OCS pools don’t support firmware files)
  2. Removed main code from function to streamline things.
  3. Cleaned up parameter code per best practices
  4. cleaned up comment code per best practices
  5. swaped in new version of Set-ModuleStatus function

v1.5 – 09-09-2013

  1. Minor code tweaks
  2. Support added for Snom firmware files (Thanks, @matthewlandis)
  3. Support added for new Polycom VVX firmware file (Thanks, @jdscher)

v1.4 – 05-10-2013

  1. Minor code tweaks

v1.3 – 10-17-2012

  1. Tweaked issue with transcript code that was causing an error.
  2. Minor code tweaks.

v1.2 – 08-17-2012

  1. Fixed the bug that caused script to fail when run from ISE

v1.1 – 07-19-2012

  1. Bug fixes.
  2. Added some extra verbose logging

v1.0 – 07-03-2012

  1. Original version

Changelog: Get-CsVoiceCalls.ps1

June 12th, 2012 No comments

This is the changelog page for Get-CsVoiceCalls.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.4 – 06-12-2012

  1. Added some additional code to handle named SQL instances better. Still needs some testing in more environments.

v1.2 – 06-05-2012

  1. Original version

Changelog: Get-CsConnections.ps1

July 1st, 2011 8 comments

This is the changelog page for Get-CsConnections.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v3.5 – 08-14-2019

  1. Added some cleanup for the VVX and Trio device agent strings. Thanks to @UcMadScientist. See https://www.ucmadscientist.com/quick-post-pat-richards-get-csconnections-and-polycom-devices/

v3.4 – 03-27-2018

  1. Added more bugs to fix later. 🙂
  2. Fixed -SkipUpdateCheck. Thanks to Mike for pointing it out.
  3. Fixed issue where preferred connection order would not display for Skype for Business users when using -SipAddress option
  4. Minor tweaks per PsScriptAnalyzer and PSSharper
  5. Updated Remove-Variable function to v1.2
  6. Get-UpdateInfo updated function to v1.5
  7. Set-ModuleStatus updated function to v1.6
  8. Write-Log updated function to v3.2

v3.3 – 01-04-2017

  1. Now requires at least PowerShell 3.0
  2. minor code cleanup
  3. updated Get-UpdateInfo to 1.1

v3.2 – 11-17-2016

  1. Added new update routine
  2. Signed with new certificate

v3.1 – 04-07-2016

  1. added -SkipUpdateCheck to skip update check

v3.0 – 09-09-2015

  1. clarified some examples in the help section
  2. added detection for Skype for Business Server 2015

v2.9 – 10-28-2014

  1. Fixed an issue where PowerShell v2.0 machines would choke on one line. Thanks to Thierry for pointing it out.
  2. New code-signing certificate to replace expired cert

v2.8 – 06-10-2014

  1. Clarified ShowTotal output per Nate’s comment
  2. Fixed an issue where LRS clients would show a leading space for the agent string
  3. changed FE server info to be lower case to that it’s consistent
  4. the -pool parameter is now -PoolFqdn to align with other scripts and cmdlets
  5. fine tuned some of the code used when specifying -SipAddress

v2.7 – 05-24-2014

  1. fixed check for updates dialog border
  2. defined OverallRecords as an array to avoid an issue. Thanks to Tristan for that info.
  3. fixed verbose output not showing server names. Thanks to Greig for pointing it out.

v2.6 – 02-08-2014

  1. tweaked the MaxEndpointsPerUser section to always use the global configuration. This only matters in environments where multiple configurations exist (Get-CsRegistrarConfiguration). Thanks to Matt for pointing this out.
  2. swaped in new version of Set-ModuleStatus function
  3. cleanup of param block per best practices
  4. cleanup of comment help per best practices
  5. swaped in new verion of Test-ScriptUpdates

v2.5 – 11-26-2013

  1. tweaked SQL query for case insensitivity per Jean-Luc
  2. comment help updated to include info on Windows firewall config
  3. tweaked code when getting info for a single user to fix missing data for pool connection order

v2.4 – 09-13-2013

  1. Fixed output for unique users/clients
  2. Now validates if UserHighConnectionFlag is specified, and does not exceed MaxEndPointsPerUser

v2.3 – 08-01-2013

  1. intro code for script update check
  2. better pool version detection. When using the -Pool option, you no longer need to specify -Is2013 if it’s a 2013 pool
  3. Added code to restart script in an elevated session if the current session isn’t elevated (previously the script just threw an error and exited)

v2.2 – 05-10-2013

  1. Added support for Lync Server 2013 by using the -Is2013 switch. If I can find a better way of automatically detecting the version, I’ll incorporate that in a later build.
  2. Some code optimization
  3. Bug fix for an issue where the names of servers in a pool wouldn’t display if the script was run in PowerShell v3.

v2.1 – 12-13-2012

  1. Minor formatting tweaks for better handling long client names, such as the Lync RT client.
  2. Minor bug fixes

v2.0 – 10.16.2012

  1. Added -IncludeHighUsers option. Similar to -IncludeUsers, but only shows those users who meet the UserHighConnectionFlag value (shown in white), or exceeds it (shown in red).
  2. Added -ShowTotal option. When finished, shows statistics for the org, including total number of Lync enabled users, the total number of voice enabled users, and the percentage of enabled users that are currently connected.
  3. Updated the code the assembles FQDNs when just a pool or server netbios name are specified.
  4. If -SipAddress option is used, additional information showing the preferred connection order for the user is now also included. This adds the functionality of one liners: Finding out which Lync pool servers a user is associated with, and the preferred connection order.

v1.9 – 09-21-2012

  1. Finally resolved the issue where some front end servers would have a different number for PrimaryRegistrarClusterId in SQL Express than others, causing some servers to not return data (and not throw an error). Special thanks to Dave Howe @ Microsoft for helping me identify a work around, and also to Bart, a SQL Engineer at a client site who helped me tweak the related SQL query.
  2. A little code optimization
  3. -Server option added that now allows you to target a specific server instead of an entire pool.
  4. This version is code signed. You no longer are required to have a PowerShell Execution Policy of unrestricted or RemoteSigned. However, the script cannot be edited at all, or the code signature breaks.
  5. -SipAddr now supports specifying just the left part of the SIP address, but only in organizations with ONE SIP domain. For example, -SipAddr bill.gates instead of -SipAddr bill.gates@microsoft.com.
  6. -Server supports specifying the netbios domain. The script will “guess” at the FQDN by using the domain name of the machine the script is running on and appending it to the netbios name.

v1.8 – 09-14-2012

  1. Tons of formatting changes, mostly subtle
    1. Server names in the pool list are sorted
    2. Server names in the ‘Frontend Server’ list are now sorted
    3. Connections are now sorted by client
  2. Added -ShowFullClient switch to show extended client info.
  3. If -pool is not specified, and only one registrar pool exists, the script will automatically use that pool.
  4. Some additional verbose output added for troubleshooting

v1.7 – 09-07-2012

  1. Minor display sorting cleanup
  2. Streamlined some code
  3. Removed -IncludeUsers from automatically being set when using -ClientVersion

v1.6 – 07-02-2012

  1. Added feature to show just specific client versions and the connected users with that client

v1.4 – 04-19-2012

  1. cleaned up some of the param() block and added some validation
  2. streamlined some of the code
  3. tweaked the displayed results a little to better handle longer agent strings

v1.3 – 12-27-2011

  1. tweaked the formatting a little to account for longer agent strings due to mobile clients
  2. ignore the RtcApplication-[guid] account when calculating users and displaying userlist
  3. added error if pool doesn’t have any servers
  4. added UserHighConnectionFlag in parameter block to support pipeline entry

v1.1 – 08-09-2011

  1. added comment based help
  2. added option to display user list
  3. updated formatting
  4. added code so it will run in a normal PowerShell session

v1.0 – 07-01-2011

  1. original version

Changelog: Set-WindowsEmailAddress.ps1

June 12th, 2011 No comments

This is the changelog page for Set-WindowsEmailAddress.ps1. You will find a complete list of released versions, their dates, and the features and issues addressed in each. Please refer to the script’s main page for more information including download links, installation details, and more.

v1.2 – 01-27-2014

  1. Updated Set-ModuleStatus function
  2. cmdlet binding
  3. testing for ISE to avoid errors with Start-Transcript

v1.1 – 10-1-2011

  1. code cleanup
  2. variable cleanup
  3. replaced some code with my normal functions
  4. expanded comment based help
  5. account for zero results

v1.0 – 06-12-2011

  1. Original version