8,370 questions with Windows for business | Windows Server | User experience | PowerShell tags
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
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
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
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
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
A family of Microsoft on-premises document management and storage systems.
Windows for business | Windows Server | User experience | PowerShell
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
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
Can return codes from usoclient.exe be captured in PowerShell
When using Invoke-Command or Start-Process -wait with usoclient.exe, what are the expected return codes?
Windows for business | Windows Server | User experience | PowerShell
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…