Cloud Shell Blank, No Heading Bar
I used Cloud Shell before w/o problem. Today, my Cloud Shell is blank, no cursor, no response when typing text. There is no header bar for me to select the shell (PowerShell / Bash). I checked the internet for solution, and tried such things as using…
How to remove an app from user context and deploy this script via Intune
Hey guys, So I cant figure out why my script is not working. I am trying to uninstall a application called MicroSIP (website: microsip.org) via Microsoft Intune on all of our Windows machines but the script is says "not installed" or…
Cannot update or install modules in Azure Automation
I am having issues updating or installing modules in Azure Automation. Every time I initiate the import process, it never finishes. Even when I delete the imported job and try again, the results are still the same. This has persisted for a week now, and…
Can't remove an app via Intune from user context
I am trying to uninstall a application called MicroSIP via Microsoft Intune on all of our Windows machines but the script is says "not installed" every time I run it. I have tied multiple scripts but no luck. I did find my issue. So here it is.…
Remove app from user context and deploy this script via Intune
I am trying to uninstall a application called MicroSIP via Microsoft Intune on all of our Windows machines but the script is says "not installed" every time I run it. I have tied multiple scripts but no luck. I did find my issue. So here it is.…
Powershell script to find freespace available on disk and send email
Here is the code and I am getting email The F: drive is below 150 GB and only at 0 GB - Please resolve, but that is not true. F drive is not low in space $disksize = $null $limitGB = $null $freeSpaceGB = $null Parameter $limitGB = 150 $disksize =…
Certificate authentication to Azure stopped work
Hi guys I found out that all my scripts that use Azure App Registration and Certificate to authenticate stopped work. I have a App registered in Entra ID with required permissions, certificate is valid. I also have administrator rights on server and…
Request for Assistance with PowerShell Script for Email Signature Generation
Dear Microsoft Support Team, I hope this message finds you well. I am reaching out to seek assistance in developing a PowerShell script for automated email signature generation in our organization. I haven't started the script yet and would greatly…
How to remove apps from user context and deploy this script via Intune.
Hi everyone, I was trying to remove some apps such as Chrome/Firefox/Zoom and others from many computers in my organization. These apps were installed manually by the user without admin rights(User Context), I was trying to create a script to remove…
Object reference not set to an instance of an object.
Hi all, We are trying to apply pnp-template by following this article. https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/applying-pnp-templates I have downloaded the 'theperspectivepnp' from the site and created a 'Mysite' in my tenant.…
Can we run powershell script to shutdown the vms automatically?
I know we have auto shutdown option provided by azure to auto shut down the VM's at perticular intervals. But I have achieve this by running a script. Can anyone help me with the powershell script.
Get-MgEntitlementManagementCatalogResourceRole - Can only retrieve roles for one resource
Hi, Microsoft.Graph.Identity.Governance I am not sure if I am doing something wrong, or whether there is an issue, but I am unable to retrieve the role details for my catalog resources. I have 7 resources assigned to my catalog, but if I run the below…
[Import-Certificate], UnauthorizedAccessException E_ACCESSDENIED when tring to import cert into Cert:\LocalMachine\TrustedPublisher
Hi, I'm really struggling with this one! So a bit of context first : I'm using a powershell module that I've made on my own. This module automatically creates à hyper-v VM, installs windows in it, runs scripts that install applications silently, syspreps…
How to find collapsible sections in home page of all sites using pnp powershell?
How we can find collapsible sections in home page of all SharePoint Online Sites using PnP Powershell? Get-PnPPageComponent -Page Home is not giving any output. PropertiesJson is blank for PageText webpart. How to disable this section collapsible using…
Powershell script getting error message - Get-NetAdapter : Invalid class
Hello all, I'm a noob here... I'm trying to run a script to get adapter info but getting error message. My goal is to get the adapter DNS ip info and changing it. Can someone tell whey I'm getting this message. Current system: Windows 11 Pro (build…
Connect-SPOService : No valid OAuth 2.0 authentication session exists ?
How to fix the issue to connect to SharePoint Online using PowerShell like below? Because when I am using the PowerShell ISE, and then the command: Connect-SPOService -Url 'https://CompanyName-admin.sharepoint.com' I got the error:…
Powershell 5.1 not accepting keyboard input when using Remote Desktop HTML5 Web Client
Install the latest RDS HTML5 client on a RDS deployment as specified here: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client-admin Open a web browser session and start an RDS session. …
Exchange Online PowerShell filter bug
The Exchange Online PowerShell module seems to have a bug within the -Filter argument for Get-Mailbox. Specifically with the AuditEnabled property of a mailbox. I've tried the following: Get-Mailbox -Filter 'AuditEnabled -eq $False' Get-Mailbox -Filter…
how to retrieve the path to workspace_publish branch OR any branch in devops , use that path in azure powershell script to read file from that branch.
I want to retrieve path to the branch and folder inside it, basically i wan to read the jsons here and change the dev keyword with uat and save the file back to the sam folder in workspace_publish branch. I can change dev to uat, but am not able to…
Authenticating verification of certificates in Power Shell
Hello, in collaboration with AI, I came up with a script for verifying the authenticity of the certificates I have on my PC. What I need to know is how serious it is if the certificate is not verified, or how should I solve this situation and what…