Windows PowerShell 2.0 Deprecated in Windows 10 Fall Creators Update

Windows PowerShellAccording to the Microsoft KB article* entitled “Features that are removed or deprecated in Windows 10 Fall Creators Update“, Windows PowerShell 2.0, which shipped out of the box in Windows 7 and Windows Server 2008 R2, will be deprecated.

On platforms earlier than Windows Server 2016 and Windows 10 Build 1511, customers are advised to migrate applications and components to PowerShell 5.x.

Deprecated = not in active development and might be removed in future releases.

* Article ID: 4034825 – Last Review: Jul 24, 2017 Revision: 20

#powershell Non US Locale Culture (Thread)

Windows PowerShellIn an environment where US English is not the language locale selected during installation of the Windows OS or as defined in Control Panel*, operations in PowerShell may behave differently or fail altogether (where dependencies on this setting may not be obvious e.g. COM object interaction with Microsoft Office Suite of products).

To avoid nasty surprises in PowerShell, consider saving both the current culture and UI culture values for the present (current) thread, set them explicitly to “en-us”, perform the needed tasks then revert back to the original system values.

The static threads we are looking for are:

[System.Threading.Thread]::CurrentThread.CurrentCulture
[System.Threading.Thread]::CurrentThread.CurrentUICulture

* Region and Language > Formats > Format / Location > Current Location

Speaker PowerShell Conference 2017 Asia – Singapore 26-28 Oct 2017

The PowerShell Conference 2015, Asia (Singapore 18-19 Sep, 2015)

For the third time in a row I shall be a Speaker at the (3rd) PowerShell Asia Conference 2017 this time talking about “Working Faster & Smarter with PowerShell”. This will once again take place in Singapore from Fri 27 to Sat 28 Oct 2017 with a great line-up of speakers, excellent food, conference party and a popular pre-conference day (Thu 26.10.2017).

Singapore Night Scenery

More information and registration here. Do not miss out this wonderful opportunity to stay over to travel around and explore Singapore and the amazing South-East Asian countries. See you soon!

#psconfasia #ITPro #PowerShell #Singapore

Follow me for all the buzz -> @_leedesmond (Twitter)!

#powershell: Fun with Switch Statement Part 2

../continue

switch ($d) { { “default” } { “d” } { “others” } { “o” } }
#
$d = “Default”
$d = “others
#
d
o

Basically, the odd script blocks {namely “default” and “others”} are the actual criteria to be tested in the #powershell switch block. In this instance, there is essentially nothing to check for hence whatever criterion given to the switch block will always be deemed as valid matches regardless of values or object types.

Unless each incoming object needs to be processed and not just a “simple” match, represented by the special $_ variable, …

Continue reading

#skype4b Get Pool Node IP Address (Front-End, Mediation, Edge, etc.)

Get-Skype4bPoolIP is one of the many PowerShell functions/utilities in my personal script toolbox repository designed to help simplify the management and administration of just about any Skype for Business / Lync Server environment. Enjoy!
##########################################################################
# Copyright (c) 201x-2017 leedesmond.com
# All Rights Reserved. Use at your own risk and responsibility.
# Get-Skype4bPoolIP.ps1
# Version 1.00
#
# USAGE:
# Get-Skype4bPoolIP “fe-pool.leedesmond.com”
# Get-Skype4bPoolIP (Get-CsService -Registrar).PoolFqdn
#
Continue reading

UPDATE: Android Mobile App v3.10 – Spanish Irregular Verbs (Conjugation)

What’s New
Spanish Irregular Verbs by swissitfabrik.comGoogle Play Store
VERSION 3.10 (DEC 2016)

  • improved search features
  • find irregular conjugated verbs ( ≡ ) e.g. digo instead of decir (Infinitive Presente)
  • incremental search e.g. type the first (few) letter(s) to display matching verbs such as de…
  • new irregular Participio tab
  • expanded irregular verb list
  • bug fixes and corrections

INITIAL PUBLIC RELEASE (NOV 2016)

  • global configuration settings ( ≡ )
  • “SUB” flip switch toggle between indicative and subjunctive verbs

Android Mobile App – Spanish Irregular Verbs (Conjugation)

The first mobile App designed for anyone (struggling to) learning irregular Spanish verb conjugation. Developed in-house by my team and I using enterprise web/mobile Microsoft technologies and programming languages supporting Java, Swift to C++/C# and cross-platform deployments. Get it today!

Spanish Irregular Verbs by swissitfabrik.comSPANISH IRREGULAR VERBS
The only App with the most comprehensive collection of irregular Spanish verbs in an easy-to-use, clean and uncluttered interface with flexible and quick search function at your fingertip! Features Spanish irregular verbs in various tenses* (standard and reflexive forms) and is suitable for use at all language proficiency levels A1 – C2. Full functionality available offline in the absence of Internet network connection.
Google Play Store
Available for Android on Google Play now (Apple iOS devices in the works)!