8,364 questions with Windows for business | Windows Server | User experience | PowerShell tags
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
Windows for business | Windows Server | User experience | PowerShell
Restarting a service displays error about dependent services that do not exist
I am trying to grant permissions to a non-admin account so that it can restart a specific service. I have granted access to "Service Control Manager" and relevant permissions to the service itself but when I try to restart the service through…
Windows for business | Windows Server | User experience | PowerShell
Run powershell script using Task Scheduler
I have a script that is reset password of the user. I want to run it use task scheduler every hour once. But is failed. The history of scheduler show the task completed. but the script don't have any out. This is my action set …
Windows for business | Windows Server | User experience | PowerShell
PowerShell script to wipe\reset windows modern devices without user interaction
I attempted to reset a modern Windows device using various PowerShell scripts at different permission levels, including silent mode. However, a prompt still appears during the process. Is there a PowerShell script available that can wipe the device's…
Windows for business | Windows Server | User experience | PowerShell
Is it common that Powershell.sys file be flagged as malware by the antivirus?
I am writing to seek clarification regarding an issue we have encountered with our antivirus software (Bitdefender). Recently, PowerShell version 7.5.1.0 has been auto updated in some of our workstations and the PowerShell.sys file on our system was…
Windows for business | Windows Server | User experience | PowerShell
need help creating a PS script to do full backups; when running the get-pssnappin windows.serverbackup I receive a PS snapin does not exsist
I am currently creating a script to backup my windows servers, but I am running into issues with the server backup snap-in. the error message i get is get-pssnapin : No Windows PowerShell snap-ins matching the pattern 'windows.serverbackup' were found.…
Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade
Windows for business | Windows Server | User experience | PowerShell
reg load will create a new registry file??
I am trying to create a .bat file for modify registry. During debugging, I run the command "reg load HKLM\TempHive C:\Windows\System32\config\Softwarv1235". Surprisingly, The result is "The operation completed successfully", and a new…
Windows for business | Windows Server | User experience | PowerShell
Select and update variables in Single step among multiple steps by same name using powershell cmdlets for Task Sequence
Hi , I am trying to remove one Variable from step Unfortunately we have multiple steps with same name If I use Set-CMTSStepSetDynamicVariable -Stepname <stepname> , this changes all steps by name <stepname> How can select only one…
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Intune | Configuration Manager | Other
Other Configuration Manager-related features and issues