Map network drive to computer without user sign in
Hello all, I need to map a cloud drive to the file server. It works when I manually map it but it needs to be available after the server restarts without requiring user sign in. I created a PowerShell script and works when I run it with a regular user…
hoe kan ik het probleem oplossen livekernelevent hardware probleem zodat windows niet goed functioneerd zegt ie
LiveKernelEvent Code: 144 Parameter 1: 3003 Parameter 2: ffff988e8d4875b0 Parameter 3: 40010000 Parameter 4: 0 Versie besturingssysteem: 10_0_19045 Servicepack: 0_0 Product: 256_1 Versie van…
How to prevent installation of application on system . using cmd or powershell or service?
Why disabling/stopping windows MSI service wont stop installing/uninstalling of the applications?
Using Get-Certificate with a Microsoft CA
I would like to use Get-Certificate with a Microsoft CA. https://learn.microsoft.com/en-us/powershell/module/pki/get-certificate?view=windowsserver2022-ps The documentation doesn't really show many examples. Does anyone know how to do this?
Can someone explain to me how to Get Mailbox folder permissions in recoverable items use PowerShell? Its possible or not
Get-MailboxFolderPermission -Identity " testid@223.microsoft.com\Recoverable Items"
How to access user details for those who have not logged in to Azure Virtual Desktop for 90 days
I am looking for information on how to access the details of inactive users who have not logged into Azure Virtual Desktop for 90 days. Specifically, I would like to know their usage in the file share as well as their last logon details.
PKI - Certification Authority (CA): IssuingCA, certificate with "unknown error"
Hi everyone, I have a couple of CAs that I manage, they are Enterprice CA with Root Server in workgroup (not in domain). I have an error in the IssuingCA regarding the certificate and I think it happens when the Root CRL expires, if I copy the Root…
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…
Why can't I use Invoke-WebRequest twice?
Hi All, I need to rely on the first Invoke-WebRequest to piece together a URL for the second Invoke-WebRequest, but the second time is forcibly terminated. My Script: Import-Module -ErrorAction Stop…
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
retrieve DNS records help
Hi all, We have many reverse lookup zones in our AD integrated zone of our domain mydomain.local. How to retrieve all PTR records for each reverse lookup zones through script? Unfortunately I don't have much knowledge of how to create Powershell…
SCCM Detection Method: Error 0x87D00327 (-2016410841) Script is not signed
I discovered a problem in SCCM compliance. When using a PS script for detection, an error (0x87D00327 (-2016410841) Script is not signed) is returned. After closer examination of the problem, I found out: SCCM creates a temporary ps1 file in 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…
PowerShell command to execute below SSIS.exe file with no prompting window
HI Please assist me in executing below command, you can see respective .exe file is there in the respective folder. Please assist on this
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…
Pass null instead of double quotes in Powershell ConvertTo-Json
I'm passing a value to my JSON body for Invoke-RestMethod via PowerShell Instead of passing null it passes "" as below: $usermail = $null | ConvertTo-Json I'm expecting $usermail to be null but instead its appearing as "" …
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…
Add exact upns
Hi All i have userprincipalnames in a csv file in the below format. usernames user1@contoso.com user2@contoso.com i want to add these users to AD group from powershell. if there are any other user with user1.a@contoso.com or user2.a@contoso.com. i…
How to use ForEach-Object -Parallel in Azure Devops Pipeline Agent.
I want to use a PowerShell script which has below cmdlet. When I tried to use MS Hosted Pipeline agent with Parallel feature I'm getting "Parameter set cannot be resolved using the specified named parameters" error. How can I execute the…
Windows 11 remove apps for all users?
Several years back I put together a Powershell script for Windows 10 to remove all unwanted apps. It would remove them for the current user, as well as from the default user profile template, so that they would not install for new user profiles. …