Some Weird services found in services.msc of one of our server
Hi, S1 Screenshots - SEQGDCVMC179.pdf, Some Weird services found in services.msc of one of our server, it showing Path mentioned of executable is - C:\Windows\system32\cmd.exe /C "cmd /c powershell.exe -NoP -NonI -W Hidden…
How to solve Error 0xC004F069
Good morning. I have the following problem when I want to activate my virtual machine within Hyper-V -On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0xC004F069' to display the error- On my physical server I have a Windows…
Unable to fetch disabled users across subscriptions
Hello Team, I'm trying to get list of disabled users across all subscriptions under our tenant. But when I run the below script it is not fetching the data instead loading VS code. If I run Get-disabled users command it is giving the list of disabled…
PermissionDenied: (PS_DnsServerPrimaryZone:root
I am running into an issue when trying to use a service account that is NOT a domain admin to create dns forward lookup zones on a remote DC I am getting the error below; Invoke-Command -Session $session -ScriptBlock { …
remotely join to the domain
Hi All, I am connected to a VM, let's say 192.168.10.10 (srv01.contoso.com), and I am trying to join a remote VM (192.168.10.52) to the domain from this VM. 192.168.10.52 is a new Azure VM that has been created. My requirement is to join this newly…
Custom Scheduling Intervals for Intune Proactive Remediation
Hi Everyone, I’ve been using Intune’s proactive remediation feature and noticed that the scheduling options are limited to intervals like once an hour. However, I need more granular control, such as scheduling tasks to run every minute or every two…
Are you able to share the PowerShell Script/YAML File codes from a specific YouTube video?
Hello, I recently watched the YouTube video titled "Integrating Power BI Deployment Pipelines into Azure DevOps and Azure Pipelines | OD29" by Microsoft Developer. In the video, the presenter demonstrates two methods for automating Azure…
What are the steps and procedure to use gMSA as the Windows Server Service Account?
After creating the gMSA using the below PowerShell, how can I successfully replace the services in all of my Windows Server Application servers? New-ADServiceAccount -Name New-gMSA -DNSHostName Mydomain.com -PrincipalsAllowedToRetrieveManagedPassword…
I have to resolve the error nginx/1.24.0 can you please guide me about the error and how I can resolve the error
I have to resolve the error nginx/1.24.0 can you please guide me about the error and how I can resolve the error
Ms Graph - Disable User Account
Hi, I am writing a PowerShell script to disable Azure AD users that are not synced from on-premises. As part of the script I am running a foreach loop to disable the users with the following command: $params = @{ AccountEnabled = "false" …
While I ak all deleting the resources the money is also cutting automatically
Can any one help mee to stop the cutting moneyy. How I need to dissable the all resources and servers.how to we delete the resource mover
I'm having trouble in collecting performance data from virtual machines under Hyper-v virtualization and having empty results in collecting the VM metrics what could be the reason / rootcause of this issue?
I'm experiencing an issue with Performance Data Helper (PDH) counter collection in my Hyper-V cluster. Trouble in collecting performance data from virtual machines under Hyper-v virtualization and having empty results in collecting the VM metrics what…
Key not valid for use in specified state
I have using an Azure App Registration and i have encrypted client secret using the below syntax from powershell. $myfile = 'c:\temp\myappreg.key' Read-Host -assecurestring | convertfrom-securestring | out-file $myfile I am using below lines in the…
Automate firewall policy rule update in GPO
Hello Team, We are applying firewall rules for all my domain machines through GPO. I have three GPOs for firewall rules that apply to workstations, servers, and domain controllers. Therefore, we have different sets of inbound and outbound firewall rules…
PowerShell Schedule Task
Hello, I have powershell script to insert some data into SQL server, when i double click on the .ps1 file i can see the data in SQL server. Then i want to make this script running every hours and i schedule this using windows task scheduler. But…
Web Front End for PS script - issues with PS remoting
Hi, I am evaluating Web Front End solution for backend PowerShell scripts - every single time backend PowerShell script fails here: $session = New-PSSession -ComputerName dcName -ConfigurationName DomainAdmins Invoke-Command -Session $session…
unable to connect Azure
Hi All I use the below syntax to connect to Azure Powershell, but today i am unable to connect to azure powershell. it prompts me to enter tenant and subscription number. I have 1500 subscriptions, how can i know the subscription number for my…
Extend truncated powershell error output | Get-AzAutomationJobOutputRecord
Hi, I am trying to run the below cmdlet but the output is truncated and I am unable to expand it. Get-AzAutomationJobOutput -Id $job.JobId -AutomationAccountName Myautomation -ResourceGroupName MyautomationRG -Stream "any" | …
A positional parameter cannot be found
Hi All, My script uses the Get-QADUser syntax, and I want to replace it with Get-ADUser. However, when I use the Get-ADUser syntax, I am encountering the following error: A positional parameter cannot be found that accepts argument 'False'. Please guide…
Automatisation of server environment with virtualbox, packer and powershell
Hi, I am currently working on a project and keep having the same error. Does anybody know why I am getting this error(see screenshot)? Thanks in advance! The objective is to automate the setup of a Windows Server 2022 environment using Packer and…