Initial commit
This commit is contained in:
commit
6bf433c9a9
20 changed files with 1162 additions and 0 deletions
13
Public/Disconnect-GpfsServer.ps1
Normal file
13
Public/Disconnect-GpfsServer.ps1
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
function Disconnect-GpfsServer {
|
||||
[CmdletBinding()]
|
||||
param()
|
||||
|
||||
if (-not $script:GpfsSession) {
|
||||
Write-Warning 'No active GPFS session.'
|
||||
return
|
||||
}
|
||||
|
||||
$server = $script:GpfsSession.Server
|
||||
$script:GpfsSession = $null
|
||||
Write-Host "Disconnected from GPFS server: $server" -ForegroundColor Yellow
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue