'What is the `mkdir -p` equivalent in Powershell? [duplicate]

In other words, in Powershell, how to create directories recursively, and not fail if each directory level already exist ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source