From 8c3db2a33f886e6ead0d647b321d508eb60d2ce9 Mon Sep 17 00:00:00 2001 From: ralfk Date: Mon, 5 Aug 2024 15:21:40 +0200 Subject: [PATCH] Bauer: 2024-08-05 15:21:40 --- Eingang/Eingang.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Eingang/Eingang.md b/Eingang/Eingang.md index a2d9044..3505391 100644 --- a/Eingang/Eingang.md +++ b/Eingang/Eingang.md @@ -32,3 +32,18 @@ Mal schauen wie das so in Unotes so geht Mit Solarized Light sieht das besser aus Mit der tastatur geht es, aber mit dem stift nicht so gut So ist das schon besser + + + +## Splatting mit Hashtabellen + +``` +Copy-Item -Path "test.txt" -Destination "test2.txt" -WhatIf +``` +$HashArguments = @{ + Path = "test.txt" + Destination = "test2.txt" + WhatIf = $true } + + Copy-Item @HashArguments +``` \ No newline at end of file