5,418 questions with Windows Server PowerShell tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

NT service\SQLTELMETRY provided for NT service\SQLTELMETRY$XCLERAINST is either not a valid account or cannot be used for this service

Hi Experts, While I was trying to install the 2019 MS SQL via PowerShell. I am getting the below error message. The following error occured: NT service\SQLTELMETRY provided for NT service\SQLTELMETRY$XCLERAINST is either not a valid account or cannot…

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,951 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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 questions
asked 2024-05-09T04:53:35.4933333+00:00
Jimmy Afflick 40 Reputation points
commented 2024-05-09T18:42:28.8566667+00:00
Jimmy Afflick 40 Reputation points
0 answers

如何批量导出DFS服务器上文件夹ACL权限

如何批量导出DFS服务器上文件夹ACL权限。 是否有相应的脚本或者第三方工具可以实现。

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,520 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,881 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,408 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,341 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,418 questions
asked 2024-05-09T09:20:39.99+00:00
添添 朱 0 Reputation points
commented 2024-05-09T15:07:55.4666667+00:00
Rich Matheisen 45,261 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,143 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,959 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,412 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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 questions
asked 2024-04-29T13:24:19.3866667+00:00
Sujith M 0 Reputation points
commented 2024-05-09T10:01:44.2766667+00:00
Mike Hu-MSFT 1,100 Reputation points Microsoft Vendor
1 answer

Powershell Get-Content loads in a previous version of a file that has been modified

I have a problem with the Get-Content command since it often loads an older version of the file it is reading. When this happens, you have to run the Get-Content command several times to update it to load the latest version of the file. I have searched…

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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 questions
asked 2024-05-08T16:31:13.0966667+00:00
Jairo Javier Baleta Cali 131 Reputation points
commented 2024-05-09T01:49:11.9533333+00:00
Rich Matheisen 45,261 Reputation points
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,418 questions
asked 2021-11-15T12:26:39.567+00:00
IsacICT 1 Reputation point
commented 2024-05-08T18:13:01.96+00:00
RapidCloudIT 0 Reputation points
2 answers One of the answers was accepted by the question author.

Powershell to update Intune DevicemanagementName

Hi everyone, I'm looking to use powershell to modify some Android device Management Names in Intune. I've managed to figure out how to find the device I want to change using the Get-IntuneManagedDevice. $Device=Get-IntuneManagedDevice…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,913 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,418 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,757 questions
asked 2021-12-23T22:34:08.213+00:00
Ed K 21 Reputation points
commented 2024-05-08T15:28:59.7933333+00:00
Alan McCulloch 1 Reputation point
2 answers

Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2012 (Access denied)

Issues to create or modify files in Scripts Folder in Sysvol, Windows server 2019 (Access denied) after in-place upgrade the windows server from 2012 R2 to 2016 then 2019

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,520 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,341 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,013 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,418 questions
asked 2024-04-30T04:38:39.93+00:00
Sambhaji Khairnar 0 Reputation points
commented 2024-05-08T07:31:12.8966667+00:00
Daisy Zhou 19,586 Reputation points Microsoft Vendor
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,868 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,560 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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 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.
26 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,555 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,520 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,881 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,418 questions
asked 2024-05-02T10:04:32.0233333+00:00
commented 2024-05-07T15:12:33.19+00:00
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,520 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,341 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,013 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,418 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
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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 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.
6,013 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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 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 385 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,418 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,418 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,951 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,341 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,418 questions
asked 2024-04-18T04:47:01.0433333+00:00
Pradeep 21 Reputation points
commented 2024-05-06T06:16:19.87+00:00
LucyChenMSFT-4874 1,815 Reputation points
2 answers

Windows Powershell and Visual Studio Running Extremely Slow

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

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,730 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,497 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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 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 28,066 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,418 questions
asked 2022-08-17T05:25:49.043+00:00
robcool 116 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,321 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,341 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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 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 3,121 Reputation points Microsoft Vendor
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,418 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 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,261 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,497 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,418 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