The value of parameter imageReference.sku is invalid while creating the VM using Azure PowerShell
I'm trying to create a Windows 2016 Datacenter Virtual Machine using Azure PowerShell. Created the Resource Group Created the Storage Account Location is Central India Created the VNet, Subnet Created NSG Rule with NSG Group Created Public IP, VM…
How to obtain Major.Minor.Version.Patch details from PowerShell
Hello everyone, I happen to use following command to obtain operating system version details. cmd /ver The same command cannot be used when called in a PowerShell script like following. Why? because it opens a shell; and control remain stuck there. …
VS-Code loaded project not showing in default project for package manager console NuGet package
I am trying to work on and get a powershell script running that requires the MS Exchange WebServices dll from NuGet, when i try to load the script as a project in VS Code and install the dll as a package from NuGet via the Package Manager Console it…
how do i edit path from variable?
I have in multiple locations text files named pc01; pc02; pc03 and so on up to pc18. I want to go through them in order and get the contant into a single file. here's the script I use for example: $source =…
How to open a word document on another computer remotely using powershell.
There has to be a way to open a Word document onto a remote computer using a PowerShell script. I'm new to PowerShell and I've just been googling how to do things, but I can't find out how to remotely open a word document on another computer using…
How can I use PowerShell Script to extract all engagement and assignment completion data from Class Teams?
Hi there, I would like to extract all engagement and assignment completion data from across all of our class teams in order to delve into this data and incorporate it into our data models on our pupils. Is this possible through PowerShell? If so, i would…
How to use Show-DnsServerCache -CacheScope parameter
i don't know how to use -CacheScope in Show-DnsServerCache command
Checking resource limits, quotas, and constraints using PowerShell
I am looking for a solution to check for resource limit quotas that have been reached in multiple subscriptions using Lighthouse. Has anyone found a way to accomplish this using PowerShell, Graph, or other methods? Essentially, I am looking for a way to…
Teams Room Deployment Script Error
I am trying to create media for a Teams Room Deployment but the script provided by Microsoft keeps failing during a specific part. Any ideas?....error below. Formatting and partitioning the target drive... done. Copying Windows... done. Copying the…
Powershell script to delete particular type of file extension without removing the Folders
Hello All, I have requirement to remove the particular type of files extension from the computer without removing the folders. The files are in various path of the system and i have planned to map the C:/ and also log need to be stored for what are all…
New-Partition : The requested access path is already in use.
Hey, i have a hyper V 2019 Server with two hard drives. I want to format the second hard drive as one partion and give it the Letter D. But it saying the requested access path is already in use. Get-Partition not showing any drive letter D Watch the…
How to move a file within a SharePoint channel using Microsoft Graph Files API
My company wants to move data in .xlsx files from a SharePoint channel to a database. A part of this process is being able to archive the files within the SharePoint channel. I have been working tirelessly to move a file within a SharePoint site/channel…
SharePoint Online: How to fix error for creating new teams site
Hello Everyone, While creating new Teams site using PnP Powershell, I'm getting error. How to overcome this error? "New-PnPTeamsTeam : Caller does not have the required permissions for accessing this API.…
When will PowerShell 7,1(preview) be released for GA for Azure Automation runbooks?
Is there a date for the GA release of PowerShell 7.1 for use in Azure Automation runbooks?
Split a string from a table in a txt
Why doesn't it split/ remove the other two values in front of the searched value? I only need the value after ttt. Auto Fahrrad Roller ------------------…
How to upload a .csv or .xlsx file to a SharePoint site using the Microsoft Graph Files API
My company wants to move data in .xlsx files from a SharePoint channel to a database. A part of this process is being able to archive the files within the SharePoint site. I have been working tirelessly to figure out how to upload a .xlsx file to a…
Manage senders for impersonation protection license required and impact?
Does anyone know what the minimum license required to utilize the Manage senders for impersonation protection like below? Because I have 300+ users to add, and not all of them using E3 or E5, some of them are using just F3 and E1 or Exchange P1…
How can a make a copy of a Site Collection and to another Web Application?
How can a make a copy of a Site Collection and to another Web Application?
An unexpected error occured while processing the request. Tracking ID
I have a powershell script that I had successfully used a couple of days before and created a MySQL Flex database. I tried to create another database and I was getting an error regarding admin login. I have made some efforts until I understand that…
Is there any way to load wininet.dll using macros, scripts, or PowerShell??
Hi guys ! I use a couple of macros that handle files in SharePoint thru commands like "Dir" , "Save" , "open" etc. Many of these commands (Dir for instance) do not work if wininet.dll is not "loaded". In the…