![](https://learn.microsoft.com/media/logos/logo_edge.png)
Scripting installation of extension in Edge
What is the best way to force installation of extension in Edge (and Chrome)? I have 2 possibilities but which one is preferred? Use ExtensionSettings registry string and configure the extension Use the ExtensionInstallForceList registry key, obtain…
How to get a list of AD users that are set to change password at next logon
Hello, I am trying to export a list of all users in AD including a column for "ChangePasswordAtLogon" attribute. I have tried a lot of different variations but none of them have worked. This is one of the formats that didn't work. …
AZure VM backup failure report notification email through Powershell
Please suggest how to create a AZure VM backup failure notification email using Powershell. I have script to enable the recovery service vault and take backup . I need to add the failure notification also Recovery service vault is taking the…
PowerShell script = how to remediate "This security ID may not be assigned as the owner of this object."
Hello, I created a Windows Server 2016 PowerShell script which copies & replaces files from Source Files Location to a Network Disk Share Target Files Location that are 1 day old as follows: robocopy G:\Source_Files_Location…
![](https://techprofile.blob.core.windows.net/images/pxpvXcfHUkGs_31NHERBiA.png?8D83C7)
Command not working: "Get-PrivilegedRoleAssignment"
Hello everyone, I was thinking to create a script to enable my roles in the morning when logging in. I'm connected to our tenant, installed and connected to the PIM service - then try to retrieve the role assignments it just bombs out. It seems this…
I ran Microsoft Security Scan and a VirTool:Win32\DefenderTamperingRestore was found and supposedly removed but other issues remain.
After the Security Scan I found the log showing the VirTool:Win32/DefenderTamperingRestore and Removed which is a rootkit? I then ran a Get-MpComputerStatus command in PowerShell and found Antispyware Enabled as false even though I have an antivirus and…
Ways on how to manage azure Devices and Find device location per office
Hi, Im on creating some automation to delete all stale devices in Entra ID (not in intune) and i need to find a way to find each device location so i can separate them every office. are there any ways to check the device location or physcial location? im…
Wsus client not showing in WSUS server- 0x8024401C error
got a windows domain environment. got more than 100 clients- all are server2016 OS.. all shows up in WSUS , except 1 client (2016 server) wsus configured with gpo. no issues from wsus server side - because all clients connects/shows up properly except…
How to pass proxy in a PowerShell script for installing defender software
I am getting an error when running a PowerShell script to install defender software on my development server. The error states that "defender.ps1 is not recognized" and that there is an "err: invalid token." I believe this is because…
Cannot run New-AzActionGroup after New-AzActionGroupReceiver
Hello, I am trying to create a new action group using PS. The group will use webhook. To achieve this I need to create an action group receiver. Code: $ActionGroupShortName = 'Alert' $ActionGroupReceiverName =…
Ways on how to manage azure Devices and Find device location per office
Hi, Im on creating some automation to delete all stale devices in Entra ID (not in intune) and i need to find a way to find each device location so i can separate them every office. are there any ways to check the device location or physcial location? im…
Problems with DNS policy
Hi, community. I made a DNS policy for subnet, zone scope and added record type A. My A record, made above, resolving on client from subnet, it's OK. But while policy enabled, that client can't resolving other records in domain. Appears error: ***…
PowerShell custom module call crashing PowerShell session
Hey, Currently running into an issue with a custom PowerShell script that I own. The script has been in production almost daily for the past 4-5 years but the past couple weeks it's been erroring out on me for reasons I don't understand. The script in…
Change Product Key of Windows Server 2022 using Ansible and/or PowerShell script
Hi there, I am trying to automate the process of provisioning a Windows Server based Virtual Machine using Azure and Ansible. My company has some Windows Server product keys available through the Microsoft Partner Program. My goal is to use one of these…
Group membership
Hi All The following script doesn't work for AD groups. Members of ADGroup1 should be able to add or remove users from other AD Group. please guide me. # Define the $owner that will be able to manage the members of $group $owner = "ADGroup1"; …
Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?
I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…
Troubleshooting Non-functioning Mouse Cursor on Laptop
My laptop's mouse cursor is not showing up. I have tried connecting a wired mouse to check if the issue is with the touchpad. However, even the wired mouse is not working. The problem is temporarily solved upon restarting the PC, but it comes back after…
Access to C:\Data not allowed . Error Code 22853
Access to C:\Data not allowed . Error Code 22853 Any workway around this ?
Could someone kindly help me to set the max memory for SQL via powershell
Hi Experts, Could someone please help me to set the max memory in SQL for the below request. I have checked the below link. But I am not able to make out. Because I am not expertise in scripting and PowerShell. So need your help. …
![](https://techprofile.blob.core.windows.net/images/c4mRkDtLdU6n6fSv2i9uBg.png?8D843C)
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 .…