RegisterWmiEventCommand RegistryProvider RegistryProviderSetItemDynamicParameter RemoveComputerCommand RemoveEventCommand RemoveEventLogCommand RemoveItemCommand RemoveItemPropertyCommand RemoveJobCommand RemoveModuleCommand RemoveModuleCommand Constructors Properties ...
Example 1: Remove a module PowerShell Remove-Module-Name"BitsTransfer" This command removes theBitsTransfermodule from the current session. Example 2: Remove all modules PowerShell Get-Module|Remove-Module This command removes all modules from the current session. ...
Remove-Modulecmdlet 会从当前 PowerShell 会话的内存中删除 PowerShell 模块。 它不会将它们从系统或磁盘中删除。 参数 不要静态赋值。 请改用参数和变量。 命名参数时,尽可能使用与默认 cmdlets 相同的名称作为参数名称。 在下面的函数中,请注意我使用了ComputerName而不是Computer、ServerName或Host作为参数名。
Example 1: Remove a module PowerShell Remove-Module-Name"BitsTransfer" This command removes theBitsTransfermodule from the current session. Example 2: Remove all modules PowerShell Get-Module|Remove-Module This command removes all modules from the current session. ...
Find-Module[[-Name] <string[]>][-MinimumVersion <string>][-MaximumVersion <string>][-RequiredVersion <string>][-AllVersions][-IncludeDependencies][-Filter <string>][-Tag <string[]>][-Includes <string[]>][-DscResource <string[]>][-RoleCapability <string[]>][-Command <string[]>][-Pr...
Remove-PSSession Save-Help Set-PSDebug Set-PSSessionConfiguration Set-StrictMode Start-Job Stop-Job Switch-Process TabExpansion2 Test-ModuleManifest Test-PSSessionConfigurationFile Unregister-PSSessionConfiguration Update-Help Wait-Job Where-Object Microsoft.PowerShell.Diagnostics ...
Module: ExchangePowerShell Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019This cmdlet is available only in on-premises Exchange. Use the Remove-ADPermission cmdlet to remove permissions from an Active Directory object. For information about the ...
Script modules: These are a collection of functions written in the PowerShell language. The commands typically reside in a script module file (PSM1) Dynamic modules: These are created using the New-Module command and exists in memory only. The following command creates a very simple dynamic mod...
Remove-WindowsUpdate – 允许通过 KB ID 卸载更新; Remove-WUServiceManager – 禁用 Windows 更新服务管理器; Set-PSWUSettings –将 PSWindowsUpdate 模块设置保存到 XML 文件; Set-WUSettings – 配置 Windows Update 客户端设置; Update-WUModule – 更新 PSWindowsUpdate 模块(您可以通过从当前模块复制或从 ...
Module: Microsoft.PowerShell.Management Deletes an instance of an existing Windows Management Instrumentation (WMI) class. Syntax PowerShell Remove-WmiObject[-Class] <String> [-AsJob] [-Impersonation <ImpersonationLevel>] [-Authentication <AuthenticationLevel>] [-Locale <String>] [-EnableAllPrivileges...