$ClientIPv4Address = $(Get-NetIPConfiguration | Where-Object {
$_.NetProfile -and $_.NetProfile.PSObject.Properties['IPv4Connectivity'] -and $_.NetProfile.IPv4Connectivity -eq 'Internet'
}).IPV4Address[0].IPAddress
cd C:\2
$clipboardText = Get-Clipboard -Format Text
anyflip-downloader
# Используйте $clipboardText здесь
# Укажите путь к папке с фотографиями
$sourceFolder = "Путь_к_исходной_папке"
$files = Get-ChildItem -Path $sourceFolder -File
foreach ($file in $files) {
$newFolderPath = Join-Path -Path $sourceFolder -ChildPath $file.BaseName
New-Item -ItemType Directory -Path $newFolderPath -ErrorAction SilentlyContinue | Out-Null
Move-Item -Path $file.FullName -Destination $newFolderPath
}