8,367 questions with Windows for business | Windows Server | User experience | PowerShell tags
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
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
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
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
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
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
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
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
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
Import the .nupkg file
Hello, How can i import the .nupkg file to powershell? Please help
Windows for business | Windows Server | User experience | PowerShell
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
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
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
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
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
A family of Microsoft on-premises document management and storage systems.
Microsoft 365 and Office | SharePoint | For business | Windows
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Microsoft 365 and Office | SharePoint Server | Development
The process of building custom solutions for SharePoint Server.
Windows for business | Windows Server | User experience | PowerShell
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
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
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
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
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
how to install powershell?
pool game says it needs development action to continue I don't know how to proceed how to install powershell