Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

I'm working on a script that will get all computer objects under an OU and all sub OUs to include Last logon date, Operating system, enabled true or false and then split the distinguished name then ...
1 vote
2 answers
83 views

I have a list of directories in a text file I am trying to do some work with and keep getting this error after reading them into a Powershell script and trying to do directory related tasks with them (...
-1 votes
0 answers
54 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 ...
4 votes
0 answers
80 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 ...
-3 votes
1 answer
67 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,990
1 vote
3 answers
57 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,990
3 votes
1 answer
111 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... ...
4 votes
1 answer
95 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 ...
2 votes
0 answers
100 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, ...
3 votes
0 answers
73 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 ...
Advice
0 votes
7 replies
115 views

PSCore (7+) removes the ConvertFrom-String cmdlet. Is there any alternative module or method for it?
0 votes
1 answer
63 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 ...
1 vote
1 answer
117 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 "...
3 votes
2 answers
116 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 ...
1 vote
1 answer
128 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) ...

15 30 50 per page
1
2 3 4 5
...
7950

AltStyle によって変換されたページ (->オリジナル) /