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.
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…
Quisiera una clave para windows 11 home
Necesito una clave para activar el windows 11 home por favor
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…
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…
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…
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…
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 -…
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…
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?
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 =…
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,…
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 =…
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…
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…
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…
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…
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…
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…
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,…