Skip to main content

Questions tagged [powershell-5.0]

For questions specific to Powershell Version 5

2 votes
1 answer
54 views

I have binary data on Linux which I need to transfer to Windows to which I have an ssh access. The data is stored in pass thus I would prefer not to first store it to a temporary file and then ...
Peter Jankuliak's user avatar
1 vote
0 answers
83 views

I have below script and i am trying to connect to DB via PowerShell but getting error "Exception calling "Open" with "0" argument(s): "Login failed for user". # ...
user2027720's user avatar
1 vote
1 answer
136 views

I needed to update some drivers on some Win11 installation thumb drives we have. These were made via the Media Creation Tool from MS so, these aren't some fancy homemade images. The thumb drives ...
RKillcrazy's user avatar
0 votes
1 answer
186 views

I would like to run a package for Python, py-causal, that uses a Java library, Tetrad. I am stuck at getting Java on Windows 10. The Tetrad repo has a link to this Amazon page, where I ended up on the ...
heretoinfinity's user avatar
-1 votes
2 answers
396 views

PS 5.1.22621.4391 (and I'm stuck with it) Sometimes I need to run this: plink -t -load "$Session" -batch -m $ShellFile but sometimes I need to add another option: plink -t -load "$...
RonJohn's user avatar
  • 467
4 votes
1 answer
485 views

PSVersion 5.1.22621.4391 plink: Release 0.82 I've pored through Properly escape awk command from powershell over plink but one of those programs keeps eating single quotes. Is there any way to run ...
RonJohn's user avatar
  • 467
0 votes
0 answers
406 views

I have a similar problem to the one mentioned in Windows PowerShell: Get-FileHash and long file paths , generating the same error but it is not connected to path length as is there. With code: Get-...
Łukasz Małarzewski's user avatar
0 votes
1 answer
74 views

Why is it so hard to have a powershell profile which does certain things only if it is executed inside an interactive host. With Linux shells it is quite easy to differentiate between profile and rc ...
eckes's user avatar
  • 1,350
0 votes
0 answers
385 views

this is the script I'm working with # Define the top-level folder and the list of files $topFolder = "C:\Windows\System32" # Update to System32 directory $files = @( "mstsc.exe&...
garrett aguiar's user avatar
2 votes
1 answer
1k views

We have some windows.db files on a few machines that have grown to massive sizes in Windows 11; and I was wondering how to use Powershell 5 to clean these up. I am aware of the Control Panel’s ...
leeand00's user avatar
  • 23.7k
0 votes
1 answer
996 views

Long-time issue, haven't gotten anywhere. Windows Server 2019 Datacenter (1809 - OS Build 17763.5576), Enterprise environment with 14 physical servers, all same OS. When I launch powershell in this ...
MattyBernstein's user avatar
0 votes
0 answers
1k views

I frequently need to diagnose network connectivity issues and I'm currently using Test-NetConnection in PowerShell (Version 5.1). The output tells me if a port is reachable. In case it's not, I would ...
everdream's user avatar
1 vote
0 answers
38 views

Below List of Modules was installed on PowerShell 7 (a.k.a PWSH) in my PC: AzureAD ManageBootStick PoshFunctions PowerShellAI PowerShellAI.Functions PowerShellAIAssistant PSWriteColor SMBIOS SysInfo ...
Mr.Key7's user avatar
  • 977
2 votes
1 answer
6k views

Having an issue that I cannot seem to find any information on. I'm using the Get-WindowsUpdate and Get-WUList modules in PowerShell to attempt to download and install Windows updates. $...
RussellLMiller's user avatar
0 votes
1 answer
130 views

I'm sure this is an easy one for the community, but it's got me puzzeled. If I create a var in PS, say "$s" then assign "systeminfo /s {hostname}" to the var ($s = systeminfo /s {...
Dale's user avatar
  • 43

15 30 50 per page
1
2 3 4 5
9