8,381 questions with Windows for business | Windows Server | User experience | PowerShell tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How do sign a self-signed certificate so it isn't reliable on me

I'm about average as a PowerShell person. But all the PowerShell I've authored as for me, specifically. I have no experience at authoring or uses PowerShell scripts to run on a Windows server, to handle tasks. Until now. Here's my scenario. I am on a…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-08-19T21:26:25.18+00:00
Falanga, Rod, DOH 1,170 Reputation points
accepted 2026-08-20T13:47:43.05+00:00
Falanga, Rod, DOH 1,170 Reputation points
2 answers

PowerShell Remoting Double-Hop Authentication Failure

Executing a remote PowerShell script on Server A that attempts to access a file share on Server B fails with Access Denied. How do we configure Credential Security Support Provider (CredSSP) or Kerberos Constrained Delegation to enable multi-hop…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-08-20T04:35:48.7233333+00:00
Ahmad Ibrahim 40 Reputation points
answered 2026-08-20T08:40:00.94+00:00
Domic Vo 29,960 Reputation points Independent Advisor
1 answer

This script is currect or not

$Folders = @( 2 "C:\ProgramData\Tally", 3 "C:\Program Files\Tally.ERP9", 4 "C:\Program Files (x86)\Tally.ERP9" 5 ) 6   7 foreach ($Folder in $Folders) { 8 if (Test-Path $Folder) { 9 Write-Output "Granting access to…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-08-17T09:09:20.72+00:00
Ganesh Singh 0 Reputation points
answered 2026-08-17T09:44:43.87+00:00
Senthil kumar 2,080 Reputation points
1 answer

DNS RRL is dropping legitimate internal queries. How are you handling exceptions?

Hey all, We enabled Response Rate Limiting (RRL) on our authoritative DNS servers to protect against amplification attacks, but now we're seeing legitimate queries from some internal subnets being dropped as well. What's the best way to whitelist trusted…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-08-14T02:36:40.6866667+00:00
Fedda306 Anadi 20 Reputation points
answered 2026-08-14T08:59:35.34+00:00
Domic Vo 29,960 Reputation points Independent Advisor
2 answers

PowerShell - Formatting output of Invoke-Command -ScriptBlock

Hi. I'm having difficulty formatting output of Invoke-Command -ScriptBlock. My goal is to loop through a list of servers in a .CSV and run Invoke-Command on each to get selected key value pairs from the registry. The values I'm looking for is the…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-08-12T22:53:25.5966667+00:00
edited an answer 2026-08-13T01:48:58.8+00:00
Marcin Policht 103.7K Reputation points MVP Volunteer Moderator
1 answer

DSC Local Configuration Manager Stuck in Busy State

Hi, We pushed a DSC configuration to a batch of Windows Servers, but the deployment was interrupted on several nodes. Since then, any attempt to apply a new configuration fails because the Local Configuration Manager (LCM) reports that it is still…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-08-11T05:42:49.8133333+00:00
Advait Mohammad 40 Reputation points
answered 2026-08-11T08:23:41.4833333+00:00
Domic Vo 29,960 Reputation points Independent Advisor
4 answers

Deploy custom background to Microsoft Teams via Intune PowerShell scripts

Hi, I have been asked by my company to find a way to deploy corporate Backgrounds to Microsoft Teams. I found many sites that pushed me towards using Win32 Apps within Intune and the step-by-step guides where easy to follow. However, ever guide/forum I…

Windows for business | Windows Server | User experience | PowerShell
asked 2021-03-22T14:25:01.53+00:00
James Heath 1 Reputation point
answered 2026-08-08T10:40:32.1633333+00:00
ROBIN POULOSE 1 Reputation point
2 answers

Error running Set-AIPFileLabel from Azure PowerShell function - Engine is not initialized, bootstrap might have failed

Trying to remove AIP sensitivity labels from PDF documents using PowerShell Azure Function (triggered by power automate flow passing the file content from SharePoint). Based on this documentation:…

Azure Information Protection
Azure Information Protection

An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.

576 questions
Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

6,537 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2022-07-22T05:56:18.16+00:00
Bartski 1 Reputation point
commented 2026-08-07T16:19:11.34+00:00
Sukumar Vinnakota 316 Reputation points
12 answers

High CPU usage for vmmem

Hi, I have experienced high CPU usage for Vmmem frequently (~every 2days) and the only solution at the moment is simply restart my machine. It is understood that is related to WSL and I do have a Docker image running on Ubuntu on Windows. However it is…

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2023-03-21T19:12:59.2566667+00:00
Steve Lo 135 Reputation points
commented 2026-08-01T15:33:16.41+00:00
David Cheeseman 0 Reputation points
1 answer

JEA Configuration Drift

Hi guys, how can we verify JEA configuration consistency across servers? Thanks! Wilson

Windows for business | Windows Server | User experience | PowerShell
asked 2026-07-29T10:19:36.14+00:00
John Wilson 20 Reputation points
answered 2026-07-29T11:05:47.72+00:00
Marcin Policht 103.7K Reputation points MVP Volunteer Moderator
1 answer

Variable property slow access on first hit

Hello, I hope someone could help me out with some information as I feel like I am losing my mind. I have spent 4 hours troubleshooting a slow 20.000 objects output, only to come down to this and I don't understand what is happening. I am fetching…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-07-24T15:01:59.6+00:00
Alexandru Margoi 0 Reputation points
answered 2026-07-24T16:06:31.3733333+00:00
Xuan Nhu 890 Reputation points Independent Advisor
2 answers

Filter Specific value within ValueCollection

Hello All, I have a variable in PowerShell with the below type Attached is the output value of that variable 237725-lsapi.txt Now the need is to get the referencename within Next value wherever it is available . How can one…

Windows for business | Windows Server | User experience | PowerShell
asked 2022-09-05T07:38:28.22+00:00
Nandan Hegde 36,886 Reputation points MVP Volunteer Moderator
edited an answer 2026-07-23T11:30:17.3066667+00:00
Peter Holpar 6 Reputation points
1 answer One of the answers was accepted by the question author.

How to find verified promo codes and discount deals for Microsoft products and services?

Hi Microsoft Community, I am setting up a custom Windows Server environment for a small ecommerce business. The server is running fine overall but I am facing some issues with custom code deployment and configuration settings that I cannot figure out on…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-07-22T18:18:07.31+00:00
Snatch Savings 20 Reputation points
edited the question 2026-07-23T05:43:06.02+00:00
JuliaMarvin 21,420 Reputation points Volunteer Moderator
1 answer

Powershell script that creates short cuts on Desktop to folders?

I would like a powershell script that when executed, creates a series of Desktop shortcuts, pointing to different folders.

Windows for business | Windows Server | User experience | PowerShell
asked 2026-07-22T21:56:41.89+00:00
Jon Kelly 0 Reputation points
commented 2026-07-23T03:03:44.2766667+00:00
Daphne Huynh (WICLOUD CORPORATION) 985 Reputation points Microsoft External Staff Moderator
5 answers

What is the alternative tool for RSAT for MAC machine?

Hi, We want to install powershell active directory , for that we need Remote Server Administration Tools, Since it is available only for Windows, what is the alternative tool which we can use for RSAT?

Windows for business | Windows Server | User experience | PowerShell
asked 2022-11-28T10:24:49.01+00:00
Krishnamoorthi, Monisha 1 Reputation point
edited an answer 2026-07-15T20:57:50.56+00:00
John 85 Reputation points
2 answers One of the answers was accepted by the question author.

How to manually configure the external postmaster address in Exchange Online not using PowerShell scripts

Hi Please advise if there is another way to manually configure the external postmaster address in Exchange Online not using PowerShell scripts.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

7,371 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2024-04-15T10:11:23.3366667+00:00
Mbali Vilakazi 40 Reputation points
accepted 2026-07-15T11:34:58.5766667+00:00
Mbali Vilakazi 40 Reputation points
1 answer

BAT Files No Longer Open on Double-Click After Upgrading to Windows 11

After upgrading to Windows 11, .bat files no longer execute on double-click. Instead, nothing happens. Prior to the upgrade, these files opened and executed normally in Command Prompt. Here's what I have tried: Attempted to set cmd.exe as the default…

Windows for business | Windows Server | User experience | PowerShell
asked 2025-06-10T07:36:57.0933333+00:00
Varghese, Amal 0 Reputation points
commented 2026-07-11T12:32:05.52+00:00
chris hey 5 Reputation points
2 answers One of the answers was accepted by the question author.

execute powershell command for remote computers at the same time

Hello Team, I am using below powershell command in PowerShell_ISE. Here the first command executes, and it is not going to second computer till the first command completed. Invoke-Command -ComputerName "ComputerA" -ScriptBlock { Dism.exe…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-06-16T13:31:29.3433333+00:00
Boopathi S 4,016 Reputation points
accepted 2026-07-06T06:40:30.4366667+00:00
Boopathi S 4,016 Reputation points
1 answer One of the answers was accepted by the question author.

No Powershell Package Found

I am trying to install Powershell 7 on through WindowsPowershell 5.1. I have 2 questions, why should I install Powershell if I have Windows Powershell 5.1? And as I try to install Powershell 7, I get this message when searching for it using the…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-06-28T16:52:16.9066667+00:00
Britney22775 20 Reputation points
accepted 2026-07-02T00:03:29.99+00:00
Britney22775 20 Reputation points
3 answers One of the answers was accepted by the question author.

hexadecimal value 0x00, is an invalid character. Line 2, position 1

Hi Experts, We are running an PowerShell comment in that PowerShell comment we are calling the XML file and trying to install veeam software. I am getting an error like "hexadecimal value 0x00, is an invalid character. Line 2, position 1."…

Windows for business | Windows Server | User experience | PowerShell
asked 2024-11-07T14:28:11.7+00:00
Jimmy Afflick 100 Reputation points
edited the question 2026-07-01T22:11:48.5433333+00:00
DillanSimmons 41 Reputation points Admin