Get-TypeData 参考 模块: Microsoft.PowerShell.Utility 获取当前会话中的扩展类型数据。 语法 PowerShell Get-TypeData[[-TypeName] <String[]>] [<CommonParameters>] 说明 Get-TypeDatacmdlet 获取当前会话中的扩展类型数据。 这包括通过使用Update-TypeDatacmdlet 的参数添加的Types.ps1xml文件和动态类型数据添加到...
Get-ControlPanelItem Rename-Computer Show-ControlPanelItem Microsoft.PowerShell.Utility ConvertFrom-Json ConvertTo-Json Get-TypeData Invoke-RestMethod Invoke-WebRequest Remove-TypeData Show-Command Unblock-File PSScheduledJob Add-JobTrigger Disable-JobTrigger ...
Get-FormatData Get-Host Get-MarkdownOption Get-Member Get-PSBreakpoint Get-PSCallStack Get-Random Get-Runspace Get-RunspaceDebug Get-SecureRandom Get-TraceSource Get-TypeData Get-UICulture Get-Unique Get-Uptime Get-Variable Get-Verb Group-Object Import-Alias Import-Clixml Import-Csv Import-Localize...
TypeData cmdlet 以下cmdlet 包含在 PowerShell 3.0 及更高版本的Microsoft.PowerShell.Utility模块中。 Get-TypeData:获取当前会话中的扩展类型数据。 Update-TypeData:重新加载Types.ps1xml文件。 将扩展类型数据添加到当前会话。 Remove-TypeData:从当前会话中删除扩展类型数据。
Get-FormatData -TypeName 'Microsoft.Powershell.Utility.FileHash' -PowerShellVersion $PSVersionTable.PSVersion TypeNames FormatViewDefinition --- --- {Microsoft.Powershell.Utility.FileHash} {Microsoft.Powershell.Utility.FileHash}Paramètres-PowerShellVersionSpécifiez ...
TypeData cmdlet 以下cmdlet 包含在 PowerShell 3.0 及更高版本的 Microsoft.PowerShell.Utility 模块中。 Get-TypeData:获取当前会话中的扩展类型数据。 Update-TypeData:重新加载 Types.ps1xml 文件。 将扩展类型数据添加到当前会话。 Remove-TypeData:从当前会话中删除扩展类型数据。 有关这些 cmdlet 的详细信息,请...
Get-ComputerInfo 英文术语 中文术语 解释 WindowsBuildLabEx Windows 构建实验室扩展 提供操作系统的详细构建信息,通常用于识别 Windows 版本的精确构建号。 WindowsCurrentVersion 当前 Windows 版本 当前 Windows
$DataValid=$false}if($DataValid){$CurrentContext=Get-Principal-userName $AdUser-userPassword $AdUserPwd-ctxDomain $AdDomain-ctxContainer $AdContainer}else{Write-Host 传入参数不能为空,请修改。或者使用已登录的用户的凭据,请设置UserLoggedInUsersCredentials为True。详情请 Get-Help.\CreateUsersFromCsv1....
PS >$data = Import-Csv WmiReport.csv PS >$data ComputerName Class ——— —– LEE-DESK Win32_OperatingSystem LEE-DESK Win32_Bios PS >$data | Foreach-Object { Get-WmiObject $_.Class -Computer $_.ComputerName } 2. 输入pipeline的对象的属性与script的参数想对应 PS...
Get-Module-ListAvailable-All|Format-Table-PropertyName, ModuleType, Path-GroupByName Name: AppLocker Name ModuleType Path --- --- --- AppLocker Manifest C:\Windows\system32\WindowsPowerShell\v1.0\Modules\AppLocker\AppLocker.psd1 Name: Appx Name ModuleType Path --- --- --- Appx Manifest...