5,306 questions with Windows Server PowerShell tags

Sort by: Updated
0 answers

Can Someone help check the scripts running in the https://compliance.microsoftonline.cn/contentsearchv2 in O365

Can Someone help check the scripts? We are using the Office 365 in Chian and in the Compliance center there we can run the tasks to use content Search function to export user emails see the links https://compliance.microsoftonline.cn/contentsearchv2…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
846 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,095 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,306 questions
asked 2024-03-19T01:48:47.32+00:00
Christest1 0 Reputation points
1 answer

Quisiera una clave para windows 11 home

Necesito una clave para activar el windows 11 home por favor

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,863 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,823 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,306 questions
asked 2024-03-18T19:07:35.4966667+00:00
Camila Gonzalez 0 Reputation points
edited an answer 2024-03-19T01:22:57.2633333+00:00
Hania Lian 6,081 Reputation points Microsoft Vendor
0 answers

Moving 10TB of SharePoint data to Azure blob storage (Contains files with 5GB+ in size)

Greetings, I hope this message finds you well. I'm currently working on a solution for transferring over 10TB of data from a "Preservation Hold Library" to "Azure Blob Storage" for archiving SharePoint online deleted files. Upon…

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,266 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,334 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,306 questions
asked 2024-03-12T07:06:19.6933333+00:00
Aman Varama 0 Reputation points
commented 2024-03-18T21:21:11.27+00:00
BhargavaGunnam-MSFT 24,726 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Is there a way to get report on IRM enabled Libraries and Lists?

I am not able to find right powershell or a way to get a report on IRM enabled libraries and lists. What I am looking for is to get list of Libraries and Lists that has been enabled with "IRM policies" from entire Farm. This is for…

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,776 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,306 questions
asked 2021-06-02T16:36:38.133+00:00
RajKumar 26 Reputation points
accepted 2024-03-18T16:41:28.7566667+00:00
RajKumar 26 Reputation points
2 answers One of the answers was accepted by the question author.

Add values to folder columns in a SharePoint Online document library with PowerShell

I have a library in which custom columns were added but I have not been able to add the corresponding values when creating the folder or modify it once the folder is created in SharePoint Online. For example: I have verified with the Add-PnPFolder and…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,334 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,306 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-03-07T19:18:44.04+00:00
Jairo Javier Baleta Cali 106 Reputation points
accepted 2024-03-18T14:07:08.8566667+00:00
Jairo Javier Baleta Cali 106 Reputation points
2 answers

how to delete SharePoint Group connected sites using PowerShell?

Hi members, In SharePoint, I need to delete a SharePoint Group connected sites through PowerShell, but i was facing an error "This site belongs to a Microsoft 365 group. To delete the site, you must delete the group" Anyone please suggest me…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,334 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,598 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,776 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,306 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-03-12T12:37:41.11+00:00
Henrietta Mueller 0 Reputation points
edited a comment 2024-03-18T10:17:45.2033333+00:00
Emily Du-MSFT 39,936 Reputation points Microsoft Vendor
1 answer

There is a problem searching in "pnp"

There is a problem searching in "pnp". I have videos in mp4 format. When I search for it, it does not appear in the search results، Can you help me.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,193 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,266 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,776 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,306 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,945 questions
asked 2024-03-16T18:10:33.48+00:00
Mustafa Zeyad 20 Reputation points
answered 2024-03-18T09:40:40.8366667+00:00
Yanli Jiang - MSFT 20,561 Reputation points Microsoft Vendor
1 answer

After renaming Securirty Group can't see new name a period of time

I have many domain controllers in different sites. I noticed after renaming any security group with powershell, I can't see new name in the same powershell a period of time (up to 15 minutes), however I can see new name in gui in ADUC. And vice versa -…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,863 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,663 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,306 questions
asked 2024-03-17T14:30:30.1733333+00:00
OZ 186 Reputation points
commented 2024-03-17T15:58:37.06+00:00
WaleedAjeebi-7922 0 Reputation points
2 answers

how to empty the recycle bin in SharePoint using PowerShell?

Hi members, In SharePoint, I need to empty the recycle bin in SharePoint through PowerShell, but i was facing an error "You cannot call a method on a null-valued expression." Anyone please suggest me how to empty the recycle bin in SharePoint…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,334 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,598 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,776 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,306 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-03-17T10:53:24.86+00:00
Henrietta Mueller 0 Reputation points
commented 2024-03-17T11:43:27.61+00:00
Nikunj Kalyani 0 Reputation points
1 answer

PowerShell Script auto delete if not responding

Hi, Is it possible to auto-terminate the PS task if it's not completed (exit) after a certain time like 3 minutes?

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,306 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-03-16T16:20:55.2666667+00:00
~OSD~ 2,086 Reputation points
answered 2024-03-17T02:39:39.2766667+00:00
Rich Matheisen 44,331 Reputation points
2 answers

Script Powershell to compress old files in one zip file

Hello, I need a script to compress files from the last 30 days in one zip file. I have this code that do the same but create one file for every single file: ## Adding 7zip to environment variables. $7zippath =…

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
147 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,306 questions
asked 2021-09-28T06:45:51.697+00:00
Pedro_A 131 Reputation points
edited the question 2024-03-15T20:38:12.7733333+00:00
Isabela Hoban 121 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Connect-MgGraph with pre-selected account

Is it possible for microsoft graph powershell to support login with pre-selected account as parameter? ie. Something like this: Connect-MgGraph -AccountId xxx@xxx.xxx.xx Because I see teams powershell can already login to a specified account id,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,193 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,306 questions
asked 2022-08-30T07:57:21.927+00:00
Liou, Fang-Ting 21 Reputation points
commented 2024-03-15T13:58:53.15+00:00
Rudolf Boterenbrood 0 Reputation points
1 answer

Troubles with uploading file into blob storage - PROD environment. Firewall issue?

I have the following code: # Connecting to Azure Blob Storage $blobServiceClient = $null Try { $connectionString = Get-AzKeyVaultSecret -VaultName $keyvaultName -Name $secretName1 -AsPlainText $blobServiceClient =…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,347 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,193 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,306 questions
asked 2024-03-11T16:21:38.5733333+00:00
Konrad Wojciechowski (Nokia) 20 Reputation points
commented 2024-03-15T13:43:07.06+00:00
Konrad Wojciechowski (Nokia) 20 Reputation points
2 answers One of the answers was accepted by the question author.

Powershell error: "A connection to the directory on which to process the request was unavailable. This is likely a transient condition." How to solve it?

Hello, We are experiencing issue: A connection to the directory on which to process the request was unavailable. This is likely a transient condition. We have it when we connect from Service Now using PowerShell and Import-Module ActiveDirectory…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,663 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,306 questions
asked 2024-03-13T17:30:09.55+00:00
Konrad Wojciechowski (Nokia) 20 Reputation points
accepted 2024-03-15T10:47:41.43+00:00
Konrad Wojciechowski (Nokia) 20 Reputation points
2 answers

Unable to add users via CSV file

Hello everyone , I want to add users to an active directory domain via a CSV file , I managed to import the Csv file but when I launch the script (below) , it tells me "User creation ...) but it also displays this error : New-ADUser : The server…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,663 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,306 questions
asked 2024-03-14T09:17:31.19+00:00
Bech12V 0 Reputation points
edited an answer 2024-03-15T07:25:47.26+00:00
Ian Xue (Shanghai Wicresoft Co., Ltd.) 28,711 Reputation points Microsoft Vendor
1 answer

Posh-SSH module only works when user is logged in

I use PoSH-SSH for a lot of automations. The problem is that the module is unavailable when scripts are run unless I am logged in and have a PowerShell session open as that user. Here is the behavior: If I open an interactive PowerShell session as that…

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,306 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-03-13T14:51:15.6366667+00:00
Josh Fox 0 Reputation points
commented 2024-03-14T17:56:57.8833333+00:00
Josh Fox 0 Reputation points
1 answer

PowerShell Script to Retrieve and Export Permissions of PKI Templates

Hello everyone, I am looking for some assistance in preparing a PowerShell script that retrieves the permissions of all Public Key Infrastructure (PKI) templates present in ADSI Edit\Services\Public Key Services. The script should export these…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,863 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,663 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,306 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-02-08T12:11:41.8866667+00:00
49885604 125 Reputation points
edited a comment 2024-03-14T16:32:17.3766667+00:00
Magdalena Borkowska 0 Reputation points
1 answer One of the answers was accepted by the question author.

Filtering inactive computers in AD based on last logon timestamp/date

I am trying to create a PowerShell script that filters out inactive computer accounts in Active Directory, based on the last logon timestamp. I have tried different versions of the script, but keep getting an error that it can't parse anything related to…

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,663 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,306 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,921 questions
asked 2024-03-14T14:27:17.05+00:00
AdamHiatt-4835 20 Reputation points
accepted 2024-03-14T15:35:50.3933333+00:00
AdamHiatt-4835 20 Reputation points
4 answers

PowerShell fails to launch excel with CLSID COM error

Hi Community, Really simple issue here we cannot figure out: Since 2015, Microsoft released this functionality and is officially documented here When we try to run the command in PowerShell below this is what happens: $excel = New-Object -ComObject…

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,306 questions
asked 2021-12-28T20:03:40.91+00:00
IT Magician 1 Reputation point
answered 2024-03-14T12:32:08.99+00:00
My1 ‪ 0 Reputation points
2 answers

How to solve Blue Screen of Death" (BSOD) error?

I am facing Blue Screen of Death" (BSOD) error. The "SYSTEM_THREAD_EXCEPTION_NOT_HANDLED" error occurs when a system thread generated an exception that the error handler did not catch. This error is usually caused by faulty drivers,…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,380 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
251 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,863 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,823 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,306 questions
asked 2023-08-02T00:55:26.8833333+00:00
mart henrey 0 Reputation points
answered 2024-03-14T12:17:27.0266667+00:00
Jack mart 0 Reputation points