# Trying to do some clean up to deployments

**URL:** <https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502>\
**Category:** PowerShell Help\
**Created:** [June 21, 2023, 1:08pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502 "2023-06-21T13:08:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neverts](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Neverts](https://forums.powershell.org/u/Neverts)\
**Post date:** [June 21, 2023, 1:08pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502/1 "2023-06-21T13:08:27Z")

</div>

Trying to take a bunch of stupid and silly changes for our image (manager will not allow us to edit the image directly) I have a hand full of stupid changes we have to make to the pc after the imaging has been completed and i’ve run into a road block with some of the smaller ones.

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [June 21, 2023, 1:15pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502/2 "2023-06-21T13:15:53Z")

</div>

Nathanial,  
Welcome to the forum. 👋🏼

Do you have any question?

---

<div class="post-metadata">

**Author:** ![Neverts](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Neverts](https://forums.powershell.org/u/Neverts)\
**Post date:** [June 21, 2023, 1:38pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502/3 "2023-06-21T13:38:22Z")

</div>

Configure power settings:

Battery=Shut down, sleep, sleep

AC=Shut down, sleep, do nothing

AC=never, never for monitors  
is the big i can’t seem to find

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [June 21, 2023, 3:49pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502/4 "2023-06-21T15:49:12Z")

</div>

Hmmm … there is still no question. 😏

To set your expectations on this forum … this is a peer to peer forum where PowerShell coders voluntarily in their spare time help other PowerShell coders with their code.

We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.

> [@Neverts](#):
>
> is the big i can’t seem to find

I’m curious - what exactly did you search for? If I use Google and search for “`Powershell set windows power settings`” I get millions of search hits and just on the first page enough to get started. 🤷🏼‍♂️

---

<div class="post-metadata">

**Author:** ![Neverts](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@Neverts](https://forums.powershell.org/u/Neverts)\
**Post date:** [June 21, 2023, 4:18pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502/5 "2023-06-21T16:18:33Z")

</div>

the question is i can’t find or remember the line to change those settings

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [June 21, 2023, 5:08pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502/6 "2023-06-21T17:08:42Z")

</div>

Since I cannot read minds I cannot help you remembering things. 🤷🏼‍♂️

But how about using your favorite internet search engine and search for the key words I posted in my last reply? That should get you started. 👍🏼 🤟🏼

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:14pm UTC](https://forums.powershell.org/t/trying-to-do-some-clean-up-to-deployments/22502/7 "2024-05-16T20:14:50Z")

</div>


