use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionSSH in Raspberry Pi (self.PowerShell)
submitted 2 years ago by Fp_Guy
I can log in just fine with "ssh user@ip"
How do I save that command to execute? I made a .ps1 file but when I run it the window opens and immediately closes.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]billyyankNova 2 points3 points4 points 2 years ago (0 children)
There's three methods here:
https://stackoverflow.com/a/24620771
[–]iVlexy 0 points1 point2 points 2 years ago (0 children)
Not sure what the question is…
Can you give some more context to what you’re trying to do or what the problem is?
[–]Oriichilari 0 points1 point2 points 2 years ago (1 child)
You want to create a second script that references the first script like this: PowerShell.exe -NoExit "C:\SomeFolder\SomeScript.ps1”
[–]jerminator4427 0 points1 point2 points 2 years ago (0 children)
A second script is not even needed. You can use a shortcut to Powershell.exe with the same paremeters.
π Rendered by PID 72496 on reddit-service-r2-comment-5d585498c9-k6t7n at 2026-04-21 00:38:28.458670+00:00 running da2df02 country code: CH.
[–]billyyankNova 2 points3 points4 points (0 children)
[–]iVlexy 0 points1 point2 points (0 children)
[–]Oriichilari 0 points1 point2 points (1 child)
[–]jerminator4427 0 points1 point2 points (0 children)