A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://stackoverflow.com/questions/tagged/powershell below:

Newest 'powershell' Questions - Stack Overflow

-2 votes

1 answer

26 views

Selective File Copy and Removal in Directories Containing a Specific File

I need a PowerShell solution that will: Recursively scan a directory tree ($rootDir) to find all subdirectories containing a specific file (wizard-min.js) Copy specified files ($filesToCopy) from a ...

asked 12 hours ago

0 votes

1 answer

30 views

Powershell: Using dimensions on Microsoft.Compute/virtualMachines metrics [duplicate]

I am following https://learn.microsoft.com/en-us/azure/azure-monitor/reference/supported-metrics/microsoft-compute-virtualmachines-metrics to export some metrics from Azure. If build some code that ...

asked 19 hours ago

1 vote

0 answers

37 views

How to setup a Remote PowerShell using WSManConnectionInfo in C# using Certificate Authentication?

I am trying to create a Remote PowerShell (RPS) that will form connection between machines to execute RPS Commands. I have this following example setup "HostPC with C# console application (that ...

asked yesterday How to $null "On-premises immutable ID" in bulk using Powershell

I am trying to set the value of users "On-premises immutable ID" in O365/Entra to $null in bulk. I recently removed users from the sync location on the AD Server and restored them in O365 to ...

asked yesterday

1 vote

2 answers

84 views

I need to write a powershell script that will modify certain tags within an html file

I need to write a powershell script that will look for a particular <h1> tag based it's innerText and then modify the innerText values of any <code> tags beneath that <h1> tag. Below ...

asked yesterday How can I use Invoke-Command with WSMan in PowerShell 7 if "Powershell.7" endpoint does not exist?

I’m trying to run a remote command using Invoke-Command over WSMan in PowerShell on my local machine. Here’s my test script: $server = 'localhost' Invoke-Command -Authentication Negotiate -...

asked yesterday

3 votes

1 answer

64 views

How to setup a remote Powershell communication between devices using c# with Kerberos/Certificate?

I have this setup, I have a HostPC which will connect with say two remote PCs in order to run PowerShell commands. So, I will be using WSManConnectionInfo for this with HTTPS. I am just stuck around ...

asked yesterday

-4 votes

0 answers

44 views

How to write Powershell script to extract all the dlls info with their signature property (true/false) and create an XML output in a specific format [closed]

I want to have a Powershell script that takes all the dll info from exe folder as post build event and write XML in below format: <Trustedfolder> <Folder path=somepath checkforSign=true&...

asked 2 days ago

1 vote

0 answers

29 views

How to build an MSIX package in a windows docker container

I am trying to install MSIXPackagingtoolv1 in a docker image on windows and I am getting a variety of errors. Here is my Dockerfile: FROM mcr.microsoft.com/dotnet/sdk:8.0.411-windowsservercore-...

asked 2 days ago PowerShell dynamicparameter autocompletion does not (always) work

I've got the following script (I need to use Windows PowerShell 5.1 :( ) : function New-User { [CmdletBinding()] Param( [Parameter(Mandatory=$true)] [ValidatePattern("^[a-...

asked 2 days ago

1 vote

0 answers

47 views

Set Date Format In Multi Table Powershell CSV Export

I am working with a Powershell script, using DBATools, which exports data from multiple tables to individual CSV files. In the tables, I am needing to reformat the date to yyyy-mm-dd. I found the ...

asked 2 days ago

1 vote

4 answers

96 views

Replacing multiple lines in XML with PowerShell

I have multiple XML files (with different file names) where I need to replace elements and text with new values, but only if they are contained in a specific root element. I'm rather new to replacing ...

asked Jul 9 at 1:39

0 votes

0 answers

28 views

Pull data from Status email and insert that status into a specific excel sheet [closed]

I am trying to put together a template PowerShell script that can pull certain status health data from a health status report in outlook and take that status (either be green, yellow or red depending ...

asked Jul 8 at 20:41

0 votes

0 answers

61 views

Using Powershell to change filedates

Short story: saved pictures from phone to computer, preserved last modified date, destroyed created date. So in wanting to restore them to the phone, and preserve the order in which they were made in ...

asked Jul 8 at 19:20

0 votes

0 answers

28 views

Having an issue updating safe membership permissions using PSPAS or direct API call

From what I can tell CyberArk has an issue updating domain groups' permissions to a safe via the PSPAS module (or API) because they include a "/" in their name, i.e. DOMAIN/VAULT-GROUP. It ...

asked Jul 8 at 16:05

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4