xxxxプログラマのメモ

先人に感謝と敬意:自分の困ったこと調べたことのメモ

PowerShell

Call Rest Api from file using Powershell

genpaku1110.hatenablog.comThanks!

Powershell each file size

$SourceDir = '\\10.212.125.128\xxx' $FileList = Get-ChildItem -LiteralPath $SourceDir -File $Results = foreach ($FL_Item in $FileList) { [PSCustomObject]@{ Name = $FL_Item.Name Location = $FL_Item.Directory Size_KB = '{0,7:N2}' -f ($FL_Ite…

Powershell Tips

PowerShellで日付書式にカスタム書式パターンを指定する - tech.guitarrapc.cóm ディレクトリを作成する (PowerShell Tips) PowerShell サービス取得・変更を行うコマンドレットのまとめ - 元「なんでもエンジニ屋」のダメ日記 逆引き!PowerShellで別プロセ…

Powershell Tips

PowerShell/ファイル作成/ショートカット(lnk)の作成 - yanor.net/wikiPowershell で読み取り専用属性を変更する - Qiita # Remove readonly attribute. foreach($file in ((Get-ChildItem $ApiContentsPath -Recurse)| Where-Object { $_.IsReadOnly -eq $T…

Powershell上でC#コードの実行

C#からPowerShellコマンドの実行 - Qiita yomon.hatenablog.com $assemblies = ( "System", "System.Xml", "System.Linq", "System.Xml.Linq" ) $source = @" using System; using System.Linq; using System.Xml; using System.Xml.Linq; public static cla…

PowerShell Tips

www.jokecamp.comdocs.microsoft.com Thanks!

netstat command by PowerShell

tech.guitarrapc.comThanks!