TIP 1516 (PowerShell DSC): Access Denied in Workgroup Environment

The Desired State Configuration, DSC (as well as CIM cmdlets) feature introduced in PowerShell 4.0, relies on properly configured and functional WinRM listeners. By virtue of creating a WinRM listener, PS remoting* is enabled automatically (this is the case since Windows Server 2012 out-of-the-box). DSC does not depend on the latter nor need to run off from machines joined to an Active Directory environment to operate.

In a Workgroup environment, you may encounter challenges pushing out the resulting MOF to the desired nodes via Start-DSCConfiguration despite running with elevated administrative privileges:

VERBOSE: Perform operation ‘Invoke CimMethod’ with following parameters, ”methodName’ = SendConfigurationApply, ‘className’ = MSFT_DSCLocalConfigurationManager,’namespaceName’ =
root/Microsoft/Windows/DesiredStateConfiguration’.
The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config.
+ CategoryInfo : NotEnabled: (root/Microsoft/…gurationManager:String) [], CimException
+ FullyQualifiedErrorId : HRESULT 0x803380e4
+ PSComputerName : SERVER01

You verified that … Continue reading

Speaker PowerShell Conference 2015 Asia – Singapore 18-19 Sep

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

Super excited to announce that I shall be a Speaker at the first ever PowerShell Conference 2015 Asia. Taking place in Singapore 18-19 Sep 2015 over the F1, Formula One night racing weekend, the abstract of my demo-driven break-out session is summarized below:

PowerShell Management Tips & Tricks in Lync/Skype Business Server

PowerShell is part and parcel of Lync Administration since Server 2010. Learn how to effectively put the many great cmdlets together to build useful scripts to monitor and manage your global environment in this demo driven session.

Make sure you take this opportunity to join Jeffrey Snover, industry experts, partners and MVPs share all you want to know about PowerShell in this exciting event. More information and registration here.

PS: do not miss out this wonderful opportunity to stay over to travel around and explore Singapore and the amazing South-East Asian countries.

#psconfasia15 #Skype4B #Lync #ITPro #PowerShell #Singapore

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

Old URL:
http://www.leedesmond.com/weblog/?p=1018

Book: Lync Server 2013 Cookbook

Lync Server Cookbook 2013Not one, not two or three but 4 great authors* put their heads together to bring you a new book “Lync Server Cookbook” (Jan 2015) covering Lync Server 2013 on-premises to Office 365/Lync Online in the cloud.

As a member of the technical reviewer team for this book, this one great reference is highly recommended as it has more than 90 recipes, bringing together practical tips/tricks with ready to run PowerShell scripts to help you configure, integrate, and manage your Lync Server deployment.

Get a copy for your bookself here today!

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

* Fabrizio Volpe, Alessio Giombini, Lasse Nordvik Wedø, António Vargas

Old URL:
http://www.leedesmond.com/weblog/?p=972