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

Sort by: Updated
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 | Other
Windows for business | Windows Server | User experience | PowerShell
asked 2024-02-09T13:51:00.5133333+00:00
Spencer 20 Reputation points
commented 2026-03-26T18:49:59.27+00:00
Renjith Mathew 0 Reputation points
2 answers One of the answers was accepted by the question author.

PowerShell for SQL Server

Hi. I need some help with PowerShell to iterate list of SQL instances and run a query from an inputfile against those instances. It's straightforward enough to read a list of SQL instance names (and port numbers) from a .CSV file using FOR EACH and…

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-25T18:32:10.72+00:00
Cooper, David A. [T4] 40 Reputation points
accepted 2026-03-25T23:12:40.01+00:00
Cooper, David A. [T4] 40 Reputation points
1 answer

How can I use Microsoft Graph (+PowerShell) to copy one user's calendar to a 365 Group calendar?

Hello, I am trying to copy events from one former employee's shared calendar to a 365 Group. I posted in the community earlier today and was directed here for further assistance. The situation: Employee 1 was part of Department A and had a created a…

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft Security | Microsoft Graph
Windows for business | Windows Server | User experience | PowerShell
asked 2024-07-15T21:32:49.4366667+00:00
Darron 0 Reputation points
commented 2026-03-25T08:38:43.3933333+00:00
CsabaV 0 Reputation points
3 answers

List all the options and switches for the microsoft powershell DIR command

Make the list of the DIR command's options, switches and other useful DIR or ls options

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-19T10:04:12.0133333+00:00
Rich Wilk 0 Reputation points
answered 2026-03-25T03:21:19.8133333+00:00
Jason Nguyen Tran 13,975 Reputation points Independent Advisor
3 answers One of the answers was accepted by the question author.

Teams is not visible in Microsoft teams admin center

I have created a group from admin center and add to the Teams It is visible from Microsoft teams as in the image below But if I view from Admin center the teams mark is absent for the group As if I open setting it shows add teams option but if I…

Microsoft Teams | Microsoft Teams for business | Other
Windows for business | Windows Server | User experience | PowerShell
asked 2023-07-20T06:07:16.7666667+00:00
ネパリ サンデャ 520 Reputation points
commented 2026-03-23T19:45:20.0033333+00:00
Mark Krywaruczenko 0 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
commented 2026-03-23T15:42:11.6533333+00:00
Andrew Ang 0 Reputation points
3 answers

How to launch Microsoft Edge to a specific Workspace?

How can I launch Microsoft Edge directly to a specific shared Edge Workspace, ie what is the command line switch? Preferably I would like to launch two workspaces at once; more preferably I would like to launch them on to the last desktop region that…

Microsoft Edge | Microsoft Edge development
Windows for business | Windows Server | User experience | PowerShell
asked 2023-09-11T09:44:11.8766667+00:00
Paul Jefferies 30 Reputation points
commented 2026-03-17T02:52:41.09+00:00
Caffeine Cat 0 Reputation points
2 answers

using "\\?\" prefix

using "\?" prefix with robocopy command in CMD on windows server 2019 received error "the system cannot find path".

Windows for business | Windows Server | User experience | PowerShell
asked 2026-03-16T07:25:15.34+00:00
Chitchai Hemachudha 0 Reputation points
edited an answer 2026-03-16T14:34:11.8466667+00:00
MotoX80 37,351 Reputation points
2 answers

The file is not digitally signed. You can not run this script on this system.

Dear experts, I am using a Windows 11 pc. i have installed the software Visual Studio Code. Where i can give commands in PowerShell. I try to give the command: 'yo @microsoft/sharepoint". And i get the error message: "File can not be loaded.…

Windows for business | Windows Server | User experience | PowerShell
asked 2023-05-03T20:19:50.9533333+00:00
Peter Kiers 96 Reputation points
commented 2026-03-13T12:05:54.0933333+00:00
Dazz Knowles 0 Reputation points
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 225 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
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 =…

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Windows for business | Windows Server | User experience | PowerShell
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 27,200 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,851 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 16,500 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 16,500 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,770 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,720 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