Comments (5)
The profile.ps1 is not part of the standard OS so looks like it is a file either you or your organisation/company has provided.
C:\>dir \Windows\system32\WindowsPowerShell\v1.0\*.ps1
Volume in drive C is Local Disk
Volume Serial Number is 1234-5678
Directory of C:\Windows\system32\WindowsPowerShell\v1.0
File Not Found
from powershell.
Although this repository started as a fork of the Windows PowerShell codebase, changes made in this repository are not automatically ported back to Windows PowerShell 5.1. This also means that issues tracked here are only for PowerShell Core 6 and higher. Windows PowerShell specific issues should be reported with the Feedback Hub app, by choosing "Apps > PowerShell" in the category.
from powershell.
Have you checked the file mentioned in the error message? C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1
Try removing it, it sounds like there's an issue with the code signing certificate.
from powershell.
@rhubarb-geek-nz thank you. I have no idea how that file got there or how long it has been there.
After deleting it, PowerShell works as advertised. Thank you!
from powershell.
📣 Hey @longtimedeveloper, how did we do? We would love to hear your feedback with the link below! 🗣️
🔗 https://aka.ms/PSRepoFeedback
from powershell.
Related Issues (20)
- Uploading file via Invoke-RestMethod corrupts file HOT 5
- Rename or rephrase "CreateShortcut" while checking shortcut/weblink properties. HOT 3
- Add a way to see if a remote debugger has attached HOT 1
- Unexpected quotes in variable expansion in inline commands HOT 5
- Invoke-Command does not redirect error pipeline like other commands HOT 2
- Microsoft.PowerShell.SDK: Missing `PowerShell.Create(Runspace)` overload in v7.5.0-preview.2 HOT 1
- Add function for changing "Let this app work in background" option for msix apps HOT 4
- {Set,New}-Service: add functionality from `sc failure` HOT 3
- Symbolic links can change script behavior due to lack of invocation information HOT 18
- Set-AuthenticodeSignature breaks .psd1 file syntax by removing last line (closing brace) HOT 11
- Invalid paths with final segment with 3 or more dots (...) are incorrectly detected as valid HOT 5
- How do we stop the bot from going berserk and closing of real/genuine issues? HOT 17
- Use of StackFrame object instantiated from C# code compiled through Add-Type has no filename HOT 2
- Null Coalescing not working with empty strings HOT 5
- pwsh does not execute script passed with -file on ubuntu HOT 4
- Implement Custom Operators as part of a module HOT 3
- Copy-UserInternationalSettingsToSystem HOT 4
- Get-ChildItem -File . does nothing on Ubuntu when various Linux files(like dirs, symlinks) present HOT 2
- PowerShell use Chinese character “” just like "" ? HOT 15
- Prompt Scriptblock Reference Link is broken HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershell.