Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
SimplyMC
0.0.1
functions/LoadProfile.ps1
function
LoadProfile
{
if
(
Test-Path
$Script:ProfilePath
)
{
Get-Content
$Script:ProfilePath
|
ConvertFrom-Json
}
else
{
[PSCustomObject]
@{
Name
=
""
Version
=
""
}
}
}