Skip to main content
0 votes
0 answers
23 views

What I've tried: Using Get-NetTCPConnection but it returns too much information and I can't reliably filter for Ollama: Get-NetTCPConnection -State Listen | Where-Object {$_.LocalPort -gt 11400} ...
Spandan Mukherjee's user avatar
0 votes
0 answers
34 views

when I run the following code in powershell: cls $Name = "SQL_PerfMon_DeepDive" # <-- your set name logman query $Name I get the following result: How can I get the status bit in red ...
Marcello Miorelli's user avatar
4 votes
0 answers
54 views

I am writing a Powershell script which has a function: $CutFiles3 = @(Get-ChildItem $home -Force -Directory -Filter autoruntemp*) This command is slowing down my script and is taking 10 seconds to ...
Sahishnu Shastry's user avatar
-1 votes
1 answer
46 views

It is amazing how the richest software company in the world, Microsoft, is incapable of producing documentation examples that work. Well, I mean their purpose is just to take your money, not really to ...
sdbbs's user avatar
  • 5,994
1 vote
3 answers
41 views

So, I found Time range with Get-WinEvent | Windows 11 Forum: This is one way to get Events in a particular Log between two particular dateTimes: eg: Get-WinEvent -ListLog Application | % {Get-...
sdbbs's user avatar
  • 5,994
3 votes
1 answer
99 views

I have the following monorepo structure in a VS Code Workspace: MyModule └── File A └── Folder A └── Etc... ModuleWrappers └── File B └── Folder B └── Etc... PSProfile └── File C └── File D └── Etc... ...
fmotion1's user avatar
  • 609
4 votes
1 answer
93 views

hope you are all good and wish you all a merry christmas. I am currently having a problem with a script that I need to run on MECM. My scenario is as follows, there is a new laptop in the company and ...
Alexis Angateea's user avatar
2 votes
0 answers
97 views

I recently discovered MethodRental and it seems really interesting, coming from JS, being able to pre-empt existing functions can be a neat hacky get-out-of-jail card for the toolbelt. As an aside, ...
Hashbrown's user avatar
  • 13.2k
3 votes
0 answers
69 views

I am not asking about PowerShell syntax itself. The PowerShell command shown below is executed internally by a VS Code extension (Kilo Code) as part of its environment detection. The command itself ...
Phạm Văn Thịnh's user avatar
Advice
0 votes
7 replies
109 views

PSCore (7+) removes the ConvertFrom-String cmdlet. Is there any alternative module or method for it?
BrandonStudio's user avatar
0 votes
1 answer
61 views

Background I have a PowerShell test script that uses azuresigntool.exe to sign a file using a certificate in an hsm-backed azure key vault (Azure Key Vault - Premium tier). The certificate is a ...
Yousef Imran's user avatar
  • 1,214
1 vote
1 answer
112 views

I am trying to run a powershell script on Microsoft hosted agent "windows-latest" (azure pipeline), It uses below az cli command: $projects = az devops project list --organization "...
Potatojaisiladki's user avatar
3 votes
2 answers
115 views

I am attempting to write a script to connect and load an Oracle database in Powershell 7.4.5. The issue is when attempting to Add-Type -Path <Path to ManagedDataAccess.(Core)dll Powershell throws ...
user1757986's user avatar
1 vote
1 answer
120 views

I am using Microsoft Defender for Cloud in Azure and I want to centrally retrieve all security recommendations for a specific Azure resource (for example, a VM, Storage Account, or App Service) ...
user32062504's user avatar
0 votes
0 answers
102 views

I have 2 different Windows VMs, both with the same version of the Az module (15.1). I am executing the exact same script on both. At a point in the script where the Get-AzStorageBlob cmdlet is called, ...
Cam's user avatar
  • 2,220

15 30 50 per page
1
2 3 4 5
7950