Get-CimInstance-ClassNameWin32_ComputerSystem-PropertyUsername 输出 AdminPasswordStatus : BootupState : ChassisBootupState : KeyboardPasswordStatus : PowerOnPasswordStatus : PowerSupplyState : PowerState : FrontP
Set-SecureBootUEFI Get-SecureBootUEFI Format-SecureBootUEFI Test-SecureBootPolicy Repair-SecureBootPolicy ConvertFrom-SecureBootPolicy Install-SecureBootPolicy Get-TroubleshootingPack Invoke-TroubleshootingPack Get-Tpm Initialize-Tpm Clear-Tpm Unblock-Tpm Enable-TpmAutoProvisioning Disable-TpmAutoProvisioning Impo...
PSDesiredStateConfiguration 1.1PSDiagnostics 1.0.0.0PSScheduledJob 1.1.0.0PSWorkflow 2.0.0.0PSWorkflowUtility 1.0.0.0RemoteDesktop 2.0.0.0ScheduledTasks 1.0.0.0SecureBoot 2.0.0.0SecurityCmdlets 1.0.0.0ServerCore 1.0.0.0ServerManager 2.0.0.0ServerManagerTasks 1.0.0.0SmbShare 2.0.0.0SmbWitness 2.0.0.0...
当然,我们没有必要手动打开该目录进行查询已经安装好的模块,PowerShell为我们提供了Get-InstalledModule命令,其语法格式如下: Get-InstalledModule[[-Name] <String[]>][-MinimumVersion <String>][-RequiredVersion <String>][-MaximumVersion <String>][-AllVersions][-AllowPrerelease][<CommonParameters>] 其参数...
PowerShellGet Natively Compatible Built into PowerShell 7 PrintManagement Natively Compatible Windows Server 1903+ with Print-ServicesWindows 10 1903+ ProcessMitigations Natively Compatible Windows Server 1903+Windows 10 1903+ Provisioning Untested with Compatibility Layer PSDesiredStateConfiguration Partially ...
SecureWipeBootDisk开关会擦除启动磁盘上的数据并使设备不可用。 仅当需要将设备退回到 Microsoft 时,才应使用此开关。 有关详细信息,请参阅将设备退回到 Microsoft。 如果在本地 Web UI 中使用设备重置,则只会安全地擦除数据磁盘上的数据,而启动磁盘会保持不变。 启动磁盘包含设备配置。
SecureWipeBootDisk开关会擦除启动磁盘上的数据并使设备不可用。 仅当需要将设备退回到 Microsoft 时,才应使用此开关。 有关详细信息,请参阅将设备退回到 Microsoft。 如果在本地 Web UI 中使用设备重置,则只会安全地擦除数据磁盘上的数据,而启动磁盘会保持不变。 启动磁盘包含设备配置。
Access system restore points from the command prompt to restore the system to a previous state. Fix problems related to booting or missing operating systems in dual-boot setups. Modify or rebuild the Boot Configuration Data (BCD) store. PowerShell and CMD: Practical Examples When it...
Reset(rs)Sets a resource back to its original state. Resize(rz)Changes the size of a resource. Search(sr)Creates a reference to a resource in a container.Find, Locate Select(sc)Locates a resource in a container. For example, theSelect-Stringcmdlet finds text in strings and files.Fi...
示例 PSC:\Users\admin>Get-Module-ListAvailable 目录: C:\Program Files\WindowsPowerShell\Modules ModuleType Version Name ExportedCommands---Script 1.0.1 Microsoft.PowerShell.Operation.V...{Get-OperationValidat...Binary 1.0.0.1 PackageManagement{Find-Package,Get-Pa...Script 3.4.0 Pester...