Windows PowerShell is a command line shell and scripting language for Windows that supersedes the CMD.exe shell and batch language. PowerShell is also an automation engine for Windows that provides functionality similar to Windows Script Host and VBScript.

1
vote
3answers
67 views

Keyboard shortcut to open PowerShell from the Desktop

I know there is a keyboard shortcut to run PowerShell from the File Explorer as explained here: Open Powershell as Administrator at Current File Explorer Directory Keyboard Shortcut (Windows 10)But ...
0
votes
0answers
14 views

Is it faster to use WSL commands instead of cmd commands for file manipulation?

On Windows 10, it is possible to manipulate files through the command line via three separate built-in ways: Powershell,the command prompt, and throughbash commands via the WSL (Windows Subsystem ...
0
votes
1answer
28 views

How do I modify an Expandable String Value in the registry with PowerShell or a batch file?

I would like to use a PowerShell or batch script to modify an existing expandable string value to another. Specifically, I want to change the default value atHKEY_CLASSES_ROOT\...
1
vote
0answers
31 views

Can Python Interpreter be run remotely on Windows with PSSession

Running the Python Interpreter on a particular Windows machine locally and remotely using ssh works great. However, Windows does not have a Linux screen equivalent, so I want to switch to using ...
0
votes
1answer
34 views

Can't Export in Powershell

Am new to PowerShell, and I'm trying to make a simple script that lists all folders and files in a drive that shows the last modified date and the size and then export them to a cvs. so far I have ...
0
votes
0answers
20 views

Can Windows powershell insert into an Oracle database?

Through Oracle TNS and/or some sort of ODBC driver, can Windows powershell insert its results into an Oracle database?In pseudo code"powershell> Get-ComputerInfo -Property "CsNumberOfProcessors"...
3
votes
1answer
154 views

Breakpoint bug in Visual Studio Code

Using Visual Studio Code, I’ve discovered what I think may be a bug. I’ve set some breakpoints in some Powershell code and debugged. I then decided to remove the breakpoints (F9) and run again. ...
5
votes
2answers
4k views

How to unpin Windows 10 start menu ads with powershell

From time to time I prepare a new PC for somebody and thought I can unpin programs and ads from menu start using powershell. It worked but only partly. I was able to unpin programs like Calendar & ...
1
vote
2answers
27 views

Windows-to-Linux: Execute a shell script as user process (as bkgrnd) on remote machines

I am trying to do the following:1) Run a shell script on remote machine 1,2,and 3 (all Linux) from Windows machine.2) On my Windows machine I have plink which I am using in the following way:...
0
votes
1answer
169 views

Powershell - Active Directory using admin credentials

I'm trying to powershell script working with my admin credentials.I am still farily new to the "powershell script world" so I have been looking through existing scripts and taping / modifying one ...
1
vote
1answer
34 views

Refresh path in powershell

i'm installing among other things sliksvn subversion client using the powershell command below but during the install i assume it must add the svn executable to the PATH environment variable which ...
9
votes
3answers
22k views

Nano alternative for windows powershell

I am looking for software similar to nano for linux bash but for windows powershell. Is there any built in so I do not have to install something? EDIT Nano is a text editor that runs within the bash....
0
votes
1answer
2k views

Set Firefox as Standard Browser via Powershell

I'm currently creating a deployment image (Win 10 x64). Since I have to use a FOG-Server, I created an Install-user with my powershell script in autostart. The user will be deleted after the script ...
0
votes
0answers
37 views

Windows refuses to set user- and computername during unattended installation

I try to set the names of the computer and the user during an unattend.xml based installation. We're talking the last boot, before the user accounts get activated and the login screen appears. This is ...
1
vote
2answers
101 views

Out-File does not show all my columns

Get-ADComputer -SearchBase "DC=some,DC=website,DC=net" -Filter * -Properties Name,Created,whenChanged,LastLogonDate,Description,IPv4Address,OperatingSystem,OperatingSystemServicePack,...

153050per page