-
Recent Posts
- vSphere “Operation failed, diagnostics report: A vmkernel nic for the connection point already exists.” when migrating vmkernel from vSwitch to dvSwitch (cisco Nexus 1000v)
- How to time a command in Powershell
- Change HPE BladeSystem Onboard Administrator key length
- Run process as managed service account
- Skype for Business: User can’t see precense on other users if they have not added him to contacts
Archives
Categories
Tag Archives: server
Run process as managed service account
To run a process as a managed service account (or managed group service account) you can use psexec from Sysinternal Suite. PS C:\PSTools> .\PsExec64.exe -u test.domain.com\sys_account_test$ cmd.exe Sysinternal Suite download: https://technet.microsoft.com/nb-no/bb842062 Example: PS C:\PSTools> .\PsExec64.exe -u test.domain.com\sys_account_test$ cmd.exe PsExec v2.2 … Continue reading
Posted in Windows Server
Tagged managed group service account, managed service account, process, psexec, psexec64, run as, runas, server, sysinternals, windows
Leave a comment
Remove KMS host license key from a server that should not be a KMS host.
I came over this message in the event viewer on a server today: Event 12293: Publishing the Key Management Service (KMS) to DNS in the ‘domain.company.com’ domain failed. Info: 0x80072338 It seems like a KMS host license key has been … Continue reading
Posted in Uncategorized, Windows Server
Tagged cscript, host, key, kms, kms host, license, remove, server, slmgr, windows
2 Comments
Use Powershell to check if Windows Update patch is installed
Here is a powershell function to check if a windows update patch is installed or not. It will return $True if it is installed and $False if it is not installed. function Check-IsPatchInstalled { #Øyvind Nilsen, oyvindnilsen.com PARAM ( [Parameter(Mandatory=$false,ValueFromPipeline=$false)][String]$computer … Continue reading
Posted in Scripting
Tagged check, Check-IsPatchInstalled, function, hotfixid, installed, patch, patched, powershell, server, update, windows, windows update, wsus
1 Comment