Co-Authored By:

Asked by: Marybelle Murias
technology and computing data storage and warehousingWhat is import PSSession?
Likewise, what does import module do?
The ModuleInfo parameter of Import-Moduleis used to import the modules into the currentsession. These commands are equivalent to using a pipelineoperator ( | ) to send the output of a Get-Module command toImport-Module .
In this way, what does import module ActiveDirectory do?
The Active Directory module for WindowsPowerShell is a PowerShell module that consolidates a groupof cmdlets. If you're running Windows 7, you will also needto run the import-module ActiveDirectory command froman elevated PowerShell prompt. For more detail, see RSAT forWindows operating systems.
Registers the default endpoints (session configurations)for use by Windows PowerShell. Creates an HTTP listener onport 5985 for all local IP addresses. Creates an exceptionin the Windows Firewall for incoming TCP traffic on port5985.