# show modules available get-module -listavailable Shows modules from directories: C:\Windows\system32\WindowsPowerShell\v1.0\Modules C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules C:\Program Files (x86)\Microsoft SQL Server\140\Tools\PowerShell\Modules I want to install the sqlserver module:
# # New-PSDrive # # show list of providers get-psprovider # create a psdrive for the dev server c: drive new-psdrive -name "devserver" -psprovider "filesystem" -root "\\<SERVER_NAME>\c$" # list the contents of the c:\temp folder on the dev server get-childitem devserver:\temp # save the output from $psversiontable to a file $psversiontable | out-file -FilePath devserver:\temp\psversiontable.txt # get-content devserver:\temp\psversiontable.txt