There's some elements in here:
http://mnscug.org/blogs/sherry-kissinger/299-compliance-setting-to-enable-winrm
which are only applicable if you're powershell 3 or higher.
specifically, it checks the results of this:
cd WSMan:\localhost\Service(Get-ChildItem AllowremoteAccess).value
is equal to True. If not, (if remediation is enabled on the Baseline) it
re-runs winrm quickconfig.
On Monday, March 30, 2015 1:13 PM, Donnie Taylor <[email protected]>
wrote:
<!--#yiv4314186974 _filtered #yiv4314186974 {font-family:"Cambria
Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv4314186974
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv4314186974
{font-family:"Lucida Console";panose-1:2 11 6 9 4 5 4 2 2 4;}#yiv4314186974
#yiv4314186974 p.yiv4314186974MsoNormal, #yiv4314186974
li.yiv4314186974MsoNormal, #yiv4314186974 div.yiv4314186974MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri",
sans-serif;}#yiv4314186974 a:link, #yiv4314186974
span.yiv4314186974MsoHyperlink
{color:#0563C1;text-decoration:underline;}#yiv4314186974 a:visited,
#yiv4314186974 span.yiv4314186974MsoHyperlinkFollowed
{color:#954F72;text-decoration:underline;}#yiv4314186974
span.yiv4314186974EmailStyle17 {font-family:"Calibri",
sans-serif;color:windowtext;}#yiv4314186974 span.yiv4314186974EmailStyle18
{font-family:"Calibri", sans-serif;color:#1F497D;}#yiv4314186974
.yiv4314186974MsoChpDefault {font-size:10.0pt;} _filtered #yiv4314186974
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv4314186974 div.yiv4314186974WordSection1
{}-->Ports open? 5985 and 5986 are the new ports for remoting. From:
[email protected] [mailto:[email protected]]On Behalf
Of Krueger, Jeff
Sent: Monday, March 30, 2015 1:04 PM
To: [email protected]
Subject: [powershell] PowerShell remoting not working after upgrade to WMF 4.0
from 2.0 After upgrading a machine from WMF 2.0 to WMF 4.0 we are having
problems with using powershell remotely on that machine. Getting the following
error: [COMPNAME] Connecting to remote server RH711766 failed with the
following error message : The WS-Management service cannot process the request.
Cannot find the Microsoft.PowerShell session configuration in the WSMan: drive
on the COMPNAME computer. For more information, see the
about_Remote_Troubleshooting Help topic. + CategoryInfo :
OpenError: (COMPNAME:String) [], PSRemotingTransportException +
FullyQualifiedErrorId : InvalidResourceUri,PSSessionStateBroken We’re
experiencing the exact same issue as described in this
posthttp://powershell.com/cs/forums/t/11825.aspx?PageIndex=1 , that one was
going from 2.0 to 3.0. We have enabling WinRM configured in GPO. Jeff
Krueger [email protected] IT - Henry Ford Health System 248.853.4466
CONFIDENTIALITY NOTICE: This email contains information from the sender that
may be CONFIDENTIAL, LEGALLY PRIVILEGED, PROPRIETARY or otherwise protected
from disclosure. This email is intended for use only by the person or entity to
whom it is addressed. If you are not the intended recipient, any use,
disclosure, copying, distribution, printing, or any action taken in reliance on
the contents of this email, is strictly prohibited. If you received this email
in error, please contact the sending party by reply email, delete the email
from your computer system and shred any paper copies.
Note to Patients: There are a number of risks you should consider before using
e-mail to communicate with us. See our Privacy & Security page
onwww.henryford.com for more detailed information as well as information
concerning MyChart, our new patient portal. If you do not believe that our
policy gives you the privacy and security protection you need, do not send
e-mail or Internet communications to us.
================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1
Nothing in this message is intended to constitute an electronic signature
unless a specific statement to the contrary is included in this message.
Confidentiality Note: This message is intended only for the person or entity to
which it is addressed. It may contain confidential and/or privileged material.
Any review, transmission, dissemination or other use, or taking of any action
in reliance upon this message by persons or entities other than the intended
recipient is prohibited and may be unlawful. If you received this message in
error, please contact the sender and delete it from your computer.
================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1
================================================
Did you know you can also post and find answers on PowerShell in the forums?
http://www.myitforum.com/forums/default.asp?catApp=1