close
Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
2 replies
76 views

I want to learn how to work with PowerShell and other utilities related to it, like LGPO and others, is there perhaps some quality documentation? although I am a fan of the video format, it would be ...
ixyzkakiksis's user avatar
-2 votes
1 answer
95 views

I have some functions defined in Module.psm1 file. Script.ps1 script imports it and call those functions. The functions are not in Script.ps1 because I'm using ForEach-Object - Parallel. With the ...
KC Wong's user avatar
  • 2,541
0 votes
0 answers
58 views

We updated our agents from 3.238 to 4.268 mid february. Exactly one week later, multiple pipelines started receiving the following error: ========================== Starting Command Output ============...
Simon Junker's user avatar
Advice
2 votes
11 replies
226 views

In Powershell, if I create a Hashtable I can get/set values via pseudo properties $h = @{ } $h.a # returns $null # add a key/value with key 'a' $h.a = 'abc' $h.a # returns 'abc' This is not limited ...
Peyre's user avatar
  • 753
3 votes
3 answers
121 views

I need to disable all Links for a specific GPO using PowerShell. I know the simple command would be Set-GPLink -Name $gpoName -Target $targetPath -LinkEnabled No and that would work if I wanted to do ...
NuckinFutz's user avatar
-2 votes
0 answers
64 views

I am trying to run SQL queries against an Azure managed instance from a Powershell script in an Azure automation account runbook. And I'm getting an "unable to connect" error that looks like ...
Seva Alekseyev's user avatar
0 votes
0 answers
87 views

I've built a Windows task that I want to run in the hours between midnight and 6 AM. It has not yet run in those hours. On occasion it will run at later hours, but not always. The scheduled powershell ...
geoB's user avatar
  • 4,728
-4 votes
0 answers
56 views

I am unable to have a password variable in net use command to work however if I a use a plain text password it works. What changes do I need to make. Any help would be much appreciated. #Authenitcate ...
user3596617's user avatar
4 votes
2 answers
191 views

Have this basic excerpt of a directory structure with folder name containing an &. Music - Massive_Attack - Collected - Mezzanine - Protection - ...
steve's user avatar
  • 41
Advice
2 votes
0 replies
69 views

Context/Goal I am currently finalizing a paper on Windows Shell artifact generation and wanted to share some experimental findings regarding the interaction between applications and `shell32.dll`. My ...
Sakar Joshi's user avatar
Best practices
0 votes
2 replies
118 views

What is the right list of characters for default, top at sorts of operating system as prefix? AAAA 1111 Variation or different. As in DOS, a structure for files and operations at "most important ...
makerofthings7's user avatar
2 votes
1 answer
99 views

Why do I have two different output values when I pass a string of my machine name vs using [Environment]::MachineName.ToString()? Somehow the SHA256 sees them differently and I need them to be seen ...
Bbb's user avatar
  • 743
1 vote
1 answer
121 views

I have a script I have created that throws the following error: The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script ...
RookieMistake's user avatar
-2 votes
1 answer
174 views

Look at the images. After the first word of any command, anything written after that is getting highlighted with a grey background (depends on the theme though and it looks worst on lighter themes as ...
Vaibhav Vishwakarma's user avatar
2 votes
0 answers
112 views

Here is what Windows Settings shows me: I try to get the same list using PowerShell. Here is my script $session = New-Object -ComObject 'Microsoft.Update.Session'; $searcher = $session....
Daniel Fisher  lennybacon's user avatar

15 30 50 per page
1
2 3 4 5
7945