This repository has been archived by the owner on Nov 4, 2021. It is now read-only.
Releases: equelin/Unity-Powershell
Releases · equelin/Unity-Powershell
0.16.2
Develop (#77) * Fix typo (#58) connexions => connections * Add classes and enums for Unity OE 4.5.1 * Bump to version 0.16.2 * Use basic parsing for Invoke-WebRequest. (#72) * feature: Add TreeQuota Management (#73) * feature: Add TreeQuota Management * Undefined param help on New-UnityTreeQuota.ps1 * (#1)
0.16.1
0.16.0
0.15.1
0.15.0
Unity-Powershell 0.15.0
New features
- Added support for code Merlin (4.2.X) and related API
- Added functions for services the system. It's now possible to enable or disable SSH and generate/download data collections for troubleshooting purpose
Get-UnityServiceInfo
Get-UnityServiceAction
Get-UnityDataCollectionResult
Set-UnityServiceAction
- Added
Save-DataCollectionResult
function that simplify data collection generation and download. Useful for example when you want to automate Mitrend Assessments request for your Unity arrays
Save-UnityDataCollectionResult -dataCollectionProfile 'Default' -Path 'C:' -Compress
You can find here a script that will completly automate the request of an Unity assessment with the powershell module PSMitrend.
- Added functions to gather informations about hardware:
Get-UnityBattery
Get-UnityFCPort
- Added function Get-UnityX509Certificate to get informations about X509 certificates
- Added functions to gather informations about VMware vVol Protocol Endpoints:
Get-UnityvmwarePE
Get-UnityvmwareNasPEServer
Breaking changes
- Some functions have been renamed to follow PowerShell naming conventions
Previous Name (<0.15) | Actual Name |
---|---|
Get-UnityMgmtInterfaceSettings | Get-UnityMgmtInterfaceSetting |
Set-UnityMgmtInterfaceSettings | Set-UnityMgmtInterfaceSetting |
Enhancement
- Added nonterminating errors to GET functions when an object is not found. This can be useful to add smarter tests in scripts like this:
If (-not (Get-UnityLUN -Name 'LUN01')) {
New-UnityLUN -Name 'LUN01' -Size 10GB - Pool 'pool_1'
}
Behind the scene
- Unity objects are now instantiated with the
New-UnityObject
private function. This function is a bit faster than the previous one and fixed known issues (#34) - Started replacing private's function by classes methods. Midterm objective is to translate all private functions
- Added exports of /api/types for:
- Unity 400F with code 4.1 and 4.2
- Unity VSA with code 4.2
- Added enhancement to the Build-Module'script (\Tools\Build-Module) that will help to automatically generate docs, ps1xml files and update module's manifest
- Added private function Get-UnityObject (and related Pester's tests) that allow referring to a Unity object by ID or by the actual object. This simplifies code for functions asking for an object or an ID as a parameter (mostly SET and REMOVE functions)
0.14.2
0.14.1
0.14.0
What's new ?
- Added functions to get informations about hardware
- Added
refresh
parameter in Set-UnityLUN function (Thanks to @BrandonStiff)
Download link
The module is available on the Powershell Gallery:
https://www.powershellgallery.com/packages/Unity-Powershell/0.14.0
Alternatively, you can download the code from GitHub.
New functions
- Get-UnityDae
- Get-UnityDpe
- Get-UnityEncryption
- Get-UnityScc
- Get-UnitySsd
- Get-UnityStorageProcessor
Behind the curtain
- Nothing interesting this time
0.13.0
What's new ?
- Enhanced support for full flash arrays (Thanks to @mtboren)
- Enhanced support of OS 4.1 and API 5.0
- Speeding up the load of the module
- Added feature to update PS window titlebar with connected-Unity-session informations (Thanks to @mtboren)
- Added new function Get-UnityHostIniator (Thanks to @BrandonStiff)
Download link
The module is available on the Powershell Gallery:
https://www.powershellgallery.com/packages/Unity-Powershell/0.13.0
Alternatively, you can download the code from GitHub.
New functions
- Get-UnityHostInitiator (Thanks to @BrandonStiff)
Bug corrections
- #17
Get-Unity*
functions where not usable with Unity full flash arrays - #18
New-UnityVMwareLUN
,New-UnityVMwareNFS
andNew-UnityLUN
did not enable compression by default - Added missing properties in multiples classes
Behind the curtain
- Nearly all
Get-Unity*
functions had been refactored to simplify the maintainability of the code - Types definition are now retrieved from the array's API and stored in the
$global:DefaultUnitySession
variable. Those informations are used to build the URI in the Get-Unity* functions - Added Pester tests to check if classes properties definitions are accurate with informations provided by the API
0.12.0
What's new ?
- Added partial support for the new 5.0 API available in the OS version 4.1 (code Falcon). For example you can now enable compression on LUNs.
- Added functions for playing with metrics
- Added a Welcome banner when importing the module
Download link
The module is available on the Powershell Gallery:
https://www.powershellgallery.com/packages/Unity-Powershell/0.12.0
Alternatively, you can download the code from GitHub.
New functions
- Get-UnityMetric.ps1
- Get-UnityMetricQueryResult.ps1
- Get-UnityMetricRealTimeQuery.ps1
- Get-UnityMetricValue.ps1
- New-UnityMetricRealTimeQuery.ps1
Bug corrections
- Parameter
Append
did not works correctly in functionsSet-UnityVMwareLUN
andSet-UnityLUN
- Removed type definition
[UnitySession]
for allSession
parameters. I don't know why yet but it was not functionnal...
Behind the curtain
Nothing really exciting this time !