Finds role capabilities in modules. Find-Script Finds a script. Get-InstalledModule Gets a list of modules on the computer that were installed by PowerShellGet. Get-InstalledScript Gets an installed script. Get-PSRepository Gets PowerShell repositories. Install-Module Downloads one or more mod...
Get-Module cmdlet 列出了已导入或可导入到 PowerShell 会话中的 PowerShell 模块。 如果没有参数,Get-Module 获取已导入到当前会话中的模块。 ListAvailable 参数用于列出可从 PSModulePath 环境变量($Env:PSModulePath)中指定的路径导入的模块。 Get-Module 返回的模块对象包含有关该模块的宝贵信息。 还可以通过...
Get a Free Set of PowerShell Commands for Managing Hyper-V R2 Convert a Physical Disk to a VHD (Virtual Hard Disk) Discover New Features in SCVMM 2008 R2 Configure MAC Address Spoofing for Virtual Network Adapters Download a Set of Free Tools for Managing Hyper-V R2 ...
PowerShell 复制 Get-Member [-InputObject <PSObject>] [[-Name] <String[]>] [-MemberType <PSMemberTypes>] [-View <PSMemberViewTypes>] [-Static] [-Force] [<CommonParameters>]说明Get-Member cmdlet 获取对象的成员、属性和方法。 若要指定对象,请使用 InputObject 参数或管道将对象 Get-Member。
Set of commands to install PowerShell modules from central directory, local files, or the web. Installation In your prompt execute: (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/psget/psget/master/GetPsGet.ps1") | iex ...
PowerShell.Commands Assembly: Microsoft.PowerShell.Security.dll Package: Microsoft.PowerShell.Security v7.4.0 Gets or sets the List parameter, which lists all scopes and their execution policies. C++ 複製 public: property System::Management::Automation::SwitchParameter List { System::Manageme...
Get-Command [[-ArgumentList] <System.Object[]>] [-All] [-FullyQualifiedModule <Microso ft.PowerShell.Commands.ModuleSpecification[]>] [-ListImported] [-Module <System.String []>] [-Noun <System.String[]>] [-ParameterName <System.String[]>] [-ParameterType <Sys tem.Management.Automation....
Open an administrative PowerShell prompt Run the following commands Import-Module"$ClonePath\tools\build.psm1"Install-DependenciesInstall-DevelopmentModule This will take the published module from ./dist and install it into the powershell module path under the current version of PowerShellGet apending...
Get a Free Set of PowerShell Commands for Managing Hyper-V R2 Convert a Physical Disk to a VHD (Virtual Hard Disk) Discover New Features in SCVMM 2008 R2 Configure MAC Address Spoofing for Virtual Network Adapters Download a Set of Free Tools for Managing Hyper-V R2 Learn How To Install ...
Module: Microsoft.PowerShell.Core Gets PowerShell background jobs that are running in the current session.SyntaxPowerShell Copy Get-Job [-IncludeChildJob] [-ChildJobState <JobState>] [-HasMoreData <Boolean>] [-Before <DateTime>] [-After <DateTime>] [-Newest <Int32>] [[-Id] <Int32[...