How to change the TightVNC password
Hi, I'd like to know how I can change the TightVNC password using PowerShell. I've been searching the web for information, but I can't figure out how to do this.
PS script error
Hello! I have a few scripts that delete old backups from some folders. There's actually one string that deletes the oldest folder: Remove-Item -Path [Folder Name] -Recurse -Force ...and it works perfect for all folders except the one: while deleting…

Connect to ExchangeOnlineManagement powershell module returns error
Script is called from Workato, and runs from a virtual machine that has exchange online 3.6.0. This was working up until last week. UnAuthorized At C:\Program…
Run az account get-access-token command failed
I ran the following az account command, it can return the right result az account get-access-token --scope https://canary.graph.microsoft.com/User.ReadWrite.All --tenant 633fc03f-56d0-459c-a1b5-ab5083fc35d4 but if I ran the following command, it…
How to fix Error Acquiring Token
I'm getting this error whenever i try to connect to Exchange online using PowerShell as Admin and I can't figure out how to fix it. Error Acquiring Token: Unknown Status: Unexpected Error: 0xffffffff80070520 Context: (pii) Tag: 0x21420087 (error code…
Windows powershell keeps randomly opening for a split second..
Well the main issue is when i log into my pc after like 10-20 minutes. The windows powershell randomly opens up for a split second. this usually happens in every 20-30 minutes. I really dont know what thing is causing this issue? PLease somebody help me…
Expired or Invalid pagination request
Write-ErrorMessage : Expired or Invalid pagination request. Default Expiry time is 00:30:00 At C:\Users\127079\AppData\Local\Temp\tmpEXO_nyok0szv.zqj\tmpEXO_nyok0szv.zqj.psm1:1189 char:13 Write-ErrorMessage $ErrorObject …
How to use Add-PnPFolder to add a folder to other SPO Libraries
I can use Add-PnPFolder to add a folder to the Shared Documents library but receives the follow error message "Add-PnPFolder : File Not Found." when attempting to add a folder to any other document library. I have a csv file with a list of…


The term 'Copy-PnPList' is not recognized as the name of a cmdlet
I am facing below issue while using pnp-powershell with SharePoint Online: Copy-PnPList : The term 'Copy-PnPList' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was…
How to delete items from the SharePoint Recycle Bin using PowerShell when there are large number of items in the Recycle Bin?
We just implemented retention labels on one of our very large SharePoint Online libraries, which caused the deletion of 800,000 files. Of course someone wanted a specific file restored, but it's impossible to scroll through the Recycle Bin web page to…
How to launch Microsoft Edge to a specific Workspace?
How can I launch Microsoft Edge directly to a specific shared Edge Workspace, ie what is the command line switch? Preferably I would like to launch two workspaces at once; more preferably I would like to launch them on to the last desktop region that…
Error occurred while executing GetUsers
Good afternoon everyone. Greetings. I need help for an error that the Get-AzureADUser command started throwing: Connect-AzureAD -TenantId $tenantid -CertificateThumbprint $appazurethumbprint -ApplicationId $appazureid Get-AzureADUser -All $True The…
How to generate M365 Product license report in Power BI
Hello Everyone, I see the Usage Report in the M365 Admin Center and they are helpful. However, I am looking for a way to generate a report on our product licensing usage. Similar to the view from the Entra ID -> Licenses -> All Products. Where…
Reporting of user installed Office Store add-ins
I am currently in the process of locking down user access to the Office Store in M365 Apps. I've managed to do so, however, in testing it seems that once the Office Store is locked down, it breaks add-ins that users have installed themselves. Before I…
DSC v3 - periodical checking/auto-remediation of configuration
Hi, in DSC v3 how can we accomplish periodical checking/auto-remediation of configuration on hundreds of servers - in PowerShell DSC v2 it was easy with LCM around.
Help with a media renaming script
Hello all, hope everyone is doing great. I am wondering if I can help me with a powershell script I am currently working on (I am newish to powershell). The script that in question is for re-naming media files. This is what I have so far (please see…
Why are ETW events not triggered when using PS in a custom PowerShell host from C sharp?
I'm executing PowerShell scripts from within a C# application using the System.Management.Automation library. My goal is to capture script actions through ETW events from the Microsoft-Windows-PowerShell provider. When I run the same script in the…
What can I use for a script to cycle through all of our Sharepoint sites and export details to a CSV?
I need to gather the following for each of our SharePoint sites: Name of site URL of site Owners of site Members of site Last updated (site activity) I have been trying to find a script that I can use to get the above data for each site, and I am…
How can i successfully uninstall old version of microsoft store apps using powershell command in all user profiles
I have been trying to deploy the below command through Sccm task sequence to all the machine but unfortunately i still find the old version of the app still there.What am l m missing? This is one of the commands an using. Remove-AppxPackage -allusers…
Adding tags to a Shared Channel in Teams
I see that Shared channels within teams now supports tags. Does anyone know how to automate the creation of tags for a shared channel within PowerShell? I have a script that automatically creates the shared channel, adds the appropriate members but…