-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export-PSProfileConfiguration contains machine / user specific properties #37
Comments
Checking this out, thanks @codaamok |
Alright, here's a more complete response @codaamok :
|
Yes, that sounds like a really good solution! |
Heyo @codaamok - Just pushed out v0.6.3 that should get you covered here. Let me know if you have any questions! |
Hello :-) this looks very good, thank you very much. I have noticed that when I call |
Sorry to spam! I would also expect the same command ( |
@codaamok ::
I've seen the same and I think it's how
It expects a PSD1 file, not a PS1, and will semi-silently skip it if it isn't a PSD1. Ref: https://github.com/SCRT-HQ/PSProfile/blob/main/PSProfile/Public/Configuration/Add-PSProfileConfigurationPath.ps1#L37 |
Thanks for all your help so far. I notice the variables under It seems the benefit of using I'm trying to devise a workflow that enables quick install of my PSProfile configuration and easy update too. An ideal workflow for install and update would work like:
The problem for me is in step 3, I don't want manually strip out user and machine specific properties before uploading to some location. There's more than just what's under
I have an idea which might help but I'm not sure how to create in PSProfile. What if However, maybe I shouldn't be using |
I'd like to use
Export-PSProfileConfiguration
to export the PSProfile config and use it across multiple machines, however within the psd1 there's multiple properties that would overwrite some environment variables when usingImport-PSProfileConfiguration
.Is it possible to make the exported data not include machine or user specific information?
Also, as a side question, is it possible to configure
$PSProfile.Settings.ConfigurationPath
permanently on a system? Otherwise, I'd imagine the only way to achieve a consistent change to this property is via changing it inprofile.ps1
and that invoking a reload of PSProfile.The text was updated successfully, but these errors were encountered: