What’s the OS versions between the two e.g. success/failed? Troy L. Martin | Technical Architect 1E | Software Lifecycle Automation for the Digital Business US Mobile: +1 (678) 898-6147 | UK Phone : +44 208 326 9141 troy.mar...@1e.com<mailto:troy.mar...@1e.com> | www.1e.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.1e.com_&d=BQMFAg&c=Ln8c1CLEgbhz4W2FGOnrXYpHvIYN4k_cXHVmsANM4XI&r=zAhc69MwvUId2afOheLZsnttbIFqxDANe5KRT-ZKir4&m=uHdy6p01-w9GZjdBVTraJ5PHeWP6yKoA_xCBrm33uC4&s=lfm9K0cSqM44FHIoBa6p0wzT4MWYkn_0HYGNmWgkATs&e=>
Facebook<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.facebook.com_1eglobal&d=BQMFAg&c=Ln8c1CLEgbhz4W2FGOnrXYpHvIYN4k_cXHVmsANM4XI&r=zAhc69MwvUId2afOheLZsnttbIFqxDANe5KRT-ZKir4&m=uHdy6p01-w9GZjdBVTraJ5PHeWP6yKoA_xCBrm33uC4&s=RRWJDZaMGcmivktB58TkvRLoQr1bC6jIDj-MN1oDLlE&e=> | Twitter<https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_1e-5Fglobal_&d=BQMFAg&c=Ln8c1CLEgbhz4W2FGOnrXYpHvIYN4k_cXHVmsANM4XI&r=zAhc69MwvUId2afOheLZsnttbIFqxDANe5KRT-ZKir4&m=uHdy6p01-w9GZjdBVTraJ5PHeWP6yKoA_xCBrm33uC4&s=6SY99zYqJ1R5pAavjFi-JmFdxUD0lt-n0XwOK-omJcI&e=> | YouTube<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.youtube.com_1enews&d=BQMFAg&c=Ln8c1CLEgbhz4W2FGOnrXYpHvIYN4k_cXHVmsANM4XI&r=zAhc69MwvUId2afOheLZsnttbIFqxDANe5KRT-ZKir4&m=uHdy6p01-w9GZjdBVTraJ5PHeWP6yKoA_xCBrm33uC4&s=XWjlpxF0vI8J3n42uqWMrEXgHphlWI2PD9XZHOHhX8U&e=> | Blogs<https://urldefense.proofpoint.com/v2/url?u=http-3A__blogs.1e.com_&d=BQMFAg&c=Ln8c1CLEgbhz4W2FGOnrXYpHvIYN4k_cXHVmsANM4XI&r=zAhc69MwvUId2afOheLZsnttbIFqxDANe5KRT-ZKir4&m=uHdy6p01-w9GZjdBVTraJ5PHeWP6yKoA_xCBrm33uC4&s=tKrxeysyE64idSmjz1G3NP2ojp9RhRdpv1OljUgTbyg&e=> | RSS<https://urldefense.proofpoint.com/v2/url?u=http-3A__blogs.1e.com_index.php_feed_&d=BQMFAg&c=Ln8c1CLEgbhz4W2FGOnrXYpHvIYN4k_cXHVmsANM4XI&r=zAhc69MwvUId2afOheLZsnttbIFqxDANe5KRT-ZKir4&m=uHdy6p01-w9GZjdBVTraJ5PHeWP6yKoA_xCBrm33uC4&s=qGt8-ZGt5rG-J3ClWoppG9TfmFKmktUZprrf0vtNjII&e=> From: listsadmin@lists.myitforum.com [mailto:listsadmin@lists.myitforum.com] On Behalf Of Linkey, Mike Sent: Tuesday, April 12, 2016 8:40 AM To: ms...@lists.myitforum.com Subject: RE: [mssms] Powershell Execution Policy I believe so. When the CI runs, I am getting this error which leads me to the Execution policy thing. [cid:image001.png@01D19498.5F4E6C90] So unless I am misunderstanding the error, this is why I am questioning the Execution policy not being set correct. Now I would love to be wrong with this as we are just getting started with the DCM stuff. Here is the script I am running also. $FeatureName = "TFTP" If (Get-WindowsOptionalFeature -Online | Where {$_.State -eq "Enabled" -and $_.FeatureName -eq $FeatureName}) { $Compliance = "NonCompliant" } Else { $Compliance = "Compliant" } Return $Compliance I got this from the web and it works fine on about 25% of our machines. The rest just fail with the error above. So I am at a loss. Mike L. From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> [mailto:listsadmin@lists.myitforum.com] On Behalf Of Andreas Hammarskjöld Sent: Monday, April 11, 2016 3:05 PM To: ms...@lists.myitforum.com<mailto:ms...@lists.myitforum.com> Subject: RE: [mssms] Powershell Execution Policy There are two policies, one for x86 PS and one for x64 PS, got them both covered? From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> [mailto:listsadmin@lists.myitforum.com] On Behalf Of Linkey, Mike Sent: den 11 april 2016 21:58 To: ms...@lists.myitforum.com<mailto:ms...@lists.myitforum.com> Subject: RE: [mssms] Powershell Execution Policy Nope, no GPOs have anything set for powershell. From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> [mailto:listsadmin@lists.myitforum.com] On Behalf Of Jason Wallace Sent: Monday, April 11, 2016 2:38 PM To: ms...@lists.myitforum.com<mailto:ms...@lists.myitforum.com> Subject: Re: [mssms] Powershell Execution Policy Could you have GPOs affecting the systems? On 11 Apr 2016, at 19:50, Linkey, Mike <mlin...@icc.illinois.gov<mailto:mlin...@icc.illinois.gov>> wrote: We are setting in the computer Agent -> PowerShell Execution Policy to Bypass. <image001.png> But our PS scripts in our CI’s are failing on Windows 7 machines. Using PolicySpy, I can see that it is still set to 0 <image002.png> Is anyone else seeing this or am I just missing something here? This seems simple enough, but just does not seem to be changing the clients. Any input would be appreciated! Mike L. CONFIDENTIALITY NOTICE: The e-mail transmission (and/or the documents accompanying such) may contain confidential information. Such information is intended only for the use of the individual or entity named above. If you are not the named or intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of such information is strictly prohibited. If you have received this email in error, please notify the sender and then delete the email. Thank you for your cooperation. CONFIDENTIALITY NOTICE: The e-mail transmission (and/or the documents accompanying such) may contain confidential information. Such information is intended only for the use of the individual or entity named above. If you are not the named or intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of such information is strictly prohibited. If you have received this email in error, please notify the sender and then delete the email. Thank you for your cooperation. CONFIDENTIALITY NOTICE: The e-mail transmission (and/or the documents accompanying such) may contain confidential information. Such information is intended only for the use of the individual or entity named above. If you are not the named or intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of such information is strictly prohibited. If you have received this email in error, please notify the sender and then delete the email. Thank you for your cooperation. ________________________________ Legal Notice: This email is intended only for the person(s) to whom it is addressed. If you are not an intended recipient and have received this message in error, please notify the sender immediately by replying to this email or calling +44(0) 2083269015 (UK) or +1 866 592 4214 (USA). This email and any attachments may be privileged and/or confidential. The unauthorized use, disclosure, copying or printing of any information it contains is strictly prohibited. The opinions expressed in this email are those of the author and do not necessarily represent the views of 1E Ltd. Nothing in this email will operate to bind 1E to any order or other contract.