5,355 questions with Windows Server PowerShell tags

Sort by: Updated
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,821 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,355 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,036 questions
asked 2024-04-19T11:35:32.11+00:00
Richa Kumari 286 Reputation points
answered 2024-04-19T12:38:26.8233333+00:00
Marcin Policht 9,270 Reputation points MVP
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,821 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,747 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,717 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,355 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,036 questions
asked 2024-04-18T12:53:32+00:00
EnterpriseArchitect 4,721 Reputation points
answered 2024-04-19T06:01:42.2733333+00:00
Yanhong Liu 1,550 Reputation points Microsoft Vendor
1 answer

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,444 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.
956 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,355 questions
asked 2024-04-18T09:05:07.7733333+00:00
Simon ETOUNDI 0 Reputation points
answered 2024-04-19T03:54:06.3166667+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 29,486 Reputation points Microsoft Vendor
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,355 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,382 questions
asked 2024-04-17T00:55:26.9633333+00:00
John Corporal 0 Reputation points
commented 2024-04-19T03:43:04.4366667+00:00
Navya 3,755 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,444 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,368 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,355 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,036 questions
asked 2024-04-14T06:41:43.02+00:00
Glenn Maxwell 10,106 Reputation points
accepted 2024-04-18T21:27:34.2566667+00:00
Glenn Maxwell 10,106 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,644 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,083 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,355 questions
asked 2024-04-18T04:47:01.0433333+00:00
Pradeep 21 Reputation points
edited the question 2024-04-18T20:35:21.2933333+00:00
KarishmaTiwari-MSFT 18,352 Reputation points Microsoft Employee
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,644 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,355 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,444 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,083 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,355 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,561 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.
505 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,874 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,355 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
0 answers

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,164 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,355 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,036 questions
asked 2024-04-17T07:13:22.0166667+00:00
Guney 20 Reputation points
commented 2024-04-18T09:54:47.0466667+00:00
Mike Hu-MSFT 0 Reputation points Microsoft Vendor
4 answers

powershell The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail

I have a powershell script which is set to run then send me an email using O365. if I run the script using ISE it is successful and i get the email, however if i run the script using Powershell (as admin) I get the error "The SMTP server…

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,355 questions
asked 2022-09-21T14:15:19.29+00:00
Peter Smith 1 Reputation point
commented 2024-04-18T05:37:38.11+00:00
benítez | sistemasmiral.com 0 Reputation points
1 answer

how to fix this error : Method invocation failed because | [Deserialized.Microsoft.IIs.PowerShell.Framework.ConfigurationElement#bindings#binding] does not contain a | method named 'AddSslCertificate'.

Hello, I'm trying to automate the creation of the SSL certificate in the iis server i wrote a powershell that do this but i m getting this error : Line | 1 | Import-Module -Name WebAdministration -Force -SkipEditionCheck | …

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,083 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,355 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,036 questions
asked 2024-04-17T15:12:53.5433333+00:00
EL MEDIOUNI Sohaib 0 Reputation points
answered 2024-04-18T02:51:34.81+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 29,486 Reputation points Microsoft Vendor
1 answer

Power Automate not writing to a SharePoint List lookup column

Situation: I am looking to create a Power Automate flow that populates a lookup column. Users take an excel report, and upon a manual trigger, the automation populates an "Event List" with the report data. In the "Event List" there…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,558 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,655 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
504 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,355 questions
asked 2024-04-17T23:28:44.1166667+00:00
Sam Schwarts (US) 0 Reputation points
answered 2024-04-18T01:36:54.31+00:00
AllenXu-MSFT 15,846 Reputation points Microsoft Vendor
1 answer

Set-WSManQuickConfig : Cannot complete the request due to a conflicting Group Policy setting.

Getting this error when trying to run Enable-PSRemoting -Force. Set-WSManQuickConfig : Cannot complete the request due to a conflicting Group Policy setting. Modify the GP setting "Allow remote server management through WinRM" to either…

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,355 questions
asked 2024-04-16T14:20:56.37+00:00
Jack Ring 0 Reputation points
commented 2024-04-17T14:43:37.68+00:00
Jack Ring 0 Reputation points
2 answers

There is a problem searching in "pnp"

There is a problem searching in "pnp". I have videos in mp4 format. When I search for it, it does not appear in the search results، Can you help me.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,515 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,481 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,793 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,355 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,382 questions
asked 2024-03-16T18:10:33.48+00:00
Mustafa Zeyad 20 Reputation points
commented 2024-04-17T01:31:36.5833333+00:00
Yanli Jiang - MSFT 21,361 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Windows 10 user profile service failed to sign in

Hi, I got issue with User Computers with this error "we can't sign you in with this credential because your domain isn't available". the user is currently out of office so can't connect directly to main company networks, ussualy user just…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,568 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,724 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,355 questions
asked 2024-04-11T14:14:23.9933333+00:00
Praditya Setiawan 20 Reputation points
accepted 2024-04-16T18:09:58.0766667+00:00
Praditya Setiawan 20 Reputation points
3 answers

Server Admin can't manage Remote Desktop deployment

I've a test Remote Desktop deployment that is failing to be managed via Server Admin. Collections and deployment overview never stops refreshing, but nothing is shown: When I try to edit deployment details, another error shows: …

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,225 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,355 questions
asked 2021-05-24T08:38:32.003+00:00
Zentori 11 Reputation points
commented 2024-04-15T15:20:03.58+00:00
Karim Yusuf 0 Reputation points
2 answers

Powershell script

Hi i want to create a script that runs every time a regular user logs in to one of your clients your domain writes a report with the name “yyyymmdd_computername.txt” and content “hh:mm:ss – username” to a central repository. Someone every time otherwise…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,821 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,355 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,036 questions
asked 2024-04-12T13:18:55.0033333+00:00
Louai Al Obaidi 0 Reputation points
commented 2024-04-15T02:58:05.78+00:00
Rich Matheisen 44,621 Reputation points
2 answers

Create/add ACL groups

I am not an expert I copied folders from two different servers in different domain . Unfortunately, the folders on the destination server cannot be reached from the users because the ACL groups copied by robocopy are present in the source domain and…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,083 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,355 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,036 questions
asked 2024-03-23T22:40:00.91+00:00
Outok 0 Reputation points
answered 2024-04-14T18:52:25.0466667+00:00
Outok 0 Reputation points
1 answer

PowerShell script to list top 3 nested OU rights in domain

Hi, I'm very new to scripting and been tasked with this task: A powershell script that can list top 3 nested OU's rights(acl) in domain and save it in a csv file with the below format: ObjectObjectClassIdentityReferenceTrusteeAccessInheritedApply…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,821 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,355 questions
asked 2024-04-12T06:19:28.4433333+00:00
Biju Thankappan 0 Reputation points
edited a comment 2024-04-14T13:39:56.7933333+00:00
Biju Thankappan 0 Reputation points