Since I am constantly meddling with my system — on top of the Insider “updates” — what do I need to back up to save any progress (cough) I have made with PowerShell — scripts, settings, etc.?
Regards,
Chuck Billow
Chuck Billow
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » PowerShell Settings
Most of your PowerShell settings should be in file named Microsoft.PowerShell_profile.ps1 (or profile.ps1) in your ~DocumentsWindowsPowerShell directory, so those will be backed up as part of you normal backup (you do back up your documents periodically, right?). There are also global profiles, see https://technet.microsoft.com/en-us/library/bb613488(v=vs.85).aspx for the locations.
The only setting I don’t know how to backup is the execution policy; but then if you need to you can always run Set-ExecutionPolicy to reset it.
Your scripts are just files on disk somewhere. If you store your scripts in your document directory, they are already being backed up by your normal back. If, like me, you store your scripts elsewhere, you’ll have to configure your backup software to back up that directory (or directories) also.
If you installed extension, such as the PowerShell Community Extensions, the best thing would be to reinstall them if you need to (instead of attempting to back them up). If, like me, you downloaded some .NET DLLs to provide additional functionality (I downloaded one that reads MP3 tags), and those files use an “unzip to install” mechanism (as opposed to running an installation program), you should backup that DLL and its associated files (or the original zip file you downloaded, which is what I do).
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications