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

Sort by: Updated
2 answers

Power shell write-progress

Good morning, Using Software center on a closed environment to install various versions of Matlab. MathWorks removed the "automated" feature mode from their installer input file starting with R2020. When a user runs the…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-12T14:35:10.31+00:00
Jcam23 0 Reputation points
commented 2026-03-12T16:30:39.3+00:00
Jcam23 0 Reputation points
2 answers

How do I fix this?

Script exited with code 1: C:\Users\ricke\AppData\Local\Temp\smsgateway_send_f001a63d676c424b94365fee722eade1.ps1 : Send button not enabled + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId :…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-11T18:03:33.4333333+00:00
Robert Christensen 0 Reputation points
answered 2026-03-11T19:12:31.82+00:00
Scott Nguyen 150 Reputation points Independent Advisor
2 answers One of the answers was accepted by the question author.

change local Administrator Password remotely using PowerShell script

Hi, I have 100 Clients machine and want to change local Administrator password remotely and using Power shell script. I have an PS and it works locally fine, but not remotely. What I want, is following: the script should be able to change local admin…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-09T10:10:02.7066667+00:00
SSE@TUE 320 Reputation points
edited the question 2026-03-10T10:15:51.0766667+00:00
SSE@TUE 320 Reputation points
2 answers

How to check and export the application schema extensions on Windows 2012 R2 DC

How to check and export the application schema extensions on Windows 2012 R2 DC

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-06T04:42:48.1066667+00:00
Andrew Ang 0 Reputation points
answered 2026-03-07T15:11:03.8133333+00:00
Tan Vu 235 Reputation points Independent Advisor
3 answers

Install-ADServiceAccount fail with unspecified error creating gMSA

Hello, I tried the script inside how-to-prerequisites to create a gMSA to test Azure AD Connect cloud sync; the script is this: $Name = 'aadsyncgMSA' $Description = "Azure AD Cloud Sync service account for LAB-DC1 server" #$Server =…

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Microsoft Entra ID
asked 2022-12-06T18:20:08.753+00:00
Marco Mangiante 21 Reputation points
commented 2026-03-05T16:32:41.3933333+00:00
Fred Whitehouse 0 Reputation points
3 answers

AD FS Help Diagnostics Analyzer

I tried to create a diagnostic file (export-adfsdiagnosticsfile), but I’m not sure what to do with it. The website where I used to upload it is not working anymore. It says that the site has been moved to a module. So I’m asking — where can I find these…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-02T13:55:58.75+00:00
HanakJ 96 Reputation points
answered 2026-03-04T10:19:27.95+00:00
VPHAN 25,000 Reputation points Independent Advisor
4 answers

Get-Partition & Win32_Volume does not return all volumes and partitions on a disk

Problem I am using Get-Partition command & Win32_Volume class to get the list of partition and volumes in the disk. However, these commands are not returning all the volumes and partitions even though the disk management show the disks and volumes…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-04T09:53:09.5233333+00:00
SaravanaKumar Dhamodaran 0 Reputation points
answered 2026-02-28T15:14:41.32+00:00
Castorix31 91,741 Reputation points
2 answers

Microsoft 365 Deployment Lab Kit - Script error during setup

Hi, I'm trying to install the Microsoft 365 Deployment Lab Kit to do some intune training. https://www.microsoft.com/en-us/evalcenter/download-windows-11-office-365-lab-kit When I go to install it, I receive an error: The term 'get-vmswitch' is not…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-25T18:16:38.42+00:00
Ortman, Kyle 0 Reputation points
answered 2026-02-26T04:32:19.5166667+00:00
Harry Phan 15,915 Reputation points Independent Advisor
2 answers

PowerShell to install the AD DS role

Role Installation: In your sandbox/lab, use PowerShell to install the AD DS role, how do i access powershell This question is related to the following Learning Module

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-25T13:28:18.33+00:00
NIKIWE NYALAMBISA 0 Reputation points
edited an answer 2026-02-26T04:30:41.0333333+00:00
Harry Phan 15,915 Reputation points Independent Advisor
3 answers

Powershell starts up every time on startup.

I keep getting Powershell command on every start up

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-23T18:25:59.12+00:00
Robert Fuentes 0 Reputation points
answered 2026-02-25T09:25:52.7133333+00:00
Chen Tran 8,220 Reputation points Independent Advisor
1 answer One of the answers was accepted by the question author.

Get-aduser documentation

Hi I am looking for documentation for the PowerShell cmd-let get-aduser. Until recently I could find it here: https://learn.microsoft.com/en-us/powershell/module/addsadministration/get-aduser Anyone knows where I can find it on…

Windows for business | Windows Server | User experience | PowerShell
asked 2021-04-17T10:50:05.2+00:00
Thomas Nielsen 146 Reputation points
edited the question 2026-02-24T21:05:41.42+00:00
JuliaMarvin 18,540 Reputation points Volunteer Moderator
3 answers

Set-LocalUser : An unspecified error occurred: status = 3221226252

I am trying to change user password based on below script but getting the error "Set-LocalUser : An unspecified error occurred: status = 3221226252". $pks=Get-Date foreach($pk in…

Windows for business | Windows Server | User experience | PowerShell
asked 2025-01-15T16:09:03.5766667+00:00
Pradeep Mishra 46 Reputation points
commented 2026-02-21T03:01:24.85+00:00
Rohit Ramchandra Shinde 20 Reputation points
2 answers One of the answers was accepted by the question author.

Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2012 (Access denied)

Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2019 (Access denied) after in-place upgrade the windows server from 2012 R2 to 2016 then 2019

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
asked 2024-04-30T04:38:39.93+00:00
Sambhaji Khairnar 20 Reputation points
accepted 2026-02-20T07:24:12.1466667+00:00
Sambhaji Khairnar 20 Reputation points
1 answer

How to resolve New-AzResourceGroupDeployment: - The deployment 'DataBricksDeployment' failed with error(s). Showing 1 out of 1 error(s). Status Message: The definition of application 'Databricks25' cannot be null. (Code:InvalidApplicationDefi

God day Does anyone know what could be causing this error. New-AzResourceGroupDeployment: 10:06:59 - The deployment 'DataBricksDeployment' failed with error(s). Showing 1 out of 1 error(s). Status Message: The definition of application…

Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.

2,852 questions
Windows for business | Windows Server | User experience | PowerShell
asked 2025-01-14T08:32:04.5133333+00:00
Tsholofelo Mautla 26 Reputation points
edited an answer 2026-02-12T09:01:06.9733333+00:00
Adyasha Nayak 0 Reputation points
1 answer

How to run the WinRM service as a different AD user.

Hello. I need two or more WEF servers combined into an NLB cluster. After preparing NLB and WEF, I started configuring WinRM access. Because when accessing the cluster name, I was getting a Kerberos error. What I did: Created a domain account Registered…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-08T20:44:29.8933333+00:00
Denis Pasternak 40 Reputation points
commented 2026-02-11T21:56:07.36+00:00
Denis Pasternak 40 Reputation points
1 answer

How to automate turning off or suspending some Azure services to save money?

What Azure objects can we suspend or turn off outside business hours to save running costs? App Service: The app service implements the message compose experience in the team tab and the messaging endpoint for the bot. Service Bus: The individual…

Azure Cost Management
Azure Cost Management

A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.

4,853 questions
Azure Automation
Azure Automation

An Azure service that is used to automate, configure, and install updates across hybrid environments.

1,485 questions
Azure Policy
Azure Policy

An Azure service that is used to implement corporate governance and standards at scale for Azure resources.

1,173 questions
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
asked 2024-05-05T13:46:36.69+00:00
EnterpriseArchitect 6,346 Reputation points
commented 2026-02-11T17:47:44.77+00:00
Esther Fan 0 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Storage Migration Service stuck on step 2 "Transfer Data" Start the transfer phase

Hello, I have a dedicated Orchestrator VM running WAC on windows server 2022 datacenter. I am running into an issue migrating a 2012r2 server to windows server 2022. I have been able to go through all the steps up to step 2. I was able to successfully…

System Center Orchestrator
System Center Orchestrator

A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.

276 questions
Windows for business | Windows Server | Devices and deployment | Set up, install, or upgrade
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
asked 2024-02-09T13:51:00.5133333+00:00
Spencer 20 Reputation points
answered 2026-02-10T02:57:11.0166667+00:00
TO LA 0 Reputation points
1 answer

Proactive remediation script not executing every hour

I have a detection script configured to return data via remediation scripts which is set to run once every hour, but it does not run for days on some devices on Intne

Windows for business | Windows Server | User experience | PowerShell
asked 2024-08-26T12:54:21.7333333+00:00
Santhoshkumar B Kamar (CONVERGYS CORPORATION) 5 Reputation points Microsoft External Staff
answered 2026-02-09T13:14:49.6+00:00
David Peterson 0 Reputation points
2 answers

'0x8078006B'. Windows Backup Error

trying to run server 2019 backup and get: '0x8078006B'. Windows Backup Error

Windows for business | Windows Server | User experience | PowerShell
asked 2026-02-03T01:00:43.0166667+00:00
Steven Ernst 0 Reputation points
answered 2026-02-03T03:15:23.0233333+00:00
Harry Phan 15,915 Reputation points Independent Advisor
1 answer

Server 2025 açılışta logonUI ekranında kalıyor işletim sistemi açılmıyor bu sorunu nasıl çözebilirim

Lisanslı Lenovo ST50_V3 ve Lenovo Windows server 2025 standart essential 10c alımı yaptım, lisansım geç geldiği için MSDN den standart deneme sürümü yükledim lisansım elime ulaşınca etkinleştirme yapmak istedim hata verdi lisans ile beraber gelen kurulum…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-01-29T19:30:55.43+00:00
R LEVENT 0 Reputation points
answered 2026-02-02T03:05:33.8633333+00:00
Ivy Bui (WICLOUD CORPORATION) 505 Reputation points Microsoft External Staff Moderator