Connect-OrganizationAddInService using Entra ServicePrincipal ID
I am trying to find if someone has successfully done this, basically automatize the deployment of an Add-in to Office 365 Client Secret: "1111111111111111111" (This is a secret that should be protected and not shown, I am having a look how to…
Windows Powershell and Visual Studio Running Extremely Slow
Hello, I work as an IT support engineer for my company and a user reached out to me saying that they have been experiencing issues with their VS code and Powershell commands running very slow. I recreated the same environment on my laptop, and I had the…
SQL server backup in a 2019 VM to s3 using backup URL
Hi I have set up a Windows Server 2019 VM with SQL server 2016. I want to take the backup of SQL server in AWS S3. It should have monitoring and auditing capability and cost effective and secure. I have looked at below…
Deactivate a DHCP scope using Powershell
Hello, I was wondering has anyone deactivated DHCP scopes using Powershell below? I'm just learning how to use Powershell and I know how to update Scope Options using Powershell but I was wondering can you Deactivate it using PowerShell? I would like…
export the output
Hi all i want to execute the below syntax on few servers and i have created a collection and added the Servers to it. When i execute manually from powershell i get the output but i want to export that output to a text file under c:\windows\Temp folder.…
Installing VS build tools with out any prompt
I am using following script to VSbuild tools 2022, but what is happening it makes to go that folder and run manually even I have provided arguments in the below script which should not to prompt for window, script: Create the 'C:\software' directory if…
Risk and consequence when executing Kerberos password reset in a Hybrid Azure AD - OnPremise AD DS?
What are the risks and consequences of resetting the Kerberos krbtgt account during business hours using the steps defined…
Problemas com a opção "Alterar a senha no proximo logon"
Prezados, bom dia!!! Estou com o seguinte problema e gostaria de entender se mais alguém já passou pelo mesmo: Minha infraestrutura funciona normalmente, porém, quando vou até um usuário e habilito a opção "Alterar a senha no próximo login",…
PowerShell ISE script to access Azure Secrets and Azure Certificate Thumbprint using TenentID
Hello All, I am looking for guidance on writing PS ISE script to get Azure Secrets and Azure Certificate Thumbprint using TenantID. Any help would be highly appreciated.
how can I find email address, cn number etc. in Get-CalendarDiagnosticObjects DisplayAttendeesAll names ?
Good Day Friends, I want to take calendar events with attendee list, by that I'm using CalendarDiagnosticObjects in PS, but in DisplayAttendeesAll part it's just showing the names. There are several people in the organization or in meeting request (as…
Cannot connect to ISCSI target Server
Hello dear all, I have this issues when i'm trying to connect this to iSCSI initiators (sea-svr1 & sea-svr2) to my target server (sea-dc1). First of all, i had installed Failover clustering into my two initiators, then installed the…
How to BULK GROUPS to a User
Hello, As part of our onboarding process we are required to create user accounts in Microsoft admin center. Once created, we need to add this user to multiple different groups. The process to do this in the admin center is incredibly frustrating and is…
Download error - 0x80080005, can't update
updates 2024-04 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, version 22H2 for x64 (KB5036620) and Windows 11, version 23H2 don't download. I've tried many things, its been like this for months for the first update. The second one…
Azure Cloud Shell error while deploying powershell scripts
I'm trying to create resources in azure using ARM templates via Powershell scripts and I'm trying to run the script in Azure Cloud Shell it used to successfully deploy previously, but currently I'm facing this issue frequently & there were no code…
How to get list of all attribute in AD
Hello, How To get list of all attribute in AD(default and custom attribute ) in csv file. Thanks Rich
Need some help to target the Group Policy to enable the NTLM audit?
I must audit any computers still using NTLM v1 in my AD Domain. Do I need to enable these group policies for all Windows servers and workstations in my AD Domain or just the Domain Controllers? Computer Configuration\Windows Settings\Security…
Powershell Module
Hi All I have a Azure Virtual Machine which is running on Windows Server 2012 R2, i want to decommission this VM. This VM has many powershell modules installed. I came up with a new 2019 VM. I want to install the same PowerShell modules on the new VM.…
How to change SQL Server Failover Cluster IP addresses with PowerShell
Hello, I am trying to create a script that will change Windows Failover Cluster and SQL Server Cluster IP addresses. I can do this by using Failover Cluster Manager GUI, but I need to script it in PowerShell. I cannot find any information on how to…
OpenSSL upgrade on windows servers
The version of OpenSSL installed on the remote host is prior to 3.0.14. It is, therefore, affected by a vulnerability as referenced in the 3.0.14 advisory.
Connect-Exchange Online (Error while sending the request)
Hello, I'm getting the below Error while connecting to Exchange Online (PowerShell Script) when called from .Net Application. #Import-Module ExchangeOnlineManagement #Connect-ExchangeOnline -Credential $Creds An error occurred while…