How to delete DPM Backups from the Azure Service Recovery Vault
Hi, i have a OnPrem DPM Server which is connected with a Azure Recovery Service Vault. From the DPM i backup some OnPrem Servers to the Azure Recovery Service Vault. Currently i see some duplicated entrys and some entrys from old servers which no longer…
I cannot map a drive with the ip address
The drive I'm trying to map only has an IP. It is my phone. But the same rule applies to my Buffalo NAZ. I cannot map a drive in my Naz by IP. Luckily, I know my name of my NAZ server. So I am certain if I fix the issue of not being able to map by IP, I…
Bulk create Document Sets with attachment from an excel worksheet.
Problem Statement: Bulk create Document Sets with attachment from an excel worksheet. Summary : Is there a way to do this via the SharePoint Online UI? What I have understood is that to do this I need to create a PowerShell script. After creating the…
can't create app service with publish model "container" over Powershell
Hey guys, the last couple days I tried to write a powershell script which creates a azure app service and some deployment slots for it. First - it seems to work fine but later I realized that the publish model is "always" on "Code"…
How to update a SharePoint online document library item's custom fields using graph API patch calls?
I have a PowerShell script that is pulling user photos from Active Directory and then posting them to a SharePoint Document Library. This script is working successfully to this point. Next, I need to update the photo item's custom columns with Active…
How to Fix SPMT Module ActiveX Single-threaded apartment Error
I have created a Powershell tool to set up SharePoint sites and it uses the SharePoint Migration Tool. However, when trying to register an SPMT Migration, it fails with the following error: Register-SPMTMigration : ActiveX control…
Delete Calendarseries in iOS Calendar
Hi, i had a recurring Calendar item. It is called "kompas | Standup". It was hard to delete that Calendaritem, because it was "hidden" in a Microsoft Teams-Team called "kompas Team". I made some tests to delete that calendar…
How to export managed metadata from subfolders and documents to csv
I have a document library and at the top level we have a number of folders for each year i.e. 2024, 2023, 2022, 2021 etc. Against these yearly folders we have a Content Type of "Yearly Folder". Under each yearly folder we have a huge list of…
Can we have both SharePointPnPPowerShellOnline and PnP.PowerShell installed in same machine?
Hi, I am working with SharePoint PowerShell Modules to create some PowerShell Scripts, I want to know if we can install both SharePointPnPPowerShellOnline and PnP.PowerShell installed in same machine. I am using some cmdlets from…
SCCM - PowerShell - Create Application - Deployment Type
Hi The first step is done : New-CMApplication ` -Name "Adobe Acobat Reader" ` -Description "Adode Acrobe Reader 64 bits" ` -Publisher Adobe -SoftwareVersion 24.003.20112 ` -IconLocationFile …
SCOM 2022 How I can use in PowerShell "predefined run as account" in start-scomtask command
Hello folks, I want to use the predefined Run As Account option in my SCOM tasks, but right now I feel like it's not possible from PowerShell. There was a change in SCOM 2022 that right now -taskcredentials is required in the Start-SCOMTask command. …
How can I use the Get-PnPFile or Get-PnPListItems commands to get data from a URL with the structure /_layouts/15/Doc.aspx?sourcedoc=?
Good morning. I hope you are. I am trying to get information from files that are in SharePoint document libraries. But many of the URLs I have have the following structure: https://<tenant>.sharepoint.com/:w:/r/sites/<site…
How can I use the Get-PnPFile or Get-PnPListItems commands to get data from a URL with the structure /_layouts/15/Doc.aspx?sourcedoc=?
Good morning. I hope you are. I am trying to get information from files that are in SharePoint document libraries. But many of the URLs I have have the following structure: https://<tenant>.sharepoint.com/:w:/r/sites/<site…
Assign Calendar Privileges with Powershell
Im trying to assign Calendar Permissions to Owner and Member, Owner should have read&write while members only read. This is the code i came up with. the error i got was the following: Specified method is not supported. Status: 400…
Prebuilt PowerShell scripts
Hello Please i need your help on this issue. Please do we have any prebuilt PowerShell scripts from Microsoft that can identify teams groups that contain files? Here’s the one we had tried that isn’t working: # Connect to Microsoft…
unable to connect Azure
Hi All I use the below syntax to connect to Azure Powershell, but today i am unable to connect to azure powershell. it prompts me to enter tenant and subscription number. I have 1500 subscriptions, how can i know the subscription number for my…
High CPU usage for vmmem
Hi, I have experienced high CPU usage for Vmmem frequently (~every 2days) and the only solution at the moment is simply restart my machine. It is understood that is related to WSL and I do have a Docker image running on Ubuntu on Windows. However it is…
How do I retrieve MS Teams phone numbers using Powershell MgGraph
Hi, I am trying to automate the export of all our organization's teams numbers using Powershell. If I do it interactively, I am able to connect to MgGraph, run the command, "Get-CsPhoneNumberAssignment" and retrieve the information. However,…
Renewing Powershell Self Signed Certificate from CA
Hi Everyone, We're going to change ours Self Signed Powershell certificates, we have an AD Certificate Services in our domain, we've created custom Self Signed Powershell certificates for code signing, then we've distribute the certificates via GPO.…
MSGraph Remove-MgTeam
I'm trying to execute the Remove-MgTeam in Powershell, but I'm getting a 405 error. The same happens with the beta-version. What am I missing? I think I added all necessary Teams/Groups/Directory permissions My script: Remove-MgBetaTeam -TeamId …