82 lines
1.6 KiB
PowerShell
82 lines
1.6 KiB
PowerShell
$script:GpfsSession = $null
|
|
|
|
$privateDir = Join-Path $PSScriptRoot 'Private'
|
|
$publicDir = Join-Path $PSScriptRoot 'Public'
|
|
|
|
foreach ($file in Get-ChildItem -Path $privateDir -Filter '*.ps1') {
|
|
. $file.FullName
|
|
}
|
|
|
|
foreach ($file in Get-ChildItem -Path $publicDir -Filter '*.ps1') {
|
|
. $file.FullName
|
|
}
|
|
|
|
Export-ModuleMember -Function @(
|
|
'Connect-GpfsServer'
|
|
'Disconnect-GpfsServer'
|
|
|
|
'Get-GpfsCluster'
|
|
'Get-GpfsClusterAuditLog'
|
|
'Set-GpfsClusterAuditLog'
|
|
|
|
'Get-GpfsClusterConfig'
|
|
'Set-GpfsClusterConfig'
|
|
|
|
'Get-GpfsConfiguration'
|
|
'Set-GpfsConfiguration'
|
|
'Import-GpfsConfiguration'
|
|
'Export-GpfsConfiguration'
|
|
'New-GpfsConfigurationProfile'
|
|
'Select-GpfsConfigurationProfile'
|
|
|
|
'Get-GpfsNode'
|
|
'Set-GpfsNode'
|
|
'Remove-GpfsNode'
|
|
|
|
'Get-GpfsFilesystem'
|
|
'New-GpfsFilesystem'
|
|
'Set-GpfsFilesystem'
|
|
'Remove-GpfsFilesystem'
|
|
|
|
'Get-GpfsFileset'
|
|
'New-GpfsFileset'
|
|
'Set-GpfsFileset'
|
|
'Remove-GpfsFileset'
|
|
'Register-GpfsFileset'
|
|
'Unregister-GpfsFileset'
|
|
|
|
'Get-GpfsQuota'
|
|
'New-GpfsQuota'
|
|
'Set-GpfsQuota'
|
|
'Remove-GpfsQuota'
|
|
|
|
'Get-GpfsSnapshot'
|
|
'New-GpfsSnapshot'
|
|
'Remove-GpfsSnapshot'
|
|
|
|
'Get-GpfsPolicy'
|
|
'Set-GpfsPolicy'
|
|
|
|
'Get-GpfsPool'
|
|
'New-GpfsPool'
|
|
'Set-GpfsPool'
|
|
'Remove-GpfsPool'
|
|
|
|
'Get-GpfsDisk'
|
|
'Add-GpfsDisk'
|
|
'Remove-GpfsDisk'
|
|
|
|
'Get-GpfsNfsExport'
|
|
'New-GpfsNfsExport'
|
|
'Set-GpfsNfsExport'
|
|
'Remove-GpfsNfsExport'
|
|
|
|
'Get-GpfsSmbShare'
|
|
'New-GpfsSmbShare'
|
|
'Set-GpfsSmbShare'
|
|
'Remove-GpfsSmbShare'
|
|
|
|
'Get-GpfsJob'
|
|
'Remove-GpfsJob'
|
|
'Wait-GpfsJob'
|
|
)
|