python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Need help gui background-job double-hop issue and script freezing
I'm having an issue with double hopping scriptblock for background job that either does nothing or freezes the script. Explenation below.
The idea for the script is to get a list of files (very large...
Nawad-sama
Votes: 0
Answers: 1
Rename columns in Select-Object
I have an object with spaces in their properties names. I want to Select-Object @{n='NewName';e={$_.'Old Name'}} for every NoteProperty. Since there is a lot of them, I created this function. Running ...
PollusB
Votes: 0
Answers: 1
Variable in ScriptBlock - Powershell
I have a GUI for my powershell script.
If the folder "Temp" in C: does not exist - create folder and the logging entry "Path C:\Temp does not exist - create folder".
This is an ext...
user18209625
Votes: 0
Answers: 1
Input gets changed inside a scriptblock
I have this script with a scriptblock:
$RoboArgs = @{
Source = '01'
Target = '02'
ExtraArgs = '/e', '/purge'
}
Write-Host @RoboArgs
Start-ThreadJob -InputObject $RoboArgs -ScriptBlock {
. robo...
gargoylebident
Votes: 0
Answers: 1