8,367 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 to disable all aliases in PowerShell

Hello, I want to disable the use of aliases (to avoid typing incorrect command abbreviations) in PowerShell 7.6.3. To do this, first: For $PROFILE + Temporary Session I tried some commands that delete all aliases, writing them in the $PROFILE…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-06-18T11:59:45.9466667+00:00
MovelessMove-0585 250 Reputation points
accepted 2026-06-18T12:48:19.1366667+00:00
MovelessMove-0585 250 Reputation points
2 answers

Powershell Command line to ignore WARNING: Attempting to reconnect to Computer-A

Hello, I am using the below command to connect devices remotely. If Computer-A is disconnected from network then it is keep trying to connect again. is there any command line to add so that it will move to next computer if it is not reachable in…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-06-17T17:26:56.1+00:00
Boopathi S 3,951 Reputation points
answered 2026-06-17T18:22:25.42+00:00
HLBui 7,000 Reputation points Independent Advisor
2 answers

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 3,951 Reputation points
answered 2026-06-16T14:14:42.6266667+00:00
Harry Phan 22,550 Reputation points Independent Advisor
2 answers

running a cmd within powershell

I am trying to run a cmd file through powershell. The file is located in a folder inside Program Files. I have tried invoke-item -path "c:\program files\myProgram\myfile.cmd" which gave me cmd file not found message. Then, I tried to…

Windows for business | Windows Server | User experience | PowerShell
asked 2021-06-07T20:54:51.92+00:00
Hippopotamus Defence 116 Reputation points
answered 2026-06-15T22:09:26.82+00:00
Alvin 0 Reputation points
4 answers

How do we fix 0x8a15000f : Data required by the source is missing?

I Am trying to run winget on a widows 11 pc and keep getting the error 0x8a15000f : Data required by the source is missing. Have done update reset and still get the issue with the same error.

Windows for business | Windows Server | User experience | PowerShell
asked 2024-05-29T13:34:46.4066667+00:00
Campbell, Joseph 0 Reputation points
answered 2026-06-02T20:16:58.9466667+00:00
William Li 0 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
answered 2026-06-02T09:58:37.95+00:00
chris hey 0 Reputation points
2 answers

KB5082198: PowerShell cannot access certificate private keys after April 2026 Windows Server update until certificates are re-imported

After installing the April 2026 cumulative update KB5082198 on Windows Server 2016, we observed problems accessing private keys of certificates from PowerShell. Environment: OS: Microsoft Windows Server 2016 Update: KB5082198, OS Build 14393.9060 …

Windows for business | Windows Server | User experience | PowerShell
asked 2026-06-01T10:38:00.84+00:00
Stefan Bretschneider 0 Reputation points
answered 2026-06-01T11:21:26.9+00:00
Jason Nguyen Tran 20,115 Reputation points Independent Advisor
3 answers

Command - rename all pdf files in directory (and subdirectories) with sufix _YYYYMMDD-HHMM

Hello, exist any possibility how to create cmd/powershell command to find (in directory and in all subdirectories) all pdf files, read data of create pdf file (YYYYMMDDHHMM) and rename all PDF file with new sufix "_YYYYMMDD-HHMM" e.g.…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-05-26T14:56:47.46+00:00
Salka, Milan 111 Reputation points
answered 2026-05-28T06:50:31.5733333+00:00
Tsingtao Kai 80 Reputation points
2 answers

Command - find all files with oldest sufix and move it to _backup subdirectory

Hello, exist any possibility how to create in cmd/powershell command to find (in one directory) all pdf files, and all with oldest sufix move to _backup subdirectory. Example. Content of…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-05-26T15:06:57.1533333+00:00
Salka, Milan 111 Reputation points
answered 2026-05-26T15:59:19.3233333+00:00
HLBui 7,000 Reputation points Independent Advisor
2 answers

Import the .nupkg file

Hello, How can i import the .nupkg file to powershell? Please help

Windows for business | Windows Server | User experience | PowerShell
asked 2024-05-06T15:28:43.7033333+00:00
Boopathi S 3,951 Reputation points
commented 2026-05-25T14:15:52.3433333+00:00
Janne Kujanpää 266 Reputation points
1 answer

Windows powershell keeps randomly opening for a split second..

Well the main issue is when i log into my pc after like 10-20 minutes. The windows powershell randomly opens up for a split second. this usually happens in every 20-30 minutes. I really dont know what thing is causing this issue? PLease somebody help me…

Windows for business | Windows Server | User experience | PowerShell
asked 2025-04-24T06:21:15.81+00:00
Jaskirat Singh 10 Reputation points
commented 2026-05-21T17:25:08.9133333+00:00
Sudhanshu Madavi 0 Reputation points
3 answers

How to uninstall Microsoft Store app on a remote computer?

I'm a Tier II tech with several tickets to uninstall Microsoft Store apps. The user's have been unresponsive to my requests for a remote session so I'm trying to find a way to use PowerShell. I've tried using the Remove-AppxPackage -Package…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-05-18T21:34:53.7566667+00:00
Webb, Mike 80 Reputation points
answered 2026-05-21T13:00:29.8633333+00:00
Webb, Mike 80 Reputation points
3 answers One of the answers was accepted by the question author.

Is there an official PowerShell style guide?

Shortly after Java was released, Sun issued a style guide. I've been looking for an "official" (from Microsoft) style guide for PowerShell and the only thing I can find is a "PowerShell-Docs" guide, which mainly focuses on…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-05-18T18:40:35.66+00:00
THEOBALD K 85 Reputation points
commented 2026-05-20T07:37:46.8233333+00:00
VPHAN 36,170 Reputation points Independent Advisor
3 answers

Powershell ISE Illegal characters in path with literalpath

Hello! I have encountered the problem of running PowerShell cmdlets using "LiteralPath" in PowerShell ISE, when folder is existing. Error message: Get-ChildItem : Illegal characters in path. At line:1 char:1 + Get-ChildItem -LiteralPath…

Windows for business | Windows Server | User experience | PowerShell
asked 2024-05-27T08:27:00.97+00:00
Step to IT 125 Reputation points
answered 2026-05-16T22:27:32.46+00:00
Joachim Otahal 21 Reputation points
5 answers One of the answers was accepted by the question author.

Connect-SPOService : No valid OAuth 2.0 authentication session exists ?

How to fix the issue to connect to SharePoint Online using PowerShell like below? Because when I am using the PowerShell ISE, and then the command: Connect-SPOService -Url 'https://CompanyName-admin.sharepoint.com' I got the error:…

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | SharePoint Server | Development
Windows for business | Windows Server | User experience | PowerShell
asked 2023-02-20T02:47:20.1466667+00:00
EnterpriseArchitect 6,386 Reputation points
commented 2026-05-14T21:49:25.1366667+00:00
Nate Y 5 Reputation points
4 answers

SMB shared path issue

Hi, On Powershell (of server 2025), I shared the SMB path like but I got the problem below to access the shared path. Please help.

Windows for business | Windows Server | User experience | PowerShell
asked 2026-05-08T03:03:15.6866667+00:00
Scott Huang 3,511 Reputation points
commented 2026-05-12T10:20:53.0266667+00:00
AgaveJoe 31,361 Reputation points
1 answer One of the answers was accepted by the question author.

How to set msExchMailboxGuid with Set-ADUser command

Hi all, I get users information (PrimarySMTPAddress,Alias,SamAccountName,FirstName,LastName,DisplayName,Name,ExchangeGuid,ArchiveGuid,LegacyExchangeDn,EmailAddresses) by Get-Mailbox command Then export them to XML file (Export-Clixml) or CSV file…

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,267 questions
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
asked 2023-02-10T07:45:29.95+00:00
Jack Chuong 436 Reputation points
commented 2026-05-11T15:58:44.8466667+00:00
CARLOS ANDRES BUITRAGO C 0 Reputation points
2 answers One of the answers was accepted by the question author.

DNSServerQueryResolutionPolicy Not Blocking

This is somewhat related to a similar issue I posted about a few days ago here. I have DENY policies in place for two subdomains and I'm able to get them to ping successfully with no issues. I had these set to IGNORE before, but due to me…

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | PowerShell
asked 2022-03-29T16:29:46.643+00:00
agfreesafety3 41 Reputation points
edited a comment 2026-05-08T12:58:44.7733333+00:00
Sebastian Cerazy 351 Reputation points
4 answers

How to Ping a list of Computer in PowerShell

Hi everybody! I have a list of Computers with IP ListOfComputerIP.txt like this: 192.168.1.2 - John'PC 192.168.1.3 - Tim'PC 192.168.1.4 - Green'PC Now I need a loop command to Ping all that Computer via IP to check every single computer Up or…

Windows for business | Windows Server | User experience | PowerShell
asked 2021-01-30T11:05:38.047+00:00
Liem Nguyen 91 Reputation points
edited a comment 2026-05-08T12:08:54.1933333+00:00
Henry F. Capraro 0 Reputation points
2 answers

how to install powershell?

pool game says it needs development action to continue I don't know how to proceed how to install powershell

Windows for business | Windows Server | User experience | PowerShell
asked 2025-11-14T03:33:35.5133333+00:00
milton bullock 0 Reputation points
commented 2026-05-07T04:09:07.21+00:00
Ed Pleva 20 Reputation points