5,383 questions with Windows Server PowerShell tags

Sort by: Updated
5 answers

Map network drive to computer without user sign in

Hello all, I need to map a cloud drive to the file server. It works when I manually map it but it needs to be available after the server restarts without requiring user sign in. I created a PowerShell script and works when I run it with a regular user…

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,383 questions
asked 2021-11-15T12:26:39.567+00:00
IsacICT 1 Reputation point
answered 2024-05-08T01:41:01.3033333+00:00
Rich Matheisen 45,096 Reputation points
1 answer

hoe kan ik het probleem oplossen livekernelevent hardware probleem zodat windows niet goed functioneerd zegt ie

LiveKernelEvent Code: 144 Parameter 1: 3003 Parameter 2: ffff988e8d4875b0 Parameter 3: 40010000 Parameter 4: 0 Versie besturingssysteem: 10_0_19045 Servicepack: 0_0 Product: 256_1 Versie van…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,676 questions
Windows Hardware Performance
Windows Hardware Performance
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.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,549 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
Windows Server Licensing
Windows Server Licensing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Licensing: Rules, regulations, and restrictions that define how software can be used and distributed.
21 questions
asked 2024-05-07T15:01:00.13+00:00
Stefan Van der bruggen 0 Reputation points
answered 2024-05-07T15:48:24.75+00:00
Wesley Li 5,040 Reputation points
3 answers

How to prevent installation of application on system . using cmd or powershell or service?

Why disabling/stopping windows MSI service wont stop installing/uninstalling of the applications?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,474 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,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,383 questions
asked 2024-05-02T10:04:32.0233333+00:00
commented 2024-05-07T15:12:33.19+00:00
3 answers

Using Get-Certificate with a Microsoft CA

I would like to use Get-Certificate with a Microsoft CA. https://learn.microsoft.com/en-us/powershell/module/pki/get-certificate?view=windowsserver2022-ps The documentation doesn't really show many examples. Does anyone know how to do this?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,182 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,383 questions
asked 2024-05-01T18:01:44.4466667+00:00
ComputerHabit 781 Reputation points
answered 2024-05-07T11:56:15.85+00:00
ComputerHabit 781 Reputation points
5 answers

Can someone explain to me how to Get Mailbox folder permissions in recoverable items use PowerShell? Its possible or not

Get-MailboxFolderPermission -Identity " testid@223.microsoft.com\Recoverable Items"

Outlook
Outlook
A family of Microsoft email and calendar products.
3,017 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.
4,903 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,360 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-29T13:24:19.3866667+00:00
Sujith M 0 Reputation points
edited the question 2024-05-07T11:26:33.47+00:00
Sujith M 0 Reputation points
2 answers

How to access user details for those who have not logged in to Azure Virtual Desktop for 90 days

I am looking for information on how to access the details of inactive users who have not logged into Azure Virtual Desktop for 90 days. Specifically, I would like to know their usage in the file share as well as their last logon details.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,719 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,371 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,383 questions
asked 2024-05-07T04:33:28.7633333+00:00
Swaroop Gowda D 0 Reputation points
commented 2024-05-07T09:45:00.9+00:00
Jing Zhou 2,240 Reputation points Microsoft Vendor
2 answers

PKI - Certification Authority (CA): IssuingCA, certificate with "unknown error"

Hi everyone, I have a couple of CAs that I manage, they are Enterprice CA with Root Server in workgroup (not in domain). I have an error in the IssuingCA regarding the certificate and I think it happens when the Root CRL expires, if I copy the Root…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,474 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,182 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,911 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,383 questions
asked 2024-04-28T13:56:17.1266667+00:00
49885604 145 Reputation points
commented 2024-05-07T07:59:14.9833333+00:00
49885604 145 Reputation points
1 answer

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,911 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-24T12:19:23.93+00:00
EnterpriseArchitect 4,801 Reputation points
commented 2024-05-07T02:16:03.7066667+00:00
EnterpriseArchitect 4,801 Reputation points
6 answers One of the answers was accepted by the question author.

Why can't I use Invoke-WebRequest twice?

Hi All, I need to rely on the first Invoke-WebRequest to piece together a URL for the second Invoke-WebRequest, but the second time is forcibly terminated. My Script: Import-Module -ErrorAction Stop…

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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2023-03-25T04:01:16.9866667+00:00
Hsieh, Iverson 65 Reputation points
commented 2024-05-07T01:28:12.0166667+00:00
Hsieh, Iverson 65 Reputation points
2 answers

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,911 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-19T11:35:32.11+00:00
Richa Kumari 286 Reputation points
commented 2024-05-07T01:10:36.27+00:00
Neuvi Jiang 5 Reputation points Microsoft Vendor
3 answers

retrieve DNS records help

Hi all, We have many reverse lookup zones in our AD integrated zone of our domain mydomain.local. How to retrieve all PTR records for each reverse lookup zones through script? Unfortunately I don't have much knowledge of how to create Powershell…

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,383 questions
asked 2022-05-26T16:55:51.377+00:00
Matt 101 Reputation points
commented 2024-05-06T15:30:16.74+00:00
Head, Scott 0 Reputation points
5 answers One of the answers was accepted by the question author.

SCCM Detection Method: Error 0x87D00327 (-2016410841) Script is not signed

I discovered a problem in SCCM compliance. When using a PS script for detection, an error (0x87D00327 (-2016410841) Script is not signed) is returned. After closer examination of the problem, I found out: SCCM creates a temporary ps1 file in 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,383 questions
Microsoft Configuration Manager
asked 2020-12-16T14:57:09.067+00:00
P M 21 Reputation points
answered 2024-05-06T08:13:38.3+00:00
Reittier 1 Reputation point
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,776 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,182 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,383 questions
asked 2024-04-18T04:47:01.0433333+00:00
Pradeep 21 Reputation points
commented 2024-05-06T06:16:19.87+00:00
LucyChen-MSFT 1,120 Reputation points Microsoft Vendor
1 answer

PowerShell command to execute below SSIS.exe file with no prompting window

HI Please assist me in executing below command, you can see respective .exe file is there in the respective folder. Please assist on this

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,171 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,383 questions
asked 2024-05-02T07:49:22.73+00:00
Varma 1,170 Reputation points
commented 2024-05-06T04:45:33.2233333+00:00
v-vvellanki-MSFT 3,895 Reputation points Microsoft Vendor
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,630 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,243 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-24T19:29:34.0733333+00:00
Daniel Bulakh 15 Reputation points
commented 2024-05-03T07:29:38.4166667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Pass null instead of double quotes in Powershell ConvertTo-Json

I'm passing a value to my JSON body for Invoke-RestMethod via PowerShell Instead of passing null it passes "" as below: $usermail = $null | ConvertTo-Json I'm expecting $usermail to be null but instead its appearing as "" …

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,383 questions
asked 2022-08-17T05:25:49.043+00:00
robcool 96 Reputation points
commented 2024-05-03T06:06:03.2+00:00
Kalra, Kapil 0 Reputation points
1 answer

Change Product Key of Windows Server 2022 using Ansible and/or PowerShell script

Hi there, I am trying to automate the process of provisioning a Windows Server based Virtual Machine using Azure and Ansible. My company has some Windows Server product keys available through the Microsoft Partner Program. My goal is to use one of these…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,171 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,182 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-30T07:44:01.64+00:00
Erik Burmester 0 Reputation points
commented 2024-05-03T05:56:18.8433333+00:00
Nehruji R 2,126 Reputation points Microsoft Vendor
2 answers

Add exact upns

Hi All i have userprincipalnames in a csv file in the below format. usernames user1@contoso.com user2@contoso.com i want to add these users to AD group from powershell. if there are any other user with user1.a@contoso.com or user2.a@contoso.com. i…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,474 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,382 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,911 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-30T18:33:23.3266667+00:00
Glenn Maxwell 10,146 Reputation points
edited a comment 2024-05-02T18:57:10.3333333+00:00
Rich Matheisen 45,096 Reputation points
1 answer

How to use ForEach-Object -Parallel in Azure Devops Pipeline Agent.

I want to use a PowerShell script which has below cmdlet. When I tried to use MS Hosted Pipeline agent with Parallel feature I'm getting "Parameter set cannot be resolved using the specified named parameters" error. How can I execute 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,383 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,089 questions
asked 2024-04-30T15:59:10.87+00:00
Ramakrishna Abhijeet P 70 Reputation points
commented 2024-05-02T18:41:29.0066667+00:00
Rich Matheisen 45,096 Reputation points
3 answers

Windows 11 remove apps for all users?

Several years back I put together a Powershell script for Windows 10 to remove all unwanted apps. It would remove them for the current user, as well as from the default user profile template, so that they would not install for new user profiles. …

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,243 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,383 questions
asked 2022-09-22T18:09:48.783+00:00
Brian Goldstein 6 Reputation points
answered 2024-05-02T17:04:32.37+00:00
mr.Eilsafin 1 Reputation point