#PowerShell #SystemsEngineering #IT #DataPrivacy
🔗 https://griff.systems/
Statements are my own.
$flacDir= "/music/flac"
$wmaDir = "/music/wma"
Get-ChildItem $flacDir -Filter *.flac | ForEach-Object {
$wmaFile = Join-Path $wmaDir ($_.BaseName + ".wma")
Remove-Item $wmaFile -ErrorAction SilentlyContinue -WhatIf
}
```
$flacDir= "/music/flac"
$wmaDir = "/music/wma"
Get-ChildItem $flacDir -Filter *.flac | ForEach-Object {
$wmaFile = Join-Path $wmaDir ($_.BaseName + ".wma")
Remove-Item $wmaFile -ErrorAction SilentlyContinue -WhatIf
}
```
Just because something is expensive, doesn't make it good.
Just because something is expensive, doesn't make it good.
```powershell
Start-Process powershell.exe -ArgumentList "-NoProfile"
```
I spun up both Windows PS & PS 7 w/o any profiles & they launched in 243ms/162ms respectively, which I think is reasonable for my shell to load into a terminal emulator.
```powershell
Start-Process powershell.exe -ArgumentList "-NoProfile"
```
I spun up both Windows PS & PS 7 w/o any profiles & they launched in 243ms/162ms respectively, which I think is reasonable for my shell to load into a terminal emulator.
1. Process created
2. Common Language Runtime loading
3. Engine init
4. Load your profile (the part you posted about)
1. Process created
2. Common Language Runtime loading
3. Engine init
4. Load your profile (the part you posted about)
You can check the contents of your profile:
```powershell
Get-Content -Path $profile
```
Or if you want to open it in Notepad...
```powershell
notepad.exe $profile
```
You can check the contents of your profile:
```powershell
Get-Content -Path $profile
```
Or if you want to open it in Notepad...
```powershell
notepad.exe $profile
```