5,419 questions with Windows Server PowerShell tags

Sort by: Updated
1 answer

गोल्ड पोकेट कस्टमर केयर हेल्पलाइन नंबर 9201332831=(🌟).

Iya dong kan kita sehati ya buat hari minggu aja ya allah ini

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,419 questions
asked 2024-06-01T08:38:49.72+00:00
Vebe eVebe 0 Reputation points
answered 2024-06-01T08:39:02.96+00:00
Vebe eVebe 0 Reputation points
3 answers One of the answers was accepted by the question author.

Exporting user last login to M365 or Azure to .CSV file ?

How can I extract and export the last user login time to the M365 portal or Azure AD as .CSV file? is there any PowerShell script or GUI procedure?

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,419 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,948 questions
asked 2022-10-10T13:43:24.61+00:00
EnterpriseArchitect 4,896 Reputation points
edited a comment 2024-05-31T16:29:58.3633333+00:00
Josh Leopard 0 Reputation points
0 answers

PS script deployed via GPO not installing

Hello experts, I could use some help determining why a PS script deployed via Group Policy is not applying. I suspect it is due to the ExecutionPolicy restriction however I have attempted to bypass in the script parameters as well as adding the bypass…

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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
asked 2024-05-31T15:56:09.6733333+00:00
Eric Ma 0 Reputation points
3 answers

Update Micorosoft Store and Store Apps with command line?

Hi To update Microsoft Store and Store Apps, I navigate to the Store and select "Get Updates", like above screenshot. Question: Is there any possibility to achieve the same with Command Line /Power Shell or DISM?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,863 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,491 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,419 questions
asked 2022-09-05T09:31:41.387+00:00
~OSD~ 2,131 Reputation points
commented 2024-05-31T14:57:22.4+00:00
Vincent Duvernet 1 Reputation point
1 answer One of the answers was accepted by the question author.

GPO is not applying

Hi All i am applying the below GPO on an OU, this OU has Windows 2019/2016 Servers. My domain controllers are a mix of Windows 2019/2016. On the member server when i check RSOP i am seeing that the GPO is applied but when i check from gpedit.msc the gpo…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,519 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,340 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,014 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,419 questions
asked 2024-05-27T17:38:21.0133333+00:00
Roger Roger 4,981 Reputation points
accepted 2024-05-31T12:44:41.57+00:00
Roger Roger 4,981 Reputation points
1 answer

Installing GIT with out asking prompts with powershell

I am using below link and using windows 64 bit standalone installer. https://git-scm.com/download/win I can install this manually , but i want to install git in agent ( target machine) using powershell with out asking for any prompts , can we do that, if…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,319 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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
asked 2024-05-31T09:42:13.34+00:00
Varma 1,230 Reputation points
edited an answer 2024-05-31T10:38:05.95+00:00
Gowtham CP 2,215 Reputation points
5 answers

Powershell 5.1 not accepting keyboard input when using Remote Desktop HTML5 Web Client

Install the latest RDS HTML5 client on a RDS deployment as specified here: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client-admin Open a web browser session and start an RDS session. …

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,880 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,308 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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
asked 2023-03-24T15:25:41.6533333+00:00
Ag-8821 41 Reputation points
answered 2024-05-31T09:56:53.34+00:00
Nicolas Guilhot 0 Reputation points
1 answer

What is the best way to execute PowerShell graph command executed against Azure / Entra ID ?

What is the best way to execute the PowerShell graph command executed against Azure / Entra ID ? $date = (Get-Date -Format "yyyy-MM-dd") 2Get-MgRiskDetection -All -Filter "ActivityDateTime ge $date and RiskLevel eq 'high'" The report…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,912 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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 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,948 questions
asked 2024-05-27T14:14:48.94+00:00
EnterpriseArchitect 4,896 Reputation points
answered 2024-05-31T08:08:46.1833333+00:00
Givary-MSFT 28,746 Reputation points Microsoft Employee
2 answers

Error Handling in ForEach-Object -Parallel CMDLET.

I Use a PowerShell 7 Script to Validate Resource Group and its JSON contents DisplayName, ObjectID and Role Definition Name. My Script will use Parallel block to loop through the subscriptions and validate RG First and then foreach Role Definition it has…

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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
asked 2024-05-30T09:39:05.6366667+00:00
Ramakrishna Abhijeet P 70 Reputation points
edited an answer 2024-05-31T07:18:15.68+00:00
Neuvi Jiang 385 Reputation points Microsoft Vendor
2 answers

Powershell ISE Illegal characters in path with literalpath

Hello! I have encountered the problem of running PowerShell cmdlets using "LiteralPath" in PowerShell ISE, when folder is existing. Error message: Get-ChildItem : Illegal characters in path. At line:1 char:1 + Get-ChildItem -LiteralPath…

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,419 questions
asked 2024-05-27T08:27:00.97+00:00
Step to IT 80 Reputation points
commented 2024-05-31T07:08:46.56+00:00
Step to IT 80 Reputation points
2 answers

"Search-UnifiedAuditLog" will only return 100 items , any advice how we can expand this?

I have the following script which i tailored from this link https://www.easy365manager.com/office-365-forensics-using-powershell-and-search-unifiedauditlog/ to get the audit logs for 2 SharePoint sites Connect-ExchangeOnline $SiteIDs =…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,914 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,419 questions
asked 2022-12-15T08:36:32.18+00:00
john john 946 Reputation points
commented 2024-05-30T12:48:45.02+00:00
Christian Tonev 0 Reputation points
2 answers

Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?

I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,912 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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 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,948 questions
asked 2024-05-27T13:42:49.5833333+00:00
Sumit Bhargav 0 Reputation points
commented 2024-05-30T08:21:19.0133333+00:00
Shweta Mathur 28,201 Reputation points Microsoft Employee
1 answer

How to generate a report on a conditional access policy with Report Only mode ?

Hello Team, I'm looking for a free way even with a PowerShell script to get a report on a conditional access policy with Report Only mode. Thanks, Alaa Elrayes

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,419 questions
Microsoft Intune Reporting
Microsoft Intune Reporting
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Reporting: The process of giving an account of something that has been observed, heard, done, or investigated.
62 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,509 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 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,948 questions
asked 2024-05-28T08:18:26.5433333+00:00
A.Elrayes 186 Reputation points
commented 2024-05-30T02:03:02.2166667+00:00
Crystal-MSFT 44,501 Reputation points Microsoft Vendor
1 answer

Rebuild server from core to desktop

I accidentally installed server core on an old PC i have and want to rebuild the server to Desktop, I have seen all the answers online and am aware that the only option is to rebuild the server. i have searched all over the internet on how to rebuild a…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,340 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,419 questions
asked 2024-05-29T19:30:15.68+00:00
Abdulla Al-Haroon 0 Reputation points
answered 2024-05-30T01:36:25.5066667+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 31,501 Reputation points Microsoft Vendor
3 answers

EventID for the GPO

I have enabled the GPO (Turn on PowerShell Transcription): Computer Configuration-Administrative Templates-Windows Components-Windows PowerShell. Turn on PowerShell Transcription: Enabled. Should I see any other Event ID besides 4103 in Event Viewer with…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,519 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,340 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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
asked 2024-05-28T15:51:47.9+00:00
Glenn Maxwell 10,351 Reputation points
answered 2024-05-29T16:17:52.2433333+00:00
Glenn Maxwell 10,351 Reputation points
1 answer

Connect-MgGraph : Invalid JWT access token. Connect-AzAccount : InteractiveBrowserCredential authentication failed

I need help and a solution to rectify the below error when executing the PowerShell Connect-* command. $TenantID = '22bb9241-65c8-45b4-94f9-7c151e154693' $AzSubscriptionID = 'd487514e-4317-447f-af79-5022d310f6bd' $paramConnectMgGraph = @{ Scopes =…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,912 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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,948 questions
asked 2024-05-28T07:17:43.8466667+00:00
EnterpriseArchitect 4,896 Reputation points
commented 2024-05-29T15:45:38.6533333+00:00
Givary-MSFT 28,746 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to read contents of a CSV in Azure Blob storage using powershell

Hi, Is there any way to read the contents of a file in Azure blob using Powershell? I tried Get-AzStorageBlobContent but this stores the file in a local folder. I don't want to store the file locally. My requirment is to read the file from blob and…

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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
asked 2023-01-27T07:36:01.7+00:00
Biju Mathew 476 Reputation points
commented 2024-05-29T12:18:02.19+00:00
Lucas, Stephen 0 Reputation points
1 answer

PowerShell compares a file on a file server with a file uploaded to a SharePoint Online document library.

Good afternoon. I hope you are well. I have a question about how I can compare a file on a file server with a file uploaded to a SharePoint Online document library. In order to check if the file is the same or has changed to check if it needs to be…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,914 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,419 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,184 questions
asked 2024-05-24T20:03:58.29+00:00
Jairo Javier Baleta Cali 131 Reputation points
commented 2024-05-29T02:40:04.6633333+00:00
Rich Matheisen 45,186 Reputation points
2 answers One of the answers was accepted by the question author.

WinGet.exe upgrade --all -Exclude

How to exclude the list of apps [third-party application, MS applications, and MS KBnumbers] while running winget upgrade -all commands. Is there any parameter to exclude any application? It will be appriciated

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,863 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,419 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,509 questions
asked 2023-04-07T17:32:54.1133333+00:00
Vij 306 Reputation points
answered 2024-05-26T00:44:10.2333333+00:00
Amal Chandrappan 0 Reputation points
1 answer

Problème d'autorisation lors de la récupération de photos OneDrive personnel avec PowerShell et Microsoft Graph API

Bonjour, J'essaie d'extraire massivement des liens URL de photos situées dans mon OneDrive personnel à l'aide de PowerShell et de l'API Microsoft Graph. J'ai créé un compte Azure et une application appelée "PowerShell Graph API OneDrive…

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,419 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,948 questions
asked 2024-05-20T10:32:47.8566667+00:00
Mo7Z 0 Reputation points
commented 2024-05-25T16:35:42.03+00:00
Mo7Z 0 Reputation points