You might find yourself wanting a report of when your vSphere servers have been patched for the last time. Here you will find a simple PowerCLI script that uses vSphere CLI to query the last VIB install date.
Today I was deploying Windows Server 2016 Nano. After the deployment I wanted to install the IIS packages but I ran into the following error-message:
We recently ran into an issue where the a system was running out of space on the system-drive. After initial investigation we've discovered that Direct Access Database Windows Internal Database was consuming a lot of drive-space on a system-drive. Below I will explain how to shrink Direct Access database
Below is a PowerCLI one-liner you can use to validate if all your root passwords are what you expect them to be.
AppVeyor is a CI/CD (Continuous Integration / Continuous Deployment) platform that's aimed at .NET developers. In this blog-post I'll take you through the basics for setting up your first Project. We will be building, testing and deploying a PowerShell Module to the PowerShell Gallery using AppVeyor and GitHub.
Get-ChildItem is probably the command that's most used when working in PowerShell console. Next to file-system operations the command is also excellent to browse objects accessible via PSDrive(s).
Today I was working with a Server 2016 TP5 server over PSR and I ran into this issue with one of my scripts:
Recently I logged into a machine and ran ‘Enable-PSRemoting -Force’ to end up with error code ‘2150858770’. WinRM service was in ‘StopPending’ state:
Last week I ran into a few DFS issues. When troubleshooting I like to actively watch the log file, or in this case, the Windows Eventlog. On Linux I would use
tail -f but what about Windows Eventlog? Also, I only needed a certain part of the information, so there is a need to parse the Eventlog as well. Powershell to the rescue!
We frequently need to spell out names, ticket ID's or other complex “words” over the phone. We also frequently deal with some special characters in passwords and so-on. If you don't often practice this, quickly spelling-out over the phone might be difficult. To counter this issue I've decided to create a simple PowerShell function for people to put into their profile for easy access. It works like this: