Public/Sync-LPData.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<#
.Synopsis
   Force updates LastPass data from the online database
.DESCRIPTION
   Runs Get-LPVault, Get-LPKeys, and Get-LPAccounts with the refresh flag
   forced to make sure the modules data is up to date.
.EXAMPLE
   Sync-LPData
#>

function Sync-LPData
{
    [CmdletBinding()]
    Param()

    Process
    {
        $LPVault = Get-LPVault
        $LPKeys = Get-LPKeys
        $LPAccounts = Get-LPAccounts -Refresh
    }
}