
上QQ阅读APP看书,第一时间看更新
There's more…
Just because you can (and not because this is the way to do so), create a subdirectory within your home directory using the CreateSubdirectory() method from the object returned by Get-Item:
PS> (Get-Item $HOME).CreateSubdirectory('test-directory')
This should show you the new directory that you just created:
PS> Get-ChildItem $HOME # To list the contents of your home directory