HELP: PowerShell 5.1 / 5.0 What’s New (and More) – Part 1 Alias

Kicking off this series of installment is the topic of Alias in Windows PowerShell 5.x.

Here, there is really only a (less-than) handful of new aliases or alternate names introduced in PowerShell 5.0, namely:

gcb     #Get-Clipboard
gpv    #Get-ItemPropertyValue
scb     #Set-Clipboard

No new aliases are known to exist on top of 5.0 in PS 5.1.

Incidentally, …

Continue reading “HELP: PowerShell 5.1 / 5.0 What’s New (and More) – Part 1 Alias”

HELP: PowerShell 5.1 / 5.0 What’s New (and More)

An authoritative learning resource to quickly get up to speed with new features and changes in Windows PowerShell is to consult the excellent built-in help system directly. This is provided that Update-Help is executed beforehand. Besides using ?* wildcards against the Get-Help (help or man) or Get-Command cmdlets to discover and learn more about a specific cmdlet set or feature, you should peruse the set of about_* help files to aid in your learning endeavours.

One good place to start is to run

help about_Windows_PowerShell_5.0 -ShowWindow

This help file continues to carry the same name under the production releases of Windows Server 2016, Windows 10 Anniversary Update or systems with WMF 5.1 installed. Interesting enough, it still refers to the former two as “Windows Server Technical Preview and Windows Technical Preview” in the documentation. Not surprisingly, certain inaccurate information remain such as references to a non-existence Compare-DscConfiguration, Test-ModuleManifest (which is already present in PowerShell 4.0) or “A new module, OneGet, lets you discover and install software packages …” (now formally call PackageManagement). Likewise, the provided links such as “What’s New in Windows PowerShell” contains information which are not necessarily updated# (Last Updated: 12/14/2016).

Now you may wonder what this blog post is all about?

Continue reading “HELP: PowerShell 5.1 / 5.0 What’s New (and More)”

RTM! Windows Management Framework (WMF) 5.1 KB3191565

Windows Management Framework (WMF) 5.1 per KB3191565 updates Windows PowerShell and associated features in legacy and downlevel Windows operating systems to match those released in Windows Server 2016 and Windows 10 Anniversary Edition.

SUPPORTED OS

  • Windows Server 2012 R2
  • Windows Server 2012
  • Windows Server 2008 R2 SP1
  • Windows Server 2008
  • Windows 8.1
  • Windows 7 SP1

REQUIREMENTS

  • .NET Framework 4.5.x or higher
  • Install and Configure WMF 5.1 (download)
  • direct installation over WMF 4.0 or 5.0
  • uninstall WMF 5.1 Preview
  • Windows Server 2008 R2 SP1 or Windows 7 SP1
    – either uninstall WMF 3.0 or save/restore $PSModulePath before/after installing WMF 5.1
    – elevated execution of Set-WSManQuickConfig to configure WinRM (default not enabled)
    – unzip Win7-KB3191566-x??.zip, execute Install-WMF5.1.PS1 and follow on-screen instructions
  • WMF 4.0 required (on Windows Server 2008 R2 or Windows 7)

INCOMPATIBLE / NOT TESTED

  • Microsoft Exchange Server 2013
  • Microsoft Exchange Server 2010 SP3
  • Skype for Business Server 2015
  • Microsoft Lync Server 2013
  • Microsoft Lync Server 2010
  • System Center 2012 R2 Service Management Automation
  • Microsoft SharePoint Server 2010
  • System Center 2012 Virtual Machine Manager

REFERENCES
– Installing the .NET Framework (MSDN Library)
– Windows Management Framework (WMF) 5.1 Release Notes (link)
– Windows Management Framework (WMF) 5.1 Released (Windows PowerShell Blog)
– .NET Framework Versions and Dependencies (MSDN Library)
– Mailbag: What version of the .NET Framework is included in what version of the OS? (MSDN Blog)

https://blogs.msdn.microsoft.com/powershell/2017/01/19/windows-management-framework-wmf-5-1-released/

[BUG?] PowerShell 5.x Get-Help about_* – Missing Help Files (Windows Server 2016 & Windows 10)

Since PowerShell v3, you should have already executed Update-Help at least once to download a local copy of the PS help files for offline use. This should be repeated if the version of PS is updated by way of the Windows Management Framework for existing Windows operating system.

Perhaps one not so frequently used feature when it is time to ask for help or learn more about a particular topic pertains to that of the set of about_* Help files. Over 100 of these from about_Aliases to about_Workflows are present in the initial release of PowerShell 5.0 shipped in the RTM version of Windows 10. Since then, Windows 10 has seen two major releases, namely Version 1511 and 1607 (Anniversary Update) where the latter updates PowerShell to version 5.1

After successfully updated your copy of Windows 10 to either of the latter 2 versions, …

Continue reading “[BUG?] PowerShell 5.x Get-Help about_* – Missing Help Files (Windows Server 2016 & Windows 10)”

Windows 10 Anniversary Update Available August 2, 2016

As shared by the Windows team blog, the anniversary update for Windows 10 is now officially released as on Tue 2 Aug 2016.

This update is free for all licensed users and will be automatically rolled out to users worldwide through Windows Update*. This Anniversary Update is identified as “Feature Update to Windows 10 Version 1607”.

If you cannot wait for this automatic WU to kick in, you can go right to Microsoft’s Windows 10 Update History support page and manually download the executable (direct link to Windows10Upgrade28084.exe ~5.5MB).

To learn more about the “Windows 10 Anniversary Update”, see “New Video Series This Week On Windows Highlights Windows 10 Anniversary Update“.

* provided that you did not disable the WU service as part of your organization’s policy to retain absolute control over how and when updates, hotfixes, patches, etc. get deployed

Skype/Lync: This Operating System is not Supported by this Application

Office 2013 Pro with Lync 2013 RTM is installed on a new Windows 10 desktop machine. As soon as you click a Lync or Skype for Business meeting invite URI, an error keeps appearing:

Error

This operating system is not supported by this application.

[ OK ]

Despite having restarted the Lync application follow by reboot of the machine, the same error appears. It is getting late and you are not able to join the meeting. What can you do?

Workaround
– append ?sl= to the meeting URI to join using the Lync/Skype Web App.

Fix
– first start one of the Office applications like Word to allow setup to complete the final installation steps.

RTM Windows Management Framework (WMF) 5.0 Packages Republished

Windows Management Framework (WMF) 5.0 RTM packages
(PowerShell 5.0 and supporting framework for down-level OS#)

  • includes updates to Windows PowerShell, Windows PowerShell Desired State Configuration (DSC), Windows Remote Management (WinRM) and Windows Management Instrumentation (WMI)
  • applies to Windows Server 2012 / R2, Windows 2008 R2 SP1, Windows 8.1 and Windows 7 SP1 (download and release notes)
  • replace previously released WMF 5.0 RTM* and Production Preview packages
  • require WMF 4.0 and .NET Framework 4.5 or higher installed to run WMF 5.0 on Windows 7 SP1 or Windows Server 2008 R2 SP1 (see Note)
  • described in KB3134758, KB3134759, and KB3134760
  • fix the $PSModulePath issue in the initial release of WMF 5.0 RTM packages# (more here)
  • Systems that are running the following server applications should not run Windows Management Framework 5.0 at this time**:
    – Microsoft Exchange Server 2013
    – Microsoft Exchange Server 2010 SP3
    – Microsoft SharePoint Server 2013
    – Microsoft SharePoint Server 2010
    – System Center 2012 Virtual Machine Manager

To get the same set of functionality in Windows 10, make sure you upgrade / update to Build 1511 per KB3120677 / KB3124262## via Windows Update (or WSUS, System Center, etc.).

* KB3094174, KB3094175 and KB3094176 must all be uninstalled first
** can run WMF 5.0 on System Center 2012 Configuration Manager
# not applicable to Windows 10 or Windows Server 2016 Technical Preview builds
## first release Nov 2015; see [1]

NOTE

  • Windows Management Framework (WMF) 4.0 Update Package for Windows Server 2012 (KB3119938), Windows Server 2008 R2 SP1 and Windows 7 SP1 (KB3109118) ; link
  • Windows Management Framework 4.0 RTM is a pre-requisite for installing these packages.
  • see Nov 2014 Update Rollup (KB3000850) for Windows 8.1 / RT and Windows Server 2012 R2. Prerequisites KB2919355.

REFERENCE

Remote Server Administration Tools for Windows 10: Installer Error / Supported Language Packs

When you attempt to install the RTM version of “Remote Server Administration Tools for Windows 10” (KB2693643) using the downloaded MSU*, an error message may appear:

Windows Update Standalone Installer

Installer encountered an error: 0x80070422

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

[OK]

Ensure that the Windows Update (wuauserv) service is not set to Disabled in order to proceed. Be aware that this is valid for running any MSU package for that matter where the former supersedes the MSI counterpart for software installation, including the application of hotfixes and patches in newer Windows versions.

Note that with the recent release 1.10 (19 Nov 2015) of RSAT, it now supports a number of languages besides US-English (en-US)
i.e.
de-DE, es-ES, fr-FR, it-IT, ja-JP, ko-KR, pt-BR, ru-RU, tr-TR, zh-CN, and zh-TW

Installation of a supported language pack listed above is mandatory if the base Windows 10 OS UI does not match any of the listed languages.

* Microsoft Update Standalone Package