I have a Powershell script assigned to the context menu and it has been running fine. Recently, after I've reset my win10 system and then manually reconfigured my whole system Powershell begins to behave weirdly. The script won't be run correctly anymore, after a lot of researches I find that the problem is caused by the Set-Clipboard cmdlet which being the PCSX version when launching through the context menu where it being the original version if I launch powershell manually. How comes it happen? My script has Set-Clipboard with -value parameter which is not present in PCSX version and it causes an error.
Weird behavior when launching powershell through different ways
120 Views Asked by preachers At
0
There are 0 best solutions below
Related Questions in WINDOWS-10
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Spring @Scheduled cron fixed time doesn't work with OS suspension
- Swapping a healthy and unallocated partition in Windows 10
- Installing Docker on Windows 10
- Unexpected OS Shutdown
- Segfault GTK4 on windows 10
- FileSystemWatcher works reliably, unless I write to a log file
- IDT Audio Codec and Driver
- How can I use System.Security.Cryptography.ChaCha20Poly1305 on Windows 10?
- $WinREAgent folder keeps to automatically appear
- Powershell's InvokeVerb("delete") freezes after 22H2 update
- sdkmanager --list Exception in thread "main"
- Batch file wont run in Task Scheduler in Windows 10
- STM32 Not recognized by Windows 10
- C# X509Certificate2 private key disappear when GC occurs
Related Questions in POWERSHELL-V5.1
- Update zipfiles with PowerShell 5 or >. Working code looking for improvement
- Ignore CTRL+C in delay - powershell
- Property passed to Invoke-Command changes type from IDictionary to HashTable
- Restrict parameter to specific type; when using CimInstance
- Get-Package command includes xml string - Need to convert to PSObject
- Interactively kill process using powershell
- Results in single string, need one per line
- How to get PS script to access folders that need admin access
- How can I compress every X subfolder in a folder as a separate rar file
- Weird behavior when launching powershell through different ways
- Selecting multiple strings from the output of command in powershell
- How to print angular brackets in XML using powershell
- powershell ftps upload causing error "DATA connection terminated without ssl shutdown" on stream close
- How can `Get-Command` return "commands" that aren't really commands?
- Write-Information does not show in a file transcribed by Start-Transcript
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

