Visual Studio – Error – System.IO.IOException – The process cannot access the file ispac because it is being used by another process

Background Occasionally, I run into an error when trying to build a project in Visual Studio.   Error Sample Error Images Image - Build Errors.  Run the last successful build? Textual Image - Process cannot access the file because it is being used by another process   Textual   TroubleShooting Outline File Write Lock Process … Continue reading Visual Studio – Error – System.IO.IOException – The process cannot access the file ispac because it is being used by another process

Windows Print Spooler Remote Code Execution Vulnerability – 2021/Summer

Background It is time to take a quick look at the recently disclosed security vulnerabilities that affect the Microsoft Print Spooler Service.   Vulnerabilities Windows Print Spooler Remote Code Execution Vulnerability CVE-2021-1675 Vulnerability Type:- Privilege Escalation Released:- Jun 8, 2021 Last updated:- Jul 2, 2021 https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-1675 Windows Print Spooler Remote Code Execution Vulnerability CVE-2021-34527 Vulnerability … Continue reading Windows Print Spooler Remote Code Execution Vulnerability – 2021/Summer

PowerShell – Command Line – Differences between double-quote and single-quote

Background Want to quickly touch on one of the differences between how PowerShell processes double and single quotes.   Scenario Command Line Double-Quotes Versus Single Quotes Syntax Sample Double Quotes Sample Output Output - Image Output - Text Explanation Issuing the command " pwsh -Command "$PSVersionTable" " returns an empty output   Single Quotes Sample … Continue reading PowerShell – Command Line – Differences between double-quote and single-quote

Powershell Core – Update – Linux – CentOS

Background Recent disclosure from Microsoft shares news of Powershell Core security vulnerabilities. Let us quickly review whether we need to apply the patch to our Linux/CentOS box.   Scope Please keep in mind that the vulnerability does not affect Windows Powershell, but Powershell Core. Windows PowerShell runs only on MS Windows. Powershell Core is multi-OS. … Continue reading Powershell Core – Update – Linux – CentOS

PowerShell – System.Collections.ArrayList – Add versus AddRange

Background Recently, I converted a small Powershell code from using Array to ArrayList. Upon the conversion, the Out-Gridview no longer displayed the actual contents of the collection, but the collection's metadata.   Image Here is a sample of what is displayed:- Image -01 Textual -01 Columns Length LongLength Rank IsReadOnly IsFixedSized IsSynchronized Count   Sample … Continue reading PowerShell – System.Collections.ArrayList – Add versus AddRange

PowerShell:- File System – FileInfo

Background Determining whether a file is empty could involve a few application logic-specific steps or more generic API calls. Here is a sample code in Powershell.   Script Outline Command Line Arguments file Sanitize Variables file If the file is not specified, raise an exception Exception Type:- System.ArgumentNullException If the specified file does not exist, … Continue reading PowerShell:- File System – FileInfo

PowerShell:- File System – Create new file

Background I need to generate data files on a scheduled basis. The file's name should reflect the current time.   Script Outline Command Line Arguments folder filenamePrefix filenameSuffix fileExt fileTemplate Sanitize Variables folder If the folder is not specified, use the current folder Use Get-Location command Sanitize folder Make sure that it is not a … Continue reading PowerShell:- File System – Create new file

Dawson Jarrell, The Remnant Radio – Bible Book of Jeremiah

Videos Prophetic The Remnant Radio Testing the Prophets – Testing the Prophecies Given in 2020 Segments Testing the Prophets – Testing the Prophecies Given in 2020 - Dawson Jarrell Date Published:- 2021-July-1st Date Added:- 2021-July-1st Link Full Testing the Prophets – Testing the Prophecies Given in 2020 Channel:- The Remnant Radio Date Streamed Live:- 2020-December-31st … Continue reading Dawson Jarrell, The Remnant Radio – Bible Book of Jeremiah

MS DOS – Command Line Parameters

Background Looking at someone's code is a good way to tighten up one's own education. I was looking at a good man's code and immediately knew, I had a huge learning curve.   Table Pattern Meaning Sample Script %~dp0 Command Line Folder C:\batchfile\helloWorld\ %~n0 Command Line File helloWorld %~f0 Command Line Folder And File C:\batchfile\helloWorld\helloWorld.cmd … Continue reading MS DOS – Command Line Parameters

Win OS – Is TPM Chip Installed?

Background These days, there are various reasons for you to know the hardware components installed on your computer. TPM Chip For instance, to be security conscious, you might want to know whether a TPM chip is installed. And, if a TPM Chip installed, its version compatibility. Win OS Our OS version is MS Windows 10. … Continue reading Win OS – Is TPM Chip Installed?