5,363 questions with Windows Server PowerShell tags

Sort by: Updated
0 answers

Connect-OrganizationAddInService using Entra ServicePrincipal ID

I am trying to find if someone has successfully done this, basically automatize the deployment of an Add-in to Office 365 Client Secret: "1111111111111111111" (This is a secret that should be protected and not shown, I am having a look how to…

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,175 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,464 questions
asked 2024-04-25T20:01:49.8666667+00:00
Juan Perez 0 Reputation points
edited the question 2024-04-25T20:06:21.4133333+00:00
Juan Perez 0 Reputation points
2 answers

Windows Powershell and Visual Studio Running Extremely Slow

Hello, I work as an IT support engineer for my company and a user reached out to me saying that they have been experiencing issues with their VS code and Powershell commands running very slow. I recreated the same environment on my laptop, and I had the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,603 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
asked 2024-04-24T19:29:34.0733333+00:00
Daniel Bulakh 0 Reputation points
commented 2024-04-25T19:52:27.45+00:00
Rich Matheisen 44,776 Reputation points
1 answer

SQL server backup in a 2019 VM to s3 using backup URL

Hi I have set up a Windows Server 2019 VM with SQL server 2016. I want to take the backup of SQL server in AWS S3. It should have monitoring and auditing capability and cost effective and secure. I have looked at below…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,705 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,122 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2024-04-18T04:47:01.0433333+00:00
Pradeep 21 Reputation points
commented 2024-04-25T02:58:23.2+00:00
LucyChen-MSFT 885 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Deactivate a DHCP scope using Powershell

Hello, I was wondering has anyone deactivated DHCP scopes using Powershell below? I'm just learning how to use Powershell and I know how to update Scope Options using Powershell but I was wondering can you Deactivate it using PowerShell? I would like…

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,021 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2021-10-28T14:45:14.463+00:00
Mike R 81 Reputation points
commented 2024-04-25T02:57:20.1266667+00:00
Rich Matheisen 44,776 Reputation points
3 answers

export the output

Hi all i want to execute the below syntax on few servers and i have created a collection and added the Servers to it. When i execute manually from powershell i get the output but i want to export that output to a text file under c:\windows\Temp folder.…

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
902 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
458 questions
Microsoft Configuration Manager
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
asked 2024-04-24T05:05:14.7+00:00
Rising Flight 3,731 Reputation points
answered 2024-04-24T18:49:01.1133333+00:00
Rich Matheisen 44,776 Reputation points
2 answers

Installing VS build tools with out any prompt

I am using following script to VSbuild tools 2022, but what is happening it makes to go that folder and run manually even I have provided arguments in the below script which should not to prompt for window, script: Create the 'C:\software' directory if…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,603 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2024-04-21T05:57:43.6766667+00:00
Varma 1,100 Reputation points
answered 2024-04-24T15:24:02.7033333+00:00
Rich Matheisen 44,776 Reputation points
0 answers

Risk and consequence when executing Kerberos password reset in a Hybrid Azure AD - OnPremise AD DS?

What are the risks and consequences of resetting the Kerberos krbtgt account during business hours using the steps defined…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,851 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,464 questions
asked 2024-04-24T12:19:23.93+00:00
EnterpriseArchitect 4,741 Reputation points
edited the question 2024-04-24T12:20:26.2133333+00:00
EnterpriseArchitect 4,741 Reputation points
1 answer

Problemas com a opção "Alterar a senha no proximo logon"

Prezados, bom dia!!! Estou com o seguinte problema e gostaria de entender se mais alguém já passou pelo mesmo: Minha infraestrutura funciona normalmente, porém, quando vou até um usuário e habilito a opção "Alterar a senha no próximo login",…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,122 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
241 questions
Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
513 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
Microsoft Entra
asked 2024-04-23T13:20:20.49+00:00
Guilherme Ferraz | Nano TI 0 Reputation points
answered 2024-04-24T05:24:38.3733333+00:00
Yanhong Liu 1,780 Reputation points Microsoft Vendor
0 answers

PowerShell ISE script to access Azure Secrets and Azure Certificate Thumbprint using TenentID

Hello All, I am looking for guidance on writing PS ISE script to get Azure Secrets and Azure Certificate Thumbprint using TenantID. Any help would be highly appreciated. 

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
asked 2024-04-22T19:11:16.91+00:00
Hemant 1 Reputation point Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how can I find email address, cn number etc. in Get-CalendarDiagnosticObjects DisplayAttendeesAll names ?

Good Day Friends, I want to take calendar events with attendee list, by that I'm using CalendarDiagnosticObjects in PS, but in DisplayAttendeesAll part it's just showing the names. There are several people in the organization or in meeting request (as…

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,175 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
asked 2024-04-17T07:13:22.0166667+00:00
Guney 40 Reputation points
accepted 2024-04-22T08:04:07.76+00:00
Guney 40 Reputation points
2 answers

Cannot connect to ISCSI target Server

Hello dear all, I have this issues when i'm trying to connect this to iSCSI initiators (sea-svr1 & sea-svr2) to my target server (sea-dc1). First of all, i had installed Failover clustering into my two initiators, then installed the…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,457 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
958 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2024-04-18T09:05:07.7733333+00:00
Simon ETOUNDI 0 Reputation points
answered 2024-04-22T06:54:02.6166667+00:00
Alex Bykovskyi 1,681 Reputation points
1 answer

How to BULK GROUPS to a User

Hello, As part of our onboarding process we are required to create user accounts in Microsoft admin center. Once created, we need to add this user to multiple different groups. The process to do this in the admin center is incredibly frustrating and is…

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,464 questions
asked 2024-04-17T00:55:26.9633333+00:00
John Corporal 0 Reputation points
commented 2024-04-22T04:27:59.7433333+00:00
Navya 3,915 Reputation points Microsoft Vendor
2 answers

Download error - 0x80080005, can't update

updates 2024-04 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 22H2 for x64 (KB5036620) and Windows 11, version 23H2 don't download. I've tried many things, its been like this for months for the first update. The second one…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,617 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,746 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,122 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,162 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2024-04-20T22:50:47.6366667+00:00
edited an answer 2024-04-22T01:31:30.06+00:00
Hania Lian 7,711 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Azure Cloud Shell error while deploying powershell scripts

I'm trying to create resources in azure using ARM templates via Powershell scripts and I'm trying to run the script in Azure Cloud Shell it used to successfully deploy previously, but currently I'm facing this issue frequently & there were no code…

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
635 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2022-04-11T06:11:13.003+00:00
Shivangi Devgun 31 Reputation points
commented 2024-04-19T17:30:02.53+00:00
Bollwerk, Pete 41 Reputation points
1 answer

How to get list of all attribute in AD

Hello, How To get list of all attribute in AD(default and custom attribute ) in csv file. Thanks Rich

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,851 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
asked 2024-04-19T11:35:32.11+00:00
Richa Kumari 286 Reputation points
commented 2024-04-19T15:31:20.1066667+00:00
Rich Matheisen 44,776 Reputation points
1 answer

Need some help to target the Group Policy to enable the NTLM audit?

I must audit any computers still using NTLM v1 in my AD Domain. Do I need to enable these group policies for all Windows servers and workstations in my AD Domain or just the Domain Controllers? Computer Configuration\Windows Settings\Security…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,851 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,754 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,720 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
asked 2024-04-18T12:53:32+00:00
EnterpriseArchitect 4,741 Reputation points
answered 2024-04-19T06:01:42.2733333+00:00
Yanhong Liu 1,780 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Powershell Module

Hi All I have a Azure Virtual Machine which is running on Windows Server 2012 R2, i want to decommission this VM. This VM has many powershell modules installed. I came up with a new 2019 VM. I want to install the same PowerShell modules on the new VM.…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,457 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,370 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,053 questions
asked 2024-04-14T06:41:43.02+00:00
Glenn Maxwell 10,146 Reputation points
accepted 2024-04-18T21:27:34.2566667+00:00
Glenn Maxwell 10,146 Reputation points
0 answers

How to change SQL Server Failover Cluster IP addresses with PowerShell

Hello, I am trying to create a script that will change Windows Failover Cluster and SQL Server Cluster IP addresses. I can do this by using Failover Cluster Manager GUI, but I need to script it in PowerShell. I cannot find any information on how to…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,705 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2024-04-18T20:07:43.18+00:00
Yana Glozman 0 Reputation points
2 answers

OpenSSL upgrade on windows servers

The version of OpenSSL installed on the remote host is prior to 3.0.14. It is, therefore, affected by a vulnerability as referenced in the 3.0.14 advisory.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,457 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,122 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2024-04-16T18:39:49.9933333+00:00
Spence, Jodi-Ann [USA] 0 Reputation points
commented 2024-04-18T19:20:06.1033333+00:00
MotoX80 31,571 Reputation points
2 answers

Connect-Exchange Online (Error while sending the request)

Hello, I'm getting the below Error while connecting to Exchange Online (PowerShell Script) when called from .Net Application. #Import-Module ExchangeOnlineManagement #Connect-ExchangeOnline -Credential $Creds An error occurred while…

Microsoft Exchange Online
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
507 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,886 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,363 questions
asked 2023-11-20T10:17:36.3+00:00
AW13-2828 10 Reputation points
commented 2024-04-18T17:00:52.2566667+00:00
Aws Ayad 0 Reputation points