pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
293 stars 91 forks source link

Downloading module Problem #319

Closed nawazsarwar124 closed 3 years ago

nawazsarwar124 commented 3 years ago

Hello Expert,

i am trying to download the module from the site https://www.powershellgallery.com/packages/psPAS/ but the page does'nt load properly.

Is it possible you can tell me from where to download the package.

Thanks,

nawazsarwar124 commented 3 years ago

Oops!

Error 500 - Internal Server Error

An error occurred while processing your request. We really messed up this time...

We have logged the error and will look into it so that it doesn't happen again; however, if you keep seeing this page, please file a bug!

Get me out of here! Go home

pspete commented 3 years ago

See: https://aka.ms/PSGalleryStatus

The PowerShell Gallery is currently: Experiencing an outage as of 10/30 at 06:03AM UTC __Status: Under investigation

Summary of Impact: PowerShellGallery.com is experiencing an outage. Users will be unable to access the gallery or download packages.

Root Cause: Under investigation

You can use the manual install option detailed in the readme: https://github.com/pspete/psPAS#pspas-release

nawazsarwar124 commented 3 years ago

Thanks for the reply. I copy the module, now i am trying to login and now getting the error of when login, that $PASession variable is not defined.


C:\Windows\system32> $cred = Get-Credential

Cmdlet Get-Credential nella posizione 1 della pipeline dei comandi Specificare i valori per i seguenti parametri: Credential PS C:\Windows\system32> New-PASSession -Credential $cred -BaseURI https://PVWA.it/ -type LDAP Cannot retrieve $ PASSession variable because it has not been set. In riga:724 car:9

Invoke-PASRestMethod : Impossibile recuperare la variabile $IsCoreCLR perché non è stata impostata. In riga:642 car:19


Can you please help me.

Thanks,

pspete commented 3 years ago

Copied the module to where? confirm module is installed and imported.

Get-Module -ListAvailable psPAS

Import-Module psPAS 

Get-Module psPAS

Powershellgallery outage is resolved now, so automatic install is available as an option.

nawazsarwar124 commented 3 years ago

Now it's OK, i think i missed the import-Module psPas, now i am able to logon...Now i will start few test of import the platfrom which i need..Thanks for the help m8