When your Win7 boxes actually run a posh script, I believe that's recorded in the log, DcmWmiProvider.log You say it's erroring... but what is it erroring with? We had a situation where a small percentage of our client base had some powershell geeks. And someone on that team thought it would be awesome if they made a system profile.ps1 (not a per-user one)--which did wonderful super useful things like change the color of the screen to yellow-on-black AND then write-host "Colors Changed!" So... what was showing up in the dcmwmiprovider.log instead of what we expecting to see from a discovery script or any powershell-script in CM wasn't just the "True" or "0" or "regkeyvalue" or whatever it was we were looking for... what we were getting was "Colors Changed!" and THEN "True".
If that's what someone wonderful did for you, what we did was a ConfigItem that looks for if ANYONE has a profile.ps1; and if so, wrapped it up with a if/then type of statement... so that if the user running profile.ps1 was "SYSTEM", then skip all that junk and just exit with no write-hosts. If you need that, I can pull that out of my CI's and share it here. On Mon, Apr 11, 2016 at 2:51 PM, Linkey, Mike <mlin...@icc.illinois.gov> wrote: > Don’t believe so. I will do another triple check to verify again there is > not any. > > > > *From:* 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 > *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> 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. > > -- Thank you, Sherry Kissinger My Parameters: Standardize. Simplify. Automate Blogs: http://www.mofmaster.com, http://mnscug.org/blogs/sherry-kissinger, http://www.smguru.org