Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 1bc3834

Browse files
authored
Update README.md
1 parent ac639fd commit 1bc3834

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ This is a PowerShell module that scrapes the FPL website and generates objects t
1919
Install-Module -Name PSFPLInfo -Force;
2020
Import-Module -Name PSFPLInfo -Force;
2121
22-
$session = Authenticate {your login e-mail} {your login password};
22+
# There are a few ways to create a PSCredential, this is one. So long as it's a valid PSCredential, the creation method doesn't matter.
23+
$credential = New-Object System.Management.Automation.PSCredential({your login e-mail}, ({your login password} | ConvertTo-SecureString -asPlainText -Force));
24+
$session = Authenticate $credential;
2325
$league = Get-League {your mini league ID} $session;
2426
$chart = Chart $league;
2527
```

0 commit comments

Comments
 (0)