/build/static/layout/Breadcrumb_cap_w.png

Powershell script for enabling location services not running?

I need to enable location services on a few select PC's in my environment, and since you can only disable location services via GPO and not enable them via GPO (thanks, Microsoft!) I was planning on just pushing the basic script out through my SMA.  Reading through the this - Native Powershell Support (316677) (quest.com) - it looks like all I need to do is create an online shell script, throw my PS command in it (Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location" -Name "Value" -Value Allow), name it something.ps1 and it should push normally.  I'm finding that it's pushing the script out to the PC, but not running it in Powershell.  I thought we could run these natively now without creating a file packaging the commands to invoke Powershell to start first.  Am I just mistaken about the new update here?


0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ