Technically Impossible

Lets look at the weak link in your statement. Anything "Technically Impossible" basically means we haven't figured out how yet.

PowerShell

OneNote data handling with PowerShell from getting hierarchy structure to exporting notebook

OneNote can export its notebooks, sections and pages as a document files. But it doesn't support as exporting different pages to separate document files exporting all pages under a notebook or a section to separate document files And due t…

PowerShellによるOneNote操作 階層構造の取得からMarkdown変換まで

OneNoteにはエクスポート機能が備わっている。ノート、セクション、ページ、それぞれの単位で1ファイルにエクスポートできるのだが、次のような場合のエクスポートには対応していない。 異なる複数のページを、それぞれ個別のファイルにエクスポートする ノ…

Mount ISO and change its drive letter with PowerShell - 2023

Abstract Windows can mount ISO file, but user can't specify drive letter in advance of mounting. Its drive letter is dynamically assigned by Windows. If specific drive letter should be assigned, assigned drive letter must be changed after …

PowerShellによるISOファイルのマウント、そしてドライブ・レターの変更 2023年版

Windowsインフラの管理に欠かせない要素技術の一つがWMI (Windows Management Instrumentation)、そして、その作業に用いるのがWMIC utility (Windows Management Instrumentation Command-line utility)だ。しかし、この機能は21H1以降のWindows 10、Window…

Windowsのシンボリックリンク、作成とリンク先の更新

ひさしぶりにストレージを増設した。様々な経験を経てITの使い方が変化すると、ただ新しいストレージにデータを移動するだけでは解決できない制約も生じる。その典型例の一つが、古いパスでデータを参照する必要がある場合だ。アプリケーションが参照する先…

Create Windows symbolic link and update it

Abstract Symbolic link works effectively to migrate folders and files from old disk to new one. Typical situation is install new storage move folders and files from old storage make symbolic link to point new location on old storage User c…

任意のLinuxディストリビューションへ、.NET (.NET Core)とPowerShellをインストールする

.NET (.NET Core)*1は、Windowsをはじめ、Linux、Android、Apple端末をサポートする、クロスプラットフォーム開発フレームワークだ。特にLinux向けの配布について、主要Linuxディストリビューション向けにはパッケージを、それ以外のディストリビューション…

Install .NET Core and PowerShell to any Linux distribution

.NET or .NET Core*1 is the cross-platform development framework. Microsoft provides provides it not only as packages for major Linux distros, but also binary with install script for minor distros.As .NET is cross-platform SDK and runtime, …

/dev/zero and /dev/random in PowerShell - Binary file generation with Set-Content

dd command*1 in UNIX reads and writes data in specified bytes or blocks at specified devices. It is used to backup of HDD or USB memory at partition or sector level, or convert from an optic medium to ISO file. Although Windows doesn't hav…

PowerShellでの/dev/zero、/dev/random - Set-Contentによるバイナリ・ファイル生成

UNIXにddと言うコマンド*1がある。指定したデバイス、バイト数、ブロック数のデータを読み書きできるコマンドだ。その特性上、ハードディスクやUSBメモリのパーティション、セクターのバックアップに用いられたり、光学メディアをISO化するなどの目的で利用…

Access library or DLL with PowerShell - Add-Type and Get-Member

Abstract It is sometime less efficient to write code and compile it only for checking capability of libraries. Scripting on PowerShell can also call libraries. Example, .Net Framework library can be called with command "Add-Type". Abstract…

PowerShellからDLL(ライブラリ)を呼び出す-Add-TypeとGet-Member MagicWandWin.dllの場合

MagicWandWinというライブラリの存在を知った。.Net frameworkを利用したライブラリで、NuGetからダウンロードすることができる(リンクなどは投稿末尾参照)。MagicWandWinには、書籍『1分間プログラミング』*1の話題に必要な機能を提供するメソッドが提供…

Mount ISO and change its drive letter with PowerShell - Drive letter assignment to volume, not partition

Refer 2023 edition. This post is 2020 edition. The WMI command-line (WMIC) utility is deprecated as of Windows 10, version 21H1, and as of the 21H1 semi-annual channel release of Windows Server. wmic | Microsoft Learn Due to deprecation of…

Radikoを録音したAACファイルを、iTunesライブラリへ追加する。-qaacによるAAC-LCへの変換

新型コロナ流行以前から、私にとって、ラジオは日常的なメディアだった。Radikoの登場で、それが一変した。言葉としての「ラジオ」は生きているものの、その実態は既にインターネット上の1サービスだ。加えてPCによる録音の自由度、スマートフォンなどのポー…

PowerShellによるISOファイルのマウント、そしてドライブ・レターの変更

この投稿は2020年版です。2023年版をご参照ください。 2023年版として、WMICに代わって利用推奨されているCIM Cmdletを用いる内容へ改めた記事を投稿したので、次の記事を参照してほしい。 impsbl.hatenablog.jp21H1以降のWindows 10、Windows Server (Semi-…