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…
Effect of MC792991 Disablement of Symmetric keys for Microsoft Entra first-party applications Service Principals
Hello Team, Greetings! This is Joni. Due to the Microsoft post as follows, a partner need to address how this affects to end users' resources and workloads. Disablement of Symmetric keys for Microsoft Entra first-party applications Service Principals…
How to register an instance as central management server(CMS) server instance using powershell?
Hi, Can we automate register Central Management Server using powershell? I'm unable to find any documentation regarding the this?. Rest of the steps are automated through poweshell. As part of the testing the script I have deleted the registered Central…
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…
Defender for Endpont - Device Isolation via API
Hello All, I am trying to craft an script to isolate device via powershell. I have created Enterprise app, i have assigned to that app permission (as delegated - i do not want to use it as application) Machine.Isolate and granted consent. Script…
I am getting error, When I am trying to update the GPO by executing gpupdate /force.
Hi Experts, I have applied the GPO to disable windows auto update and Trying to update the GPO. But I am getting below error while I am trying to update the GPO. "Windows failed to applied the {F312195E-sD90-447A-A3F5-08DFFA24735E) settings .…
AzureAD group membership
Hi All In our hybrid environment, all users are initially created on-premises and then synced to Azure AD. I've created five security groups within Azure AD. Specifically, I've granted ownership of these five AD groups to a user, let's call them user1.…
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…
Backing up PST files to OneDrive: need a way of getting the local OneDrive folder to release the space automatically
I'm backing up PST files to OneDrive (but definitely never opening them in Outlook there). This works fine except that I don't seem to be able to get OneDrive to release the local space automatically, which is a problem given I am doing all this on a…
removing Sidebar apps from edge from intune or powershell
Hi all, I would like to remove the ability for users to use Side bar apps / add ons How do I do this?
Remove specific user from ACL via Powershell
I want to Remove a specific user from ACL via Powershell. Not just the permission of the user for the folder. I want the user gone from the directory. The following post discribes my problem perfectly but the solution leads me to an 404 error^^ …
The specified module 'Az.Accounts' was not loaded because no valid module file was found in any module directory
I am in the process of upgrading azure 'run-as-account' to 'manage-identities'. there were power-shell script that used to automate VM functionalities. I import "Az.Accounts" module from Module section Module Name - Az.Accounts Module…
Unable to run dsregcmd command from PowerShell when deploy to client machines via SCCM package.
Hi Team, we are facing issue, just want to assure the device status whether it is Entra joined or not using "dsregcmd" command line. We created a script to check the device status, then created a package in SCCM to deploy this script which…
A Powershell Script to remove Microsoft Teams Classic
Anyone who can share a powershell script that will remove Microsoft Teams Classic? Current script i have is that it will detect if Teams classic is installed then it will proceed to remove. Check if Microsoft Teams Classic is installed $teamsClassic =…
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.…
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…
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 =…
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…
SharePoint Online | Export File Hashes
Good day, I need assistance with a PowerShell Script to export file names, last modified date, file size, and file hash, from all libraries in a specific SharePoint site. Hoping someone could assist me, as I've searched far and wide, and could not…
Modify Office's settings via Registry/GPO
Good afternoon! In your company, you’re using Office 2016 Professional Plus. Recently, you’ve collected all the user configurations to create group policies. While some settings could be changed using Administrative Templates, there are still some that…