打开命令提示符(Command Prompt)或者 PowerShell。 输入diskpart 进入Diskpart 命令行环境。 常用的 Diskpart 命令: list disk:列出所有的磁盘。 select disk X:选择要操作的磁盘,X 是磁盘的编号。 list partition:列出选择的磁盘上的所有分区。 create partition primary size=X:在选定的磁盘上创建一个主分区,大小...
FunctionAdd-BCDataCacheExtension1.0.0.0BranchCache FunctionAdd-BitLockerKeyProtector1.0.0.0BitLocker FunctionAdd-DnsClientNrptRule1.0.0.0DnsClient FunctionAdd-DtcClusterTMMapping1.0.0.0MsDtc FunctionAdd-EtwTraceProvider1.0.0.0EventTracingManagement FunctionAdd-InitiatorIdToMaskingSet2.0.0.0Storage FunctionAdd-MpPrefe...
BitLocker Cmdlets More Information Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script an...
1.Set-Alias : 在当前 Windows PowerShell 会话中为 cmdlet 或其他命令元素创建或更改别名(替代名称) 如:如:Set-Alias aaa Get-Command 2.Set-PSDebug :打开和关闭脚本调试功能,设置跟踪级别并切换 strict 模式 3.Set-StrictMode :建立和强制执行表达式、脚本和脚本块中的编码规则 4.Set-Date :将计算机上的系...
BitLocker Drive Encryption operations Finally, we come to the part about BitLocker Drive Encryption operations… There is one main WMI class that hosts all the encryption methods and properties of all of your drives: the Win32_EncryptableVolume. You will find this class in the Root\cimv2\security...
Measure-Command(測量命令) 測量-物件 新別名 (New-Alias) 新事件 New-Guid (新GUID) New-Object 建立暫時檔案 New-TimeSpan 新變數 文件輸出 Out-GridView (輸出網格檢視器) 外接印表機 Out-String Read-Host(讀取主機) Register-EngineEvent 註冊物件事件 刪除別名 (Remove-Alias) 移除事件(Remove-Even...
PowerShell常用命令: 一 Get类 1.Get-Command : 得到所有PowerShell命令,获取有关 cmdlet 以及有关 Windows PowerShell 命令的其他元素的基本信息。 包括Cmdlet、Alias、Function。 2.Get-Process : 获取所
Get-CMTSStepOfflineEnableBitLocker Get-CMTSStepPartitionDisk Get-CMTSStepPrepareConfigMgrClient Get-CMTSStepPrepareWindows Get-CMTSStepPrestartCheck Get-CMTSStepReboot Get-CMTSStepReleaseStateStore Get-CMTSStepRequestStateStore Get-CMTSStepRestoreUserState Get-CMTSStepRunCommandLine Get-CMTSStepRunPowerShellScr...
Start-Job -ScriptBlock { Get-Counter -Counter "\LogicalDisk(_Total)\% Free Space" -MaxSamples 1000 } Id Name PSJobTypeName State HasMoreData Location Command -- --- --- --- --- --- --- 1 Job1 BackgroundJob Running True localhost Get-Counter -Counter Start-Job 會使用 ScriptBlock ...
I enjoy technology and developing websites. Since 2012 I'm running a few of my own websites, and share useful content on gadgets, PC administration and website promotion. previous post Store BitLocker Recovery Keys in Active Directory