📜  如何根据用户输入为 powershell 中的变量设置最小字符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:30.187000             🧑  作者: Mango

代码示例4
Set-Location c:\users      # Back to filesystem c: (directory users)
                              # 
   $env:userprofile           # Get value of environment variable `userprofile`
                              # -> C:\Users\user_name 
   $alias:ls                  # Get what alias 'ls' stands for
                              # -> Get-ChildItem