PowerShell checking file hash

PowerShell has a function Get-FileHash to compute the hash value for a file by using a specified hash algorithm. For example, to calculate SHA1 hash code for a file: Get-FileHash -Path "D:\Software\test.ovf" -Algorithm SHA1 You can also check other algorithms like MD5, SHA256 etc. PS D:\Software> Get-Command Get-FileHash CommandType Name Version Source ----------- ---- ------- … Continue reading PowerShell checking file hash

PowerShell with GCP — Google Cloud Platform

Google Cloud SDK provides libraries and tools for interacting with Google Cloud products and services. It includes Google Cloud Command Line Interface (gcloud CLI) for various platforms like Linux, Windows, MacOS. On Windows, you can even use PowerShell to manage GCP because the SDK has dozens of cmdlets for this purpose. To install the SDK … Continue reading PowerShell with GCP — Google Cloud Platform

SQL Patch fails — Archived Patch Directory Is Empty — sqlpatch_invocation.log

When patching Oracle database, some patches need to update database objects. A SQL patch is a patch that contains SQL scripts which need to be run after OPatch completes. In Oracle 12c, Oracle has introduced a new tool named "datapatch" which enables automation of post-patch SQL actions for RDBMS patches. It's called by OPatchAuto usually. … Continue reading SQL Patch fails — Archived Patch Directory Is Empty — sqlpatch_invocation.log

ORA-16700: The standby database has diverged from the primary database

Had an ODG configuration which contains 1 primary and 1 physical standby databases running with 19c on Oracle Linux 7. We moved them to Oracle Linux 8 with the forklift method. However, because we didn't copy the online redo logs over from old OL7 servers to the new OL8 servers, an incomplete recover was done … Continue reading ORA-16700: The standby database has diverged from the primary database