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…
![](https://techprofile.blob.core.windows.net/images/lERuGqIsfE-3j2IJgoDLSw.png?8D844E)
How can I troubleshoot issues connecting my "Powershell Onedrive Graph" API to Microsoft Graph Explorer for bulk exporting OneDrive photo URLs to Excel using a Microsoft 365 Business Basic license?
Please find below a screenshot of Microsoft Graph , Azur Api and MS365 license. Thank you, Regards,
Receiving "The SSL connection could not be established, see inner exception." on all Azure PowerShell cmdlets.
I am receiving the following error, regardless of the Azure PowerShell cmdlet that I am using. Again, it is for all azure cmdlets that I am receiving this SSL error message. My TLS is set to 1.2. About 1 out of every 3 Azure PowerShell cmdlets return…
Need a poweshell script to list all the SPO sites with the certain character in URL where the offline client availability is set to true
Need help with a powershell to list all the SPO sites where the offline client availability is set to true.
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…
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.…
Discrepancy in Windows Form Appearance between PowerShell ISE and PowerShell
Hello Everyone, I've encountered an issue with the appearance of a Windows Form created using PowerShell. When running the script within PowerShell ISE, the form displays correctly with clear fonts and the expected size. However, when running the same…
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 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:
Runtime Exception When Using Set-OrganizationConfig
Trying to run Set-OrganizationConfig cmdlet in powershell EXO V3 module returns runtime exception: "unable to find type [uint]". Has anyone had this error before and know of a potential solution? I cannot find anything online to reference…
Powershell Script exporting MFA status and licence skuid
Hi all. I'm new to powershell and have been attempting to understanding some of the scripts readily available from the multitude of sources found by google. My objective is to export a list of licensed users, what their licenses are, and their MFA…
IF statement not functioning in Azure runbook
I have a runbook with a PowerShell if statement to check if the input value of a received MAC address is in a valid format. If the format is not valid I am running a cmdlet which calls a function to update the MAC address and use the updated MAC. Else if…
Power shell script to create excel file and load data by query
Hi, Please help me to get a powershell script to generate a excel file and send by DB mail. regards,
PowerShell Filter
Hello, I have powershell script like below output. The result is fine but when i want to filter only showing Type="Vmware Backup" and only to show "Job Name" and "Last Result" columns why i not get the result? Something…
![](https://techprofile.blob.core.windows.net/images/zCxR1gzTUkeGX5-wM6PGoA.png?8DB52A)
![](https://techprofile.blob.core.windows.net/images/as_Tu4nfLUeUI0EOf39xtg.png?8D9529)
Retrieving task details from Migration Manager (Fileshare Migration) no longer work via Powershell
https://learn.microsoft.com/en-us/sharepointmigration/mm-reports#download-detailed-task-level-reports-via-powershell in the Function GetAlltasks there no longer retrieve Data from MS Graph and it gives no error Message so the Script get error, that no…
![](https://techprofile.blob.core.windows.net/images/fGkjp4has0Ge0PvHyM9iNw.png?8DBC64)
![](https://techprofile.blob.core.windows.net/images/fGkjp4has0Ge0PvHyM9iNw.png?8DBC64)
Azue runbook - Exchange PowerShell
We are trying to automate mail flow reporting via Azure runbooks using an app registration (service principal) to authenticate. The runbook will query Exhchange Online powershell modules for mailflow data. The only Entra permissions that seem to allow…
Check Internet Connectivity using Powershell
Hello, I want to make a powershell script to test is the server have internet connectivity or not by doing ICMP to 8.8.8.8 for example and the script will return 1 if get reply and 0 if not get the reply. Anyone know here how to make that script?
![](https://techprofile.blob.core.windows.net/images/zCxR1gzTUkeGX5-wM6PGoA.png?8DB52A)
![](https://techprofile.blob.core.windows.net/images/zCxR1gzTUkeGX5-wM6PGoA.png?8DB52A)
Trying to add Microsoft Sentinel to a Log Analytics Workspace in Azure but keep getting error "The gateway did not receive a response from 'Microsoft.SecurityInsights' within the specified time period"
I am trying to add Microsoft Sentinel to a Log Analytics Workspace connected to a Virtual Machine in the Azure portal but keep getting the error "The gateway did not receive a response from 'Microsoft.SecurityInsights' within the specified time…
ports remote request powershell
Hello. I have executed the get-service -computername PC01 command Wireshark showed me that port 135 is used in the first…
Set -RemotePowerShellEnabled on Multiple Accounts with Duplicate Display Names
Hey team, I've been racking my brain for the last hour and I think I just need a fresh perspective. In short - The following command would disable remote PowerShell for all users within the tenant: Get-User | Set-User -RemotePowerShellEnabled…
![](https://techprofile.blob.core.windows.net/images/yb8aL45cdkyS0Sir-iBAeg.png?8DCA68)
![](https://techprofile.blob.core.windows.net/images/yb8aL45cdkyS0Sir-iBAeg.png?8DCA68)