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

Sort by: Updated
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,527 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 101K 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 20,910 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) 905 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,342 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
1 answer One of the answers was accepted by the question author.

Posershell script to install *.cab and *.msu

Hello Team, Share the powershell script to install the below files in remote computeres SSU-26100.8648-x64.cab windows11.0-kb5094126-x64.msu

Windows for business | Windows Server | User experience | PowerShell
asked 2026-06-27T15:40:35.91+00:00
Boopathi S 4,016 Reputation points
accepted 2026-06-29T12:33:26.45+00:00
Boopathi S 4,016 Reputation points
1 answer One of the answers was accepted by the question author.

Powershell command to delete *.msu files under C:\temp and subfolder

Hi, please share the powershell script to to delete *.msu files under C:\temp and its subfolder

Windows for business | Windows Server | User experience | PowerShell
asked 2026-06-27T15:05:02.3166667+00:00
Boopathi S 4,016 Reputation points
accepted 2026-06-27T15:26:30.9833333+00:00
Boopathi S 4,016 Reputation points
0 answers

RBACAccessDenied when deploying budget through deployment stack sometimes

i am deploying multiple deployment stack on management group level for child subscriptions. The service principal has owner og the management group. The service connection is owner on management group level and is owner on the action group connected to…

Windows for business | Windows Server | User experience | PowerShell
asked 2025-03-04T15:56:52.8433333+00:00
Nadia Hansen 5 Reputation points
edited a comment 2026-06-26T14:41:00.99+00:00
MotoX80 37,781 Reputation points
1 answer One of the answers was accepted by the question author.

wbadmin start backup fail

When I use wbadmin start backup cmd to start backup, it fails with the following message. How do I konw which process locked the EFI partition? ================================== wbadmin start backup -backupTarget:z: -include:c:,d: -allCritical -quiet…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-01-12T01:13:18.0066667+00:00
Fiona 145 Reputation points
accepted 2026-06-26T07:52:32.5866667+00:00
Fiona 145 Reputation points
3 answers

Get-PnPList e on SharePoint 2019 will return this error "(403)Forbidden"

I have SharePoint on-premises 2019 and using Site collection administrator i am trying to get a list using PnP Power Shell, the Connect-PnPOnline worked fine, but trying to get any list or site will return this error :- any advice ? i read about…

Microsoft 365 and Office | SharePoint Server | For business
Windows for business | Windows Server | User experience | PowerShell
asked 2022-09-29T11:19:03.967+00:00
john john 1,031 Reputation points
commented 2026-06-21T11:04:04.4366667+00:00
Rabeena Tasleem 0 Reputation points
2 answers

Adding 2048-bit DKIM DNS record via PowerShell doesn't work. 2016 UI works.

I haven't checked 2019 yet but 2016's Add-DnsServerResourceRecord cmdlet can't handle a key that goes beyond the 255 character limit. The mmc for DNS appears to support this just fine. Having a disconnect between the UI and the CLI is really…

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | PowerShell
asked 2021-04-11T13:24:29.877+00:00
Andrew McNaughton 6 Reputation points
answered 2026-06-20T16:14:53.94+00:00
Doug Douglas 0 Reputation points
1 answer

Select-Xml NameSpace

I'm trying to use the XML output from group policy to export all settings to a CSV file. I can get about 60% there. I've noticed the XML file seems to be all over the place when it comes to a pattern. I am trying to learn how to use Select-XML and I…

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2023-04-03T19:51:32.9566667+00:00
ComputerHabit 1,066 Reputation points
answered 2026-06-20T12:28:02.3666667+00:00
david james 0 Reputation points