i need help to delete the additional root folders i created
Hello. so i made the big mistakes of creating root folders and files and i need help to delete them so basically i was trying to code a node and java file and i didnt thought of what permissions im giving to the VS code and about 1 or 2 hours later i…
![](https://techprofile.blob.core.windows.net/images/pxpvXcfHUkGs_31NHERBiA.png?8D83C7)
How to resolve 'patchSettings' error when creating new Linux VM with PowerShell script and JSON template?
I am attempting to deploy a new Linux VM using a PowerShell script and JSON template, but I am encountering an error related to the 'LinuxConfiguration' object and the 'patchSettings' parameter. Specifically, I want to ensure that 'patchMode' is set to…
Help with PowerShell - remove an attribute value if a user is not in all 4 groups
Hi, I am hoping to get some suggestions on how to do this. There are 4 defined groups. I need to get a list of AD users that have adminCount = 1 Then I need to compare. If a user is not in all 4 groups (not just 1 group), then remove the adminCount. This…
![](https://techprofile.blob.core.windows.net/images/siIzquzvok-OvkV73N8s5Q.png?8DA48C)
how to fix engine state is changed from avaible to stop windows powershell
how to fix event viewer powershell engine state is changed
Restore a SQL Server backup to Azure SQL Managed Instance
What is the best way to restore an SQL Server backup file (.bak) from a storage container to Azure SQL Managed Instance, and overwrite the existing database with the backup? I am looking for the appropriate PowerShell Az command to accomplish this task.…
Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Can someone tell me why the following powershell code no longer works with newer MSBuild 17 (It works fine with MSBuild 15) $retVal = Add-Type -Path "C:\Program Files\Microsoft Visual…
Mount-WindowsImage error: access denied
I extracted install.wim from Win11_23H2_English_x64v2.iso to C:\TEMP, and tried to run the following command (in an elevated Terminal window): PS C:\TEMP> Mount-WindowsImage -ImagePath c:\temp\install.wim -Path c:\temp\mount -index 4…
Experiencing memory issues when connecting to Exchange Online Management using C#
I am experiencing memory issues when connecting to Exchange Online Management using C#. The process involves executing commands such as Get-User, Get-DistributionGroupMember, Add-DistributionGroupMember, and Remove-DistributionGroupMember. After each…
PowerShell - I am unable to find the help file to update the powershell help (Version: 5.1.2)
Good afternoon, Please can you help me find (or provide) Powershell help update file for complete help locally by running 'update-help' command. Powershell version: 5.1.2 Thanks & regards.
Not able to publish .net 8 files to Azure Linux Function app using Publish-AzWebApp command from powershell.
I am trying to deploy .net 8 published files to Linux Azure function app from Linux using Publish-AzWebApp. Deployment is not giving any error but files are not getting deployed. The same working for Windiows function app. Could you please help!
![](https://techprofile.blob.core.windows.net/images/ny8DxPvPMky3dIOsQ9_3Dg.png?8DC7C0)
Automating Deployment and Configuration of Azure Storage Account with NFS V3.0 Using PowerShell and Integration with a Linux Server Outside Azure
As the maximum disk size provided by Azure is 32TB, it is not enough for some storage needs. We can create a new storage account and enable NFS V3.0 during creation. However, mounting it to an external (out of Azure) Linux server adds complexity. How can…
Alternative option to upload images without Enabling Allow storage account key access for storage account
I've been utilizing a PowerShell script to upload images to our Azure storage account. However, after enhancing our security measures by disabling the Allow storage access key, I encountered the following issue. i am looking for the alternative for…
Wie behebe ich Code 0x8031005a?
Ich habe die Win 11 23H2-Version . Ein Geräteschlüssel ist nicht hinterlegt. Beim Versuch einen solchen selbst zu generieren, wird mir die Meldung angezeigt, daß die PowerShell -Version nicht aktuell ist. Ein Versuch mit folgender Eingabe schlägt…
Powershell check user in group and then add if not a member
Hi, The script below keeps dropping into the 'Automation has failed...' else statement once a user has been added into a security group. I can see that the user has been added but need the additional check to write the output as these outputs are being…
How can I get/update the DataSource linked to a SSRS Subscripton via API 2.0?
I have a subscription that has its data source connection severed every time I update the source report (the subscription is on a linked report). I want to get the DataSource so that I can verify it exists and then reassociate it to the subscription. If…
How to fix Unexpected character encountered while parsing value: <. Path '', line 0, position 0. when connecting to Exchange Online via powershell
I am running the latest exchange online management module version 3.5.1 and have powershellget 2.2.5 and packagemanagement 1.4.8.1 installed. When I run the Connect-ExchangeOnline cmdlet I get the following error message:
Disk is not visible in portal
Hello Everyone. I am trying to add one OS disk as data disk into my vm using powershell. I am able to update the vm. after this it is not showing in portal. are we need to add manually. I want to reduce this efforts as well. I really appreciate for…
Using PowerShell, can I list all members, visitors, and guests of a SharePoint site?
Can someone help me with a PowerShell script that can list all members, visitors, and guests of a particular SharePoint site? Would this need to be done in more than one command?
Connect-ExchangeOnline in Azure Automation account gives Unable to find type (EXO 3.5.1 PS7.2)
I have setup an Azure Automation account and loaded the EXO 3.5.1 module along with PackageManagement V1.4.8.1 and PowerShellGet v2.2.5. I open a new PowerShell runbook and just posted a Connect-ExchangeOnline -ManagedIdentity - Organisation…
Can we use Certificate based Authentication for connecting to On Prem SQL Server?
Hi Experts, We use a PowerShell command to connect to the SQL Server by creating a connection string. In the PowerShell script, we have to encode the username and password for creating the connection string and passing it to the SQL Server. The SQL…
![](https://techprofile.blob.core.windows.net/images/SClx3RWTrEKkXmthAyq7Tw.png?8DC805)