5,400 questions with Windows Server PowerShell tags

Sort by: Updated
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.
651 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,400 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
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,491 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,395 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,400 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,132 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,850 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,400 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,491 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,240 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,400 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 32,091 Reputation points
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,400 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

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,793 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,701 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.
516 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,400 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 16,561 Reputation points Microsoft Vendor
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,786 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,698 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,830 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,400 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,768 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,616 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,759 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,823 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,400 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,283 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,400 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

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,240 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,400 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,132 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,961 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,400 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
1 answer

Powershell export list of files and folders that have custom ACL with just the difference from the parent folder

In an old server share I have a lot of nested folders with different permissions that I need to analyze the permissions. I would need a script to have the list of all the files & folders that have a different ACL from the parent one... all the…

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,400 questions
asked 2024-02-16T10:18:09.85+00:00
Eros Rodigari 0 Reputation points
answered 2024-04-14T12:52:44.8733333+00:00
MotoX80 32,091 Reputation points
4 answers One of the answers was accepted by the question author.

WHY DOES A TERMIAL POPS UP EVERYTIME I PLUG IN MY CHARGER INTO MY LAPTOP AND A TASK IS CREATED IS IT A VIRUS?

PLEASE TELL ME IF THIS IS A VIRUS OR SOMEBODY INSTALL A REVERSHELL ETC ON MY WINDOES 10

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,400 questions
asked 2024-04-10T15:30:53.96+00:00
Ahmed Salim 20 Reputation points
commented 2024-04-13T19:23:34.25+00:00
Rich Matheisen 45,111 Reputation points
9 answers

Cannot find an overload for "SetDNSServerSearchOrder" and the argument count: "2".

Hello everyone, I want to change DNS IP via powershell script. The script: Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE | Where-Object {!$.DHCPEnabled} | ForEach-Object { $.SetDNSServerSearchOrder('8.8.8.8','8.8.8.4')…

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,400 questions
asked 2022-03-31T12:40:19.47+00:00
Emil Mammadli 21 Reputation points
answered 2024-04-12T18:39:13.17+00:00
Christopher Haney 0 Reputation points
2 answers

Error running Set-AIPFileLabel from Azure PowerShell function - Engine is not initialized, bootstrap might have failed

Trying to remove AIP sensitivity labels from PDF documents using PowerShell Azure Function (triggered by power automate flow passing the file content from SharePoint). Based on this documentation:…

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
520 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,353 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,400 questions
asked 2022-07-22T05:56:18.16+00:00
Bartski 1 Reputation point
commented 2024-04-12T14:07:40.0733333+00:00
Mike Crowley 121 Reputation points
2 answers One of the answers was accepted by the question author.

extract .zip files from multilple locations with Batch or Script file

I have a bunch of folders that contain .zip files. is it possible to run a batch that will search for zip files in multiple folders and automatically unzip them in the parent 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,400 questions
asked 2021-09-02T16:46:54.3+00:00
Tellu Wsup 21 Reputation points
commented 2024-04-12T10:45:07.11+00:00
Mohan Subramaniam 0 Reputation points
3 answers

Get list of installed features and roles on all domain servers - Powershell

Get list of installed features and roles on all domain servers - Powershell Get-ADComputer -Filter 'operatingsystem -like "server" -and enabled -eq "true"' ` -Properties Name,Operatingsystem,OperatingSystemVersion,IPv4Address | …

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,961 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,400 questions
asked 2022-05-09T21:48:05.24+00:00
Naveen Kumar 21 Reputation points
commented 2024-04-12T08:27:53.5866667+00:00
Ryan Instone 0 Reputation points
2 answers

how to list the custom attribute in AD

Hello, we migrated from old to new AD environment ,need to check all the custom attribute list including any extension custom attribute so that same can be created in new environment. I couldn't find any script that work well ,I tried below commands but…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,961 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,400 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,132 questions
asked 2024-04-11T10:50:48.1866667+00:00
Richa Kumari 286 Reputation points
answered 2024-04-12T04:18:45.5333333+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 31,016 Reputation points Microsoft Vendor
0 answers

Error while executing CLI script on windows VM for a storage account.

Encountered an error shared at the link below while running a script on the Windows CLI to list data from a storage account. https://github.com/Azure/azure-cli/issues/28534

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,469 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
324 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,400 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,132 questions
asked 2024-04-09T17:57:58.2433333+00:00
$@chin 85 Reputation points
commented 2024-04-11T21:41:16.9933333+00:00
KarishmaTiwari-MSFT 18,627 Reputation points Microsoft Employee
1 answer

Powershell script for reading Excel Table and send e-mails

Hello community, Basically I would like to have a powershell code that reads a Table inside an Excel WorkBook and send e-mails to some recipients based on a specific column. That table contains some user's information and the e-mail must be sent to the…

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,400 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,132 questions
asked 2024-04-09T17:30:10.8566667+00:00
Mayckel TS 21 Reputation points
commented 2024-04-11T18:42:01.3733333+00:00
Rich Matheisen 45,111 Reputation points