5,446 questions with Windows Server PowerShell tags

Sort by: Updated
0 answers

.exe files are not running in windows docker images

Hey There, I am trying to run the following Dockerfile to containerize the Netduino.exe file and would like to use it as a Gitlab runner. However, the .exe files are running in the following Docker Images. Not only Netduino.exe, other .exe files like…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,572 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,095 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,536 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,833 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,446 questions
asked 2024-07-09T01:00:22.78+00:00
Sunil Bhimanapalli 0 Reputation points
edited the question 2024-07-09T01:08:25.08+00:00
Sunil Bhimanapalli 0 Reputation points
1 answer

How can I connect tables on Power BI online

Hello, Is there a way to connect tables in a model I created on power BI online? The tables are on an excel workbook on sharepoint, and the model has been done on on power bi online. Any idea how to make the connection between tables? Thank you!

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,446 questions
asked 2023-12-01T10:42:04.2033333+00:00
Abdulla Moustafa 0 Reputation points
edited an answer 2024-07-07T08:24:22.3633333+00:00
Khaled El-Sayed Mohamed 1,255 Reputation points
1 answer

How can I send Outlook (Microsoft 365) meeting invitations from one email account to multiple email accounts using PowerShell?

I need your help to create a PowerShell script to send invitations to an Outlook (Microsoft 365) meeting from an email account user@domino to multiple email accounts (user1@domino, user2@domino...) through from PowerShell I hope you can help me.

Outlook
Outlook
A family of Microsoft email and calendar products.
3,349 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,046 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,446 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,280 questions
asked 2024-01-18T21:19:08.5933333+00:00
Jairo Javier Baleta Cali 131 Reputation points
answered 2024-07-07T06:44:40.2266667+00:00
Khaled El-Sayed Mohamed 1,255 Reputation points
1 answer One of the answers was accepted by the question author.

Disable WinRM PowerShell Remoting

Hi All I have a requirement to Disable or Harden PowerShell Remoting and WinRM Services. The impact what i see is one server cannot connect to another server using remote powershell scripts. Please also let me know what possible issues we can come across…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,572 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,425 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,775 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,446 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,280 questions
asked 2023-12-30T11:24:40.5166667+00:00
Roger Roger 5,446 Reputation points
accepted 2024-07-06T09:29:44.6566667+00:00
Roger Roger 5,446 Reputation points
1 answer

Powershell on Mac/Linux - New-PSSession to Exchange Server -> MI_RESULT_FAILED Error

How can the following error be resolved when trying to connect to an Exchange server via PowerShell from a Mac/Linux machine? (working fine from windows machine though) "New-PSSession: [<exchangeserver.domain>] Connecting to remote server…

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,174 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,536 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,471 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,446 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,280 questions
asked 2024-07-03T08:53:54.16+00:00
ITS ByteSec 0 Reputation points
answered 2024-07-05T15:37:17.6666667+00:00
Rich Matheisen 45,596 Reputation points
4 answers

Unable to install IIS on Server 2019 DC error 0x800f081f

I`m getting this error: I tried the following commands: Microsoft Windows [Version 10.0.17763.3650] (c) 2018 Microsoft Corporation. All rights reserved. C:\Users\Administrator.WIN-ONA542MGLKP>dism /online /enable-feature…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,572 questions
Internet Information Services
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
424 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,446 questions
asked 2022-12-03T00:32:53.737+00:00
Lucas Paixao Soares Ribeiro 1 Reputation point
answered 2024-07-05T07:53:36.93+00:00
Samuel Fikiru 0 Reputation points
1 answer

How to Delete Duplicate Documents / Files in sharepoint online?

There is too much duplicates files and documents in my company's sharepoint online. our company MS cloud space had reached its limit thus these duplicates files had to be delete to free up space. Thanks

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,289 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,178 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.
546 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,883 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,446 questions
asked 2024-05-09T03:50:35.2466667+00:00
Joshua Lim 0 Reputation points
commented 2024-07-03T15:36:59.67+00:00
Paul Tansey 0 Reputation points
3 answers

How to add a Sql code to a powershell script

backup_report.txtI have the below sql script to check if any failover happened on the last 24 hrs and we want to use that in the existing powershell backup report script to check that condition before it reports, the below sql code only returns a…

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,446 questions
asked 2024-06-28T14:46:35.28+00:00
Sara 421 Reputation points
edited an answer 2024-07-03T07:51:29.82+00:00
Neuvi Jiang 620 Reputation points Microsoft Vendor
1 answer

Azure cli behind corporate proxy not working (SSL: WRONG_VERSION_NUMBER)

I have my C:\Users\xxxx\cacert-with-corp-proxy-cert.pem file updated with corporate ssl proxy certificate. To confirm that pem file updated properly and corporate proxy ssl certificates are valid I performed the check with python.exe (Microsoft…

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,446 questions
asked 2021-12-22T18:25:45.547+00:00
Lavrenty Eskin 1 Reputation point
commented 2024-07-03T02:43:38.8866667+00:00
Gaudet, Michael 0 Reputation points
1 answer One of the answers was accepted by the question author.

Powershell - Cannot convert value to type "System.Int32"

Dear experts, I'm working on below script trying to replace the value of mailNickName with the prefix part of UPN value. It works great if we had EMPTY mailNickName field (where it showed <not set>). However, if there was value already existing in…

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,446 questions
asked 2021-07-27T06:45:52.713+00:00
Eaven HUANG 2,156 Reputation points
edited a comment 2024-07-02T20:02:39.78+00:00
Matt Sheehan 0 Reputation points
2 answers One of the answers was accepted by the question author.

Enable and Disable WinRM

Hi, For security reasons, our company wants to disable the WinRM service, but we don't know the impact of disabling it on the production platform. So we thought about the ability to disable the service and re-enable it automatically via GPO as needed…

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,446 questions
asked 2023-06-23T10:09:38.4566667+00:00
Ines ROUISSI 20 Reputation points
edited a comment 2024-07-02T13:14:12.9533333+00:00
AnnaG 131 Reputation points
1 answer

Windows 2019 servers patch failed

windows 2019 servers getting security patch failed and when I tried manual then stuck on 80% then I tried to clear table but again stuck, what is solution and how to fix this issue. we have tried below steps DISM /Online /Cleanup-Image /RestoreHealth …

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,572 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,565 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,775 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,446 questions
asked 2024-06-25T09:12:44.4633333+00:00
Devesh Mishra (Microland) 0 Reputation points
commented 2024-07-02T12:28:47.6566667+00:00
Daisy Zhou 20,791 Reputation points Microsoft Vendor
0 answers

Windows Server DNS issue with Windows Client 10 Client machine

Hi, I have a issue with my Windows Client 10 machines (Notebooks). As you know Notebooks has as well LAN and as WLAN. If the user connected to the LAN, getting here a IP from for example 192.168.178.1 and the WLAN getting a different IP from DHCP for…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,536 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.
246 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,446 questions
asked 2024-07-01T11:40:02.1833333+00:00
PerserPolis-1732 1,536 Reputation points
edited a comment 2024-07-02T05:51:03.4233333+00:00
PerserPolis-1732 1,536 Reputation points
2 answers

The cluster is connected to Azure Arc and I can see the cluster resources on azure arc. But when I perform any commands to the cluster from Cloudshell, it says cluster not found under the resource group.

This is the error I'm getting while accessing the cluster on Azure Arc. This is my cluster connected to AzureArc.

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
371 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,975 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,446 questions
asked 2024-06-28T15:39:59.9433333+00:00
Nikhitha Chandana Chinthapalli 0 Reputation points
edited an answer 2024-07-02T05:01:30.6533333+00:00
Nikhitha Chandana Chinthapalli 0 Reputation points
1 answer

Adding multiple contact lists to a distribution list using PowerShell

I have created ten mail contacts for parents of Year 7 and I created a distribution list so the admin can send announcements to the DL. I need help adding these contact lists to the DL using PowerShell command.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,471 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,446 questions
asked 2023-11-25T15:46:02.2966667+00:00
IT 140 Reputation points
commented 2024-07-02T02:34:49.0333333+00:00
IT Admin 0 Reputation points
1 answer

How to add a SQL code to a existing PS script

I have the below sql script to check if any failover happened on the last 24 hrs and we want to use that in the existing powershell backup report script to check that condition before it reports, the below sql code only returns a timestamp ;WITH…

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,446 questions
asked 2024-07-01T13:52:38.3666667+00:00
Sara 421 Reputation points
answered 2024-07-01T15:12:35.4133333+00:00
MotoX80 32,566 Reputation points
1 answer

Powershell - DLP - Add Rules to the DLP Policy

Hi Im trying to making Add Rules to DLP Policy with PowerShell # Add Rules to the DLP Policy $RuleName = "DlpRule" $ContentContainsSensitiveInformation = @( New-DlpSensitiveInformationTypeRuleCondition ` -SensitiveInformationType…

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,037 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,446 questions
asked 2024-06-26T06:26:27.2933333+00:00
Sokoban 996 Reputation points
commented 2024-06-30T15:10:00.3133333+00:00
PRADEEPCHEEKATLA-MSFT 84,771 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

how to set proxy on invoke-webrequest

can someone help me with how I can pass proxy here in this script and if I am missing any syntax here? Full script in comment section! running into defender.ps1 is not recognized and a invalid err token error Invoke-WebRequest @parameters .\defender.ps1…

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,446 questions
asked 2024-06-14T14:10:40.7033333+00:00
Sara 421 Reputation points
accepted 2024-06-28T13:47:04.06+00:00
Sara 421 Reputation points
2 answers

How can I combine 2 get-ADComputer queries in 1

Can someone please help me? I am trying to find computers that match this criteria (see from screenshot Screenshot 2024-06-26 085801.png) Right now I have 2 queries, Find all enabled computers : $allEnabledComputers=Get-ADComputer -Filter…

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,446 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,280 questions
asked 2024-06-27T02:44:50.9366667+00:00
BMBM83 0 Reputation points
answered 2024-06-27T18:59:51.69+00:00
Rich Matheisen 45,596 Reputation points
1 answer

Remove-FileLabel cmdlet is getting stuck sometimes

Hi, I have been exploring the new Microsoft Purview Infromation Protection PowerShell Module. I have been testing Remove-FileLabel cmdlet. Remove-FileLabel -Path "C:\Users\user\Documents\sample" -JustificationMessage "Migration…

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,037 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,446 questions
asked 2024-06-27T06:47:00.7266667+00:00
Sundram Sontirkey 97 Reputation points
answered 2024-06-27T15:31:51.4433333+00:00
Rich Matheisen 45,596 Reputation points