Is there any way to scale up the azure webapp vertically (change app service plan) automatically?
Is there a way to automatically scale up an Azure Web App vertically (by changing the App Service Plan)? Has this functionality been completely removed by Azure? I attempted to use an Azure Automation Account with a PowerShell Runbook, but encountered…
I need help exporting a list of Viva Topics
I am still very new to PowerShell and I am having trouble understanding how to run the powershell provided in this Microsoft article: https://learn.microsoft.com/en-us/microsoft-365/topics/export-topics-powershell?view=o365-worldwide My goal is to have…
Powershell to remotely check server services and start if off.
Bluff: Looking for a PowerShell script that will do the following: Check that multiple servers are available Remote into each server and check specified services Turn those services on if they are not running Current script attempt…
Invoke-WebRequest -URI options
powershell comman Invoke-WebRequest -URI "atos-cov-remote.gpcloudservice.com" returns Invoke-WebRequest : The remote server returned an error: (504) Gateway Timeout. At line:1 char:1 Invoke-WebRequest -URI…
Runbook Error when trying to read table with VM power states, stoped VMs that are recorded as stop and deleting the rows after the fact.
This is an after updates update manager post-script to shut down vms after they are started for updates if they were off before pre-script. Thus, keeping the environment as it was before processing updates. This is also run on a portal.azure.com…
Delete all sharing links of SharePoint / Teams / One Drive
Hi, we need to reset (delete) all manual setup sharing links of files inside MS Teams and OneDrive. I am able to list alle teams and all including channels via PowerShell but I don't know how to list the files and then to get the sharing info of these…
how to convert vbs to powershell?
Set objSysInfo = CreateObject("ADSystemInfo") strUser = objSysInfo.UserName Set objSysInfo = CreateObject("ADSystemInfo") strUser = objSysInfo.UserName Set objUser = GetObject("LDAP://" &…
Problem with Remote PowerShell connections to Exchange server to run cmdlets
I recently have a custom user account provisioning program for active Directory and Exchange 2016 which has been running successfully for years but recently after a password change, it no longer works. I have made loads of checks, re-changed password,…
Removing Unique Permissions from List Items in OneDrive Sites
How can I remove unique permissions from list items (files and folders) contained within 600 OneDrive sites after a migration from on-premises to cloud? Based on a PowerShell (pnp) script, I attempted to reset unique permissions by breaking them on each…
How do I access SharePoint with PowerShell 7?
Hello everyone, I'm trying to create a PS script that reads the set permissions of a folder from SharePoint and creates a copy of it with the same rights. In MS Entra Admin Center, I've created a new app and granted it numerous permissions for testing…
Variable with Word's Content.Text has differences from its' Set-Content'ed simple text file; contents handelted differenly by regex
$documentText = @" Frau Anna Mustermanowa Hauptstr. 1 48996 Ministadt per beA per Mail: anna.mustermanowa@example.com AKTEN.NR: SACHBEARBEITER/SEKRETARIAT STÄDTL, 2904/24/SB Sonja Bearbeinenko +49 211 123190.00 21.11.2024 …
Room does not appear in the room search
I have created 4 rooms for testing. Three of them are in one building and one in another. All are configured in the same way. Nevertheless, the room search shows three rooms under the first building and no rooms under the other building. All rooms,…
Re-labeling Sensitivity labels quickly through powershell
I need a way to use powershell to change the sensitivity label of some files that have an old label applied to them to the current label I have for all files.
Automating Daily Metric Collection and Storage in Private Azure Environment
I want to extract the metric values of VMs configured in the Azure environment and automatically save them as CSV files to a Storage Account on a daily basis. While my PowerShell script is working, I am facing difficulties in saving the data to the…
Guest access expiration report for SharePoint Online site?
Hi, In my tenant, Guest access expiration is set for 180 days. I need to generate report for a SPO site that how many guests' users already lost access and how many guest users going to lose the access in future. Is there a way to get this report using…
Get free/used disk space on all our VMs for reporting purposes
Hi, Within our corporate environment, we have hundreds of Windows Azure VMs deployed to users via Citrix DaaS. For monitoring purposes, we would like to see free/used space on C drive. The goal is to have a reports showing disk space status on C drive…
Set-PnPSiteVersionPolicy for thousands of sites in SharePoint Online - Cannot call this API with an app-only principal
We have 5000+ SharePoint Online sites in our tenant where i have to change the Site Version setting to automatic for all existing document libraries. I am using the below to connect using an Azure App and i get the error "Cannot call this API with…
Why is my "help" command in Windows 11 Home powershell not giving a list of other commands to use with the "helped command"?
I am learning how to use the PS and whenever I use the "help" cmd, it does not display other commands. My PS is shown in the first image, and my online course is shown in the 2nd. In the 3rd image, I have already tried update-help and the…
Writing a powershell script to add users from a csv to a group in Active Directory?
We are wanting to use a CSV file to bulk upload users to a certain security group. Some users in the CSV will already be in the group. Is there a good source to help write this powershell script?
Does verb 'pintohome' be fully disable since later version of win10?
I have a powershell script helps to pin some folder to Frequent Folder to quickly achieve them. It used to work well on win10. But recently i found it that the script will be fully stucked unless i kill the window or thread, but its still ok the do it…