• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Seeking Method to Identify Applied Settings and Corresponding PowerShell Profile?

Posted on May 3, 2023

The user asked about PowerShell profiles and how to see the settings that are applying, and if OneDrive could be causing confusion. It was suggested to check the $profile, $profile.currentuserallhost and allusersallhosts commands, as well as the provided links from Microsoft, and the host (Powershell-ISE, Visual studio code, powershell.exe, etc) might also be introducing settings. The issue was eventually solved due to an extra tick.


Read the entire ‘Troubleshooting PowerShell Profiles and Settings’ thread below:

I have a newbie powershell question related to PS profiles. Is there a way to see what settings are applying and from what PS profile? Thanks in advanced


As far as I’m aware your profile is essentially just a powershell script that runs when you start a powershell instance.

You can see the current profile with $profile though


yeah there is $profile but also $profile.currentuserallhost and allusersallhosts etc…which i checked those but i am not seeing anything in them but still seems like something is overwriting my settings. well specifically my oh-my-posh theme. i have it working fine on other machines just don’t know what i did lol 🥴🙂


as far as I’m aware, the host (Powershell-ISE, Visual studio code, powershell.exe, etc) can introduce things as well


https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/how-to-use-profiles-in-windows-powershell-ise?view=powershell-7.3 and https://learn.microsoft.com/en-us/powershell/scripting/learn/shell/using-light-theme?source=recommendations&view=powershell-7.3

Though again, depending on the host you use, things might be different.yeah, and i am wondering is Onedrive might be adding to the confusion since it syncs the profiles are in the documents folder


the culprit was an extra tick ` i guess my wife is right i need some glasses. lol. For some reason it was defaulting to a theme instead of just breaking so that was throwing me off. Thanks for the assistance..

Continue reading and comment on the thread ‘Seeking Method to Identify Applied Settings and Corresponding PowerShell Profile?’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Microsoft, Microsoft Windows, PowerShell, Scripts

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..