模块: Microsoft.PowerShell.Utility 获取当前会话中的扩展类型数据。语法PowerShell 复制 Get-TypeData [[-TypeName] <String[]>] [<CommonParameters>]说明Get-TypeData cmdlet 获取当前会话中的扩展类型数据。 这包括通过使用 Update-TypeData cmdlet 的参数添加的 Types.ps1xml 文件和动态类型数据添加到会话的...
47. powershell 更新版本(3927) 48. "mighost.exe" 工具用于在接收端计算机上启动 USMT 服务,以便从源计算机或设备接收用户状态信息。(3810) 49. bcdedit是Windows操作系统中的一个命令行工具,用于查看和修改启动配置数据(BCD)。启动配置数据存储重要的启动信息,包括启动加载程序和启动设置。这个工具主要由高级用户...
powershellCopy Code # 选择一个磁盘(这里选择第一个磁盘,可以根据实际情况调整) $disk = Get-Disk -Number 1 # 创建一个新分区,大小为 10 GB New-Partition -DiskNumber $disk.Number -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel "Data" -Confirm:$false 示例3: 删除分区 power...
Get-FormatData[[-TypeName] <String[]>] [-PowerShellVersion <Version>] [<CommonParameters>] 说明 Get-FormatDatacmdlet 获取当前会话中的格式设置数据。 会话中的格式设置数据包括格式化来自Format.ps1xml格式化文件的数据,例如$PSHOME目录中的格式化数据、导入会话中的模块的格式设置数据,以及使用Import...
Powershell: get data from MsOnline Hi all, I would extract some "basic" data like "UserPrincipalName, DisplayName, licenses, islicensed, creation date, last activation date" and others "nested" like AlternateEmailAddresses. If po... You can do that, this was just an example of license ...
Get-FormatData-TypeName'Microsoft.Powershell.Utility.FileHash'-PowerShellVersion$PSVersionTable.PSVersion TypeNames FormatViewDefinition --- --- {Microsoft.Powershell.Utility.FileHash} {Microsoft.Powershell.Utility.FileHash} Paraméterek -PowerShellVersion Adja...
Get-FormatData-TypeName'Microsoft.Powershell.Utility.FileHash'-PowerShellVersion$PSVersionTable.PSVersion TypeNames FormatViewDefinition --- --- {Microsoft.Powershell.Utility.FileHash} {Microsoft.Powershell.Utility.FileHash} Parâmetros -PowerShellVersion Especifique...
PowerShell.Management Microsoft.PowerShell.Security Microsoft.PowerShell.Utility 命令 Add-Member Add-Type Clear-Variable Compare-Object ConvertFrom-CliXml ConvertFrom-Csv ConvertFrom-Json ConvertFrom-Markdown ConvertFrom-SddlString ConvertFrom-StringData ConvertTo-CliXml ConvertTo-Csv ConvertTo-Html ConvertTo-...
Powershell: get data from MsOnline Hi all, I would extract some "basic" data like "UserPrincipalName, DisplayName, licenses, islicensed, creation date, last activation date" and others "nested" like AlternateEmailAddresses. If po... mfranhind115Wrote a post about getting the license state ...
模块: Microsoft.PowerShell.Diagnostics 获取本地和远程计算机上的事件日志和事件跟踪日志文件中的事件。语法PowerShell 复制 Get-WinEvent [[-LogName] <String[]>] [-MaxEvents <Int64>] [-ComputerName <String>] [-Credential <PSCredential>] [-FilterXPath <String>] [-Force] [-Oldest] [<Common...