Initial commit
This commit is contained in:
commit
6bf433c9a9
20 changed files with 1162 additions and 0 deletions
82
PSGpfsApi.psm1
Normal file
82
PSGpfsApi.psm1
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
$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'
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue