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.

learn more…| top users | synonyms

0
votes
0answers
9 views

Some symbols are not displayed in powershell console [duplicate]

I do have the following problem: I've got IPython. It works flawlessly in my Windows 10 cmd. But I really like Powershell, so I wanted it to run from there. The problem is that whenever I use a Python ...
-1
votes
2answers
35 views

Update Powershell through command line

I want to update a machine's Powershell version. Can this be done through the command line?My present need is to update from PS 4 to PS 5 on a Windows server 2012R2.I guess there is no catch-all ...
0
votes
2answers
52 views

Update-help fails to update two modules

On my computer (Win10 Enterprise x64, 1709) running Update-Help returns two errors: update-help : Failed to update Help for the module(s) 'AutoSequencer, HostNetworkingService, ...
0
votes
0answers
27 views

powershell/cmd suddenly disappears when executing cli programs but they keep on running

I am having issue with my command line. Sometimes when I run some script my powershell/cmd keeps closing/crashing but I know that the program is running because when I open my task manager those ...
-1
votes
1answer
24 views

Get-Acl - skip folders without permissions

I am trying to find a way to identify folders that I don't have access to. I have found this command, which recursively reports the permissions of each folder in the folder tree:dir -recurse | where ...
0
votes
0answers
11 views

PowerShell Core 6 and Windows PowerShell 5 side-by-side? [duplicate]

It’s not clear from any documentation that I can find. I need to maintain my current installation of PowerShell 5.1 (Windows 7x64) because we have utility scripts that rely on it, but I also ...
1
vote
1answer
48 views

Windows 10 - Screen saver with password from batch file

My laptop at work connects to two other screens. Every time I lock the laptop (using WinKey + L) and unlock, all of the open applications move back on to the laptop screen regardless of whether they ...
1
vote
1answer
36 views

Use PowerShell to find each user on a computer and drop a shortcut in their startup

I have a great PowerShell script that will put a shortcut in the all user’s startup folder. The problem is that I have some computers that have users already that need the same shortcut but won’t get ...
1
vote
1answer
27 views

PowerShell regex return 8 consecutive digits only from string

I'm having trouble getting a string to return using replace() where I need to get the numerical digits but only from the digits that are in an 8 character side by side group consecutively. Some of ...
-1
votes
0answers
12 views

Read value of registry key with limited permissions

in read values of registry keys I have nice powershell script to read something from registry. Can anybody tell me if this will do with limited user rights (Main User, no administrative privileges) -...
0
votes
0answers
23 views

Specific Windows Update Download/Install from WSUS using Powershell

I am new to the forum. if I make a mistake, please correct me.I am working on to install windows update via WSUS. I am using company's internal WSUS server to get updates on client's machine. First, ...
5
votes
1answer
193 views

Replace Win10's Powershell with Powershell 6.0.0

The question is simple, even though the answer might not be, but how can I replace Windows 10 default powershell (major 5) with the one on GitHub (Major 6)? If installed normally it'll be installed ...
0
votes
0answers
27 views

Powershell runs, visible on taskbar, but shows no window

(Windows 10). When running powershell, it is visible on the taskbar and task view but when the icon is clicked or it is switched to using alt+tab, the window is not visible.I tried running it using ...
2
votes
2answers
59 views

powershell loop through arrary in arrary

I'm try to write a powershell script to create a folder and then create files inside that folder.$arr=@(("First Folder",@("1", "2")),("Sceond Folderr", @("1","2"))...
0
votes
0answers
21 views

Why I can't import PowerShell Module?

For example I used Install-Module TestModule, it asked me questions and I press Yes After I tried Import-Module TestModule Import-Module : The specified module 'TestModule' was not loaded because no ...

153050per page