PowerShell
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…
OneNoteにはエクスポート機能が備わっている。ノート、セクション、ページ、それぞれの単位で1ファイルにエクスポートできるのだが、次のような場合のエクスポートには対応していない。 異なる複数のページを、それぞれ個別のファイルにエクスポートする ノ…
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 …
Windowsインフラの管理に欠かせない要素技術の一つがWMI (Windows Management Instrumentation)、そして、その作業に用いるのがWMIC utility (Windows Management Instrumentation Command-line utility)だ。しかし、この機能は21H1以降のWindows 10、Window…
ひさしぶりにストレージを増設した。様々な経験を経て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…
.NET (.NET Core)*1は、Windowsをはじめ、Linux、Android、Apple端末をサポートする、クロスプラットフォーム開発フレームワークだ。特にLinux向けの配布について、主要Linuxディストリビューション向けにはパッケージを、それ以外のディストリビューション…
.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, …
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…
UNIXにddと言うコマンド*1がある。指定したデバイス、バイト数、ブロック数のデータを読み書きできるコマンドだ。その特性上、ハードディスクやUSBメモリのパーティション、セクターのバックアップに用いられたり、光学メディアをISO化するなどの目的で利用…
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…
MagicWandWinというライブラリの存在を知った。.Net frameworkを利用したライブラリで、NuGetからダウンロードすることができる(リンクなどは投稿末尾参照)。MagicWandWinには、書籍『1分間プログラミング』*1の話題に必要な機能を提供するメソッドが提供…
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の登場で、それが一変した。言葉としての「ラジオ」は生きているものの、その実態は既にインターネット上の1サービスだ。加えてPCによる録音の自由度、スマートフォンなどのポー…
この投稿は2020年版です。2023年版をご参照ください。 2023年版として、WMICに代わって利用推奨されているCIM Cmdletを用いる内容へ改めた記事を投稿したので、次の記事を参照してほしい。 impsbl.hatenablog.jp21H1以降のWindows 10、Windows Server (Semi-…