ls Variable:

 
 
Name Value Description
$    
? TRUE Status of last command
^    
args System.Object[]  
ConfirmPreference High Dictates when confirmation should be requested. Confirmation is requested when the ConfirmImpact of the operation is equal to or greater than $ConfirmPreference. If $ConfirmPreference is None, actions will only be confirmed when Confirm is specified.
ConsoleFileName   Name of the current console file
DebugPreference SilentlyContinue Dictates the action taken when a Debug message is delivered
Error System.Collections.ArrayList  
ErrorActionPreference Continue Dictates the action taken when an error message is delivered
ErrorView NormalView Dictates the view mode to use when displaying errors
ExecutionContext System.Management.Automation.EngineIntrinsics The run objects available to cmdlets
FALSE FALSE Boolean False
FormatEnumerationLimit 4 Dictates the limit of enumeration on formatting IEnumerable objects
HOME C:\Users\814072 Folder containing the current user's profile
Host System.Management.Automation.Internal.Host.InternalHost A reference to the host of the current runspace
input System.Collections.ArrayList+ArrayListEnumeratorSimple  
MaximumAliasCount 4096 Maximum number of aliases allowed in a session
MaximumDriveCount 4096 Maximum number of drives allowed in a session
MaximumErrorCount 256 Maximum number of errors to retain in a session
MaximumFunctionCount 4096 Maximum number of functions allowed in a session
MaximumHistoryCount 4096 Maximum number of history objects to retain in a session
MaximumVariableCount 4096 Maximum number of variables allowed in a session
MyInvocation System.Management.Automation.InvocationInfo  
NestedPromptLevel 0 Dictates what type of prompt should be displayed for the current nesting level
null   References to the null variable always return the null value. Assignments have no effect.
OutputEncoding System.Text.DBCSCodePageEncoding The text encoding used when piping text to a native executable file
PID 4800 Current process ID
profile C:\Users\814072\Documents\WindowsPowerShell\Microsoft.PowerShellISE_profile.ps1  
ProgressPreference Continue Dictates the action taken when progress records are delivered
PSBoundParameters System.Management.Automation.PSBoundParametersDictionary  
PSCommandPath    
PSCulture zh-CN Culture of the current Windows PowerShell session
PSDefaultParameterValues System.Management.Automation.DefaultParameterDictionary Variable to hold all default <cmdlet:parameter, value> pairs
PSEmailServer   Variable to contain the name of the email server. This can be used instead of the HostName parameter in the Send-MailMessage cmdlet.
PSHOME C:\Windows\System32\WindowsPowerShell\v1.0 Parent folder of the host application of the current runspace
psISE Microsoft.PowerShell.Host.ISE.ObjectModelRoot  
PSScriptRoot    
PSSessionApplicationName wsman AppName where the remote connection will be established
PSSessionConfigurationName http://schemas.microsoft.com/powershell/Microsoft.PowerShell Name of the session configuration which will be loaded on the remote computer
PSSessionOption System.Management.Automation.Remoting.PSSessionOption Default session options for new remote sessions
PSUICulture en-US UI culture of the current Windows PowerShell session
psUnsupportedConsoleApplications Microsoft.PowerShell.Host.ISE.UICollection`1[System.String]  
PSVersionTable System.Management.Automation.PSVersionHashTable Version information for current Windows PowerShell session
PWD C:\Users\814072  
scriptAnalyzer Microsoft.PowerShell.Host.ISE.ISEAddOnTool  
scriptBrowser Microsoft.PowerShell.Host.ISE.ISEAddOnTool  
ShellId Microsoft.PowerShell The ShellID identifies the current shell.  This is used by #Requires.
StackTrace    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

at System.Management.Automation.PathUtils.MasterStreamOpen(PSCmdlet cmdlet, String filePath, Encoding resolvedEncoding, Boolean defaultEncoding, Boolean Append, Boolean Force, Boolean NoClobber, FileStream& fileStream, StreamWriter& streamWriter, FileInfo& readOnlyFileInfo, Boolean isLiteralPath)

 
TRUE TRUE Boolean True
VerbosePreference SilentlyContinue Dictates the action taken when a Verbose message is delivered
WarningPreference Continue Dictates the action taken when a Warning message is delivered
WhatIfPreference FALSE If true, WhatIf is considered to be enabled for all commands.

Powershell的内置变量的更多相关文章

  1. Maven系列三Maven内置变量

    Maven内置变量说明: ${basedir} 项目根目录(即pom.xml文件所在目录) ${project.build.directory} 构建目录,缺省为target目录 ${project. ...

  2. Maven的内置变量

    Maven内置变量说明: ${basedir} 项目根目录(即pom.xml文件所在目录) ${project.build.directory} 构建目录,缺省为target目录 ${project. ...

  3. nginx的那些内置变量

    nginx在配置文件nginx.conf中可以使用很多内置变量,配置如下: location /info { add_header 'Content-Type' 'text/html'; echo & ...

  4. Maven内置变量说明

    Maven内置变量说明: ${basedir} 项目根目录 ${project.build.directory} 构建目录,缺省为target ${project.build.outputDirect ...

  5. 学习笔记——Maven 内置变量

    Maven内置变量说明: ${basedir} 项目根目录(即pom.xml文件所在目录) ${project.build.directory} 构建目录,缺省为target目录 ${project. ...

  6. makefile 分析 -- 内置变量及自动变量

    makefile 分析1  -p 选项,可以打印出make过程中的数据库, 下面研究一下内置的变量和规则. -n 选项, 只运行,不执行, -d 选项,相当于--debug=a,  b(basic), ...

  7. Perl中的特殊内置变量详解

    #!/usr/bin/perl -w @array = qw(a b c d); foreach (@array) { print $_," "; } 例子的作用就是定义一个数组并 ...

  8. 【译】 AWK教程指南 附录D-AWK的内置变量

    因内置变量的个数不多,此处按其相关性分类说明,并未按其字母顺序排列. ARGC ARGC表示命令行上除了选项 -F, -v, -f 及其所对应的参数之外的所有参数的个数.若将"awk程序&q ...

  9. Maven内置变量

    1.Maven内置变量说明: ${basedir} 项目根目录 ${project.build.directory} 构建目录,缺省为target ${project.build.outputDire ...

随机推荐

  1. 【python】lxml查找属性为指定值的节点

    假设有如下xml在/home/abc.xml位置 <A> <B id=" name="apple"/> <B id=" name= ...

  2. osgEarth例子

    #include <osgViewer/Viewer>#include <osgViewer/ViewerEventHandlers>#include <osgGA/St ...

  3. Ubuntu 12.10 安装 jdk-7u10-linux-x64.tar.gz(转载)

    在Ubuntu 12.10下安装 jdk-7u10-linux-x64.tar.gz 总的原则:将jdk-7u10-linux-x64.tar.gz压缩包解压至/usr/lib/jdk,设置jdk环境 ...

  4. CSRF和XSS

    XSS(跨站脚本攻击): 攻击者发现XSS漏洞——构造代码——发送给受害人——受害人打开——攻击者获取受害人的cookie——完成攻击 XSS是什么?它的全名是:Cross-site scriptin ...

  5. Excel 备忘

    1.如何统计一列中数值重复出现的次数: 在A列旁边插入一B列,在B1中写入公式 =countif(A:A,A1),然后下拉到A列没有数据为止,这样B列中出现的数字就是重复次数了. 2.如何将EXCEL ...

  6. Instruments_Activity Monitor使用入门

    Activity Monitor,官方解释为:(活动监视器)即实时显示CPU.内存和网络的使用情况,记录由虚拟内存大小测量的系统负载.用一句大白话来说,Activity Monitor类似Window ...

  7. Sonar+Hudson+Maven构建系列之二:迁移Sonar

    摘要:由于昨天在一台机器上安装的东西太多了,导致Linux机器上非常卡,一台Linux负担了jira, fisheye, confluence, sonar, hudson, mysql 等等,本来已 ...

  8. 电赛总结(二)——AD芯片总结之AD7705

    1.特性参数 (1)16位无丢失代码性AD转化器 (2)只需要3.3V供电(即只需要单片机即可供电) (3)双通道差分输入 (4)基准电压为2.5V时,在单极性信号下,输入范围是0到2.5V,在双极性 ...

  9. 浅谈c++ new and delete or new [] and delete []

    http://www.cnblogs.com/hazir/p/new_and_delete.html 在 C++ 中,你也许经常使用 new 和 delete 来动态申请和释放内存,但你可曾想过以下问 ...

  10. [转载]有了 malloc/free 为什么还要 new/delete ?

      malloc 与free 是C++/C 语言的标准库函数,new/delete 是C++的运算符.他们都可以用于申请动态内存和释放内存.      对于非内部数据类型的对象(如类对象)而言,光用m ...