Use PowerCLI to Get Log File When Tools are Broken
Over the past weekend we had a massive push of VMware Tools and VM hardware updates. For the most part this push was smooth except for 2 machines. Of course these 2 machines are high priority development machines and rebuild just won’t work.
Trying to get a log file off a machine that doesn’t allow for the drivers to install becomes when trying to research the issue. … Continue reading
PowerShell Module for Detecting Vulnerabilities to Speculative Execution
Microsoft today (Jan. 4th, 2018) provided a PowerShell module to detect vulnerabilities related to Speculative Execution side-channel attacks. This vulnerability affects Intel, AMD and ARM processors, along with operating systems. You can review the Microsoft security advisory ADV18002 here.
This will install the module to your local machine
*if you are having issues with install the module via the command above you can find the module on my github here.… Continue reading
Have you ever need to find the warranty information for your environment’s workstations, and didn’t want to spend hours to get the answers. That is where PowerShell and HP warranty API will come in handy.
At work we have started to make a push to get as many servers off of RDM (Raw Device Mapping) drives in the virtual environment as we can. We use the RDM drives with MSCS (Microsoft Server Cluster Service) with SQL, but we do have a few application failover cluster as well. With this change we have an influx of iSCSI (Internet Small Computer Systems Interface) drive configurations along with MPIO (Multipath I/O) configured. … Continue reading
Have you ever found yourself trying to run a command, and found out that you need to have modules loaded that are only installed on a remote server. I know I have many times, and trying to found the right module to download at times is nearly impossible.
So starting with PowerShell version 3.0, there is a now way to import a module from a remote machine. … Continue reading
At the end of the day I always take my laptop with me as I never know when I’ll get a call about server issues. So my PowerShell sessions remain open all of the time, with all of the modules loaded. Granted I do save my scripts that I work on frequently, and I had a problem before losing a few scripts without having a recent save. … Continue reading
At my office we have a certificate renewal process that happens every other year. This year, we have a plan to document the location of all of the certificates that are installed on the servers to help the next time the renewal happens. So I have worked out a quick and simply one liner that will get all of the certificates installed on the server in the LOCALMACHINE\My certificate store.… Continue reading
Now that Microsoft has made PowerShell open source it can be installed on Mac OS X and Linux. In this article I’ll discuss the steps on installing it on Linux Ubuntu.
Step 1 – Download the package
As seen in the image above, I have the newest distro of Ubuntu. The first step into getting PowerShell installed is downloading the package from Github as it hasn’t been added to any of the repositories yet.… Continue reading
I was tasked with writing a script to find a single registry key on all of the server for a domain that my team manages. So after getting the key that we need to know the value of, I put a script together. The script will first check to see if the server is online, and if it is then the scripts looks at the registry to find the key and records the value. … Continue reading