├── AppVeyor
├── Functions
│ └── AppVeyor-Util.psm1
├── PSDeploy
│ ├── AppVeyorModule.PSDeploy.ps1
│ └── PSGalleryModule.PSDeploy.ps1
├── deploy.ps1
├── install.ps1
└── test.ps1
├── ISSUE_TEMPLATE.md
├── LICENSE
├── Medias
└── Unity-Powershell-Demo-01.gif
├── README.md
├── Tests
├── Class
│ ├── Class.Tests.ps1
│ └── Data
│ │ ├── README.md
│ │ ├── Unity300-4_1.json
│ │ ├── Unity400F-4_1.json
│ │ ├── Unity400F-4_2.json
│ │ ├── UnityVSA-4_0.json
│ │ ├── UnityVSA-4_1.json
│ │ └── UnityVSA-4_5_1.json
├── Function
│ ├── Function.Data.ps1
│ └── Function.Tests.ps1
├── Help
│ └── Module.Help.Tests.ps1
├── Module
│ └── Unity-Powershell.Tests.ps1
└── Unit
│ ├── Get-UnityObject.Tests.ps1
│ └── New-UnityObject.Tests.ps1
├── Tools
├── Build-Module
│ ├── Configs
│ │ └── Config.ps1
│ ├── Format
│ │ ├── Build-Format.ps1
│ │ └── Convert-ClassToPS1xml.ps1
│ ├── Readthedocs
│ │ └── Update-Doc.ps1
│ ├── build.ps1
│ └── psakeBuild.ps1
├── Classes
│ ├── Class_Unity400F_41.ps1
│ ├── Class_Unity400F_42.ps1
│ ├── Classes_Unity300_41.ps1
│ ├── Classes_UnityVSA_41.ps1
│ ├── Classes_UnityVSA_451.ps1
│ ├── Compare-Class.ps1
│ ├── Enum.ps1
│ ├── Enum_Unity400F_41.ps1
│ ├── Enum_Unity400F_42.ps1
│ ├── Enum_UnityVSA_451.ps1
│ ├── Get-Class.ps1
│ └── Get-Enum.ps1
├── Functions
│ ├── New-GetFunction.ps1
│ ├── Result_Unity400F_41
│ │ ├── Get-UnityaclUser.ps1
│ │ ├── Get-UnityaffectedResource.ps1
│ │ ├── Get-Unityalert.ps1
│ │ ├── Get-UnityalertConfig.ps1
│ │ ├── Get-UnityalertConfigSNMPTarget.ps1
│ │ ├── Get-UnitybaseRequest.ps1
│ │ ├── Get-UnitybaseResponse.ps1
│ │ ├── Get-UnitybasicSystemInfo.ps1
│ │ ├── Get-Unitybattery.ps1
│ │ ├── Get-UnityblockHostAccess.ps1
│ │ ├── Get-UnityblockHostAccessParam.ps1
│ │ ├── Get-UnitycandidateSoftwareVersion.ps1
│ │ ├── Get-UnitycapabilityProfile.ps1
│ │ ├── Get-UnitycapabilityProfileRecommendation.ps1
│ │ ├── Get-UnitycertificateScope.ps1
│ │ ├── Get-UnitycifsFilesystemParameters.ps1
│ │ ├── Get-UnitycifsServer.ps1
│ │ ├── Get-UnitycifsShare.ps1
│ │ ├── Get-UnitycifsShareACE.ps1
│ │ ├── Get-UnitycifsShareCreate.ps1
│ │ ├── Get-UnitycifsShareDelete.ps1
│ │ ├── Get-UnitycifsShareModify.ps1
│ │ ├── Get-UnitycifsShareParameters.ps1
│ │ ├── Get-UnitycompressionParameters.ps1
│ │ ├── Get-UnityconfigCaptureResult.ps1
│ │ ├── Get-Unitycrl.ps1
│ │ ├── Get-Unitydae.ps1
│ │ ├── Get-UnitydataCollectionResult.ps1
│ │ ├── Get-Unitydatastore.ps1
│ │ ├── Get-UnitydhsmConnection.ps1
│ │ ├── Get-UnitydhsmServer.ps1
│ │ ├── Get-Unitydisk.ps1
│ │ ├── Get-UnitydiskGroup.ps1
│ │ ├── Get-UnitydiskGroupConfiguration.ps1
│ │ ├── Get-UnitydnsServer.ps1
│ │ ├── Get-Unitydpe.ps1
│ │ ├── Get-UnityelementImport.ps1
│ │ ├── Get-Unityencryption.ps1
│ │ ├── Get-UnityesrsParam.ps1
│ │ ├── Get-UnityesrsPolicyManager.ps1
│ │ ├── Get-UnityesxDatastore.ps1
│ │ ├── Get-UnityethernetPort.ps1
│ │ ├── Get-Unityevent.ps1
│ │ ├── Get-Unityfan.ps1
│ │ ├── Get-UnityfastVPParameters.ps1
│ │ ├── Get-UnityfcPort.ps1
│ │ ├── Get-Unityfeature.ps1
│ │ ├── Get-UnityfileDNSServer.ps1
│ │ ├── Get-UnityfileDNSServerSourceParameters.ps1
│ │ ├── Get-UnityfileEventSettings.ps1
│ │ ├── Get-UnityfileEventsPool.ps1
│ │ ├── Get-UnityfileEventsPublisher.ps1
│ │ ├── Get-UnityfileInterface.ps1
│ │ ├── Get-UnityfileInterfaceSourceParameters.ps1
│ │ ├── Get-UnityfileKerberosServer.ps1
│ │ ├── Get-UnityfileLDAPServer.ps1
│ │ ├── Get-UnityfileLDAPServerSourceParameters.ps1
│ │ ├── Get-UnityfileNDMPServer.ps1
│ │ ├── Get-UnityfileNISServer.ps1
│ │ ├── Get-UnityfileNISServerSourceParameters.ps1
│ │ ├── Get-Unityfilesystem.ps1
│ │ ├── Get-UnityfilesystemImportParameters.ps1
│ │ ├── Get-UnityfilesystemParameters.ps1
│ │ ├── Get-UnityfloatOrValueMap.ps1
│ │ ├── Get-UnityftpServer.ps1
│ │ ├── Get-Unityhealth.ps1
│ │ ├── Get-Unityhost.ps1
│ │ ├── Get-UnityhostContainer.ps1
│ │ ├── Get-UnityhostIPPort.ps1
│ │ ├── Get-UnityhostInitiator.ps1
│ │ ├── Get-UnityhostInitiatorPath.ps1
│ │ ├── Get-UnityhostLUN.ps1
│ │ ├── Get-UnityhostLunModify.ps1
│ │ ├── Get-UnityhostVVolDatastore.ps1
│ │ ├── Get-UnityimportSession.ps1
│ │ ├── Get-UnityimportSyncProgress.ps1
│ │ ├── Get-UnityinstalledSoftwareVersion.ps1
│ │ ├── Get-UnityinstalledSoftwareVersionLanguage.ps1
│ │ ├── Get-UnityinstalledSoftwareVersionPackages.ps1
│ │ ├── Get-UnityinterfacePortPair.ps1
│ │ ├── Get-UnityioLimitParameters.ps1
│ │ ├── Get-UnityioLimitPolicy.ps1
│ │ ├── Get-UnityioLimitRule.ps1
│ │ ├── Get-UnityioLimitRuleSetting.ps1
│ │ ├── Get-UnityioLimitSetting.ps1
│ │ ├── Get-UnityioModule.ps1
│ │ ├── Get-UnityipInterface.ps1
│ │ ├── Get-UnityipPort.ps1
│ │ ├── Get-UnityiscsiNode.ps1
│ │ ├── Get-UnityiscsiPortal.ps1
│ │ ├── Get-UnityiscsiSettings.ps1
│ │ ├── Get-Unityjob.ps1
│ │ ├── Get-UnityjobTask.ps1
│ │ ├── Get-UnityjobTaskRequest.ps1
│ │ ├── Get-Unitylcc.ps1
│ │ ├── Get-UnityldapServer.ps1
│ │ ├── Get-Unitylicense.ps1
│ │ ├── Get-UnitylinkAggregation.ps1
│ │ ├── Get-UnitylocalizedMessage.ps1
│ │ ├── Get-UnityloginSessionInfo.ps1
│ │ ├── Get-Unitylun.ps1
│ │ ├── Get-UnitylunAdd.ps1
│ │ ├── Get-UnitylunCreate.ps1
│ │ ├── Get-UnitylunDelete.ps1
│ │ ├── Get-UnitylunMemberReplication.ps1
│ │ ├── Get-UnitylunModify.ps1
│ │ ├── Get-UnitylunParameters.ps1
│ │ ├── Get-UnitylunRemove.ps1
│ │ ├── Get-UnitymemoryModule.ps1
│ │ ├── Get-Unitymessage.ps1
│ │ ├── Get-Unitymetric.ps1
│ │ ├── Get-UnitymetricCollection.ps1
│ │ ├── Get-UnitymetricQueryResult.ps1
│ │ ├── Get-UnitymetricRealTimeQuery.ps1
│ │ ├── Get-UnitymetricService.ps1
│ │ ├── Get-UnitymetricValue.ps1
│ │ ├── Get-UnitymgmtInterface.ps1
│ │ ├── Get-UnitymgmtInterfaceSettings.ps1
│ │ ├── Get-UnitymoveSession.ps1
│ │ ├── Get-UnitynameValuePair.ps1
│ │ ├── Get-UnitynasServer.ps1
│ │ ├── Get-UnitynfsServer.ps1
│ │ ├── Get-UnitynfsShare.ps1
│ │ ├── Get-UnitynfsShareCreate.ps1
│ │ ├── Get-UnitynfsShareDelete.ps1
│ │ ├── Get-UnitynfsShareModify.ps1
│ │ ├── Get-UnitynfsShareParameters.ps1
│ │ ├── Get-UnityntpServer.ps1
│ │ ├── Get-UnitypingResult.ps1
│ │ ├── Get-Unitypool.ps1
│ │ ├── Get-UnitypoolConfiguration.ps1
│ │ ├── Get-UnitypoolConsumer.ps1
│ │ ├── Get-UnitypoolConsumerAllocation.ps1
│ │ ├── Get-UnitypoolFASTVP.ps1
│ │ ├── Get-UnitypoolTier.ps1
│ │ ├── Get-UnitypoolUnit.ps1
│ │ ├── Get-UnitypoolUnitParameters.ps1
│ │ ├── Get-UnitypotentialHost.ps1
│ │ ├── Get-UnitypowerSupply.ps1
│ │ ├── Get-UnitypreferredInterfaceSettings.ps1
│ │ ├── Get-UnitypreferredInterfaceSourceParameters.ps1
│ │ ├── Get-UnityquotaConfig.ps1
│ │ ├── Get-UnityraidConfiguration.ps1
│ │ ├── Get-UnityraidGroup.ps1
│ │ ├── Get-UnityraidGroupCache.ps1
│ │ ├── Get-UnityraidGroupConfiguration.ps1
│ │ ├── Get-UnityraidGroupParameters.ps1
│ │ ├── Get-UnityremoteInterface.ps1
│ │ ├── Get-UnityremoteSyslog.ps1
│ │ ├── Get-UnityremoteSystem.ps1
│ │ ├── Get-UnityreplicationInterface.ps1
│ │ ├── Get-UnityreplicationParameters.ps1
│ │ ├── Get-UnityreplicationSession.ps1
│ │ ├── Get-UnityresourceInfo.ps1
│ │ ├── Get-UnityresourceRef.ps1
│ │ ├── Get-UnityrevokedCertificate.ps1
│ │ ├── Get-Unityrole.ps1
│ │ ├── Get-UnityroleMapping.ps1
│ │ ├── Get-Unityroute.ps1
│ │ ├── Get-UnityrpChapSettings.ps1
│ │ ├── Get-UnitysasPort.ps1
│ │ ├── Get-UnitysecuritySettings.ps1
│ │ ├── Get-UnityserviceAction.ps1
│ │ ├── Get-UnityserviceContract.ps1
│ │ ├── Get-UnityserviceInfo.ps1
│ │ ├── Get-Unitysite.ps1
│ │ ├── Get-UnitysmtpServer.ps1
│ │ ├── Get-Unitysnap.ps1
│ │ ├── Get-UnitysnapHostAccess.ps1
│ │ ├── Get-UnitysnapHostAccessParameters.ps1
│ │ ├── Get-UnitysnapSchedule.ps1
│ │ ├── Get-UnitysnapScheduleParameters.ps1
│ │ ├── Get-UnitysnapScheduleRule.ps1
│ │ ├── Get-UnitysoftwareUpgradeSession.ps1
│ │ ├── Get-Unityssc.ps1
│ │ ├── Get-Unityssd.ps1
│ │ ├── Get-UnitystatValue.ps1
│ │ ├── Get-UnitystorageProcessor.ps1
│ │ ├── Get-UnitystorageResource.ps1
│ │ ├── Get-UnitystorageResourceCapabilityProfile.ps1
│ │ ├── Get-UnitystorageResourceDelete.ps1
│ │ ├── Get-UnitystorageTier.ps1
│ │ ├── Get-UnitystorageTierConfiguration.ps1
│ │ ├── Get-UnitystorageTierExtension.ps1
│ │ ├── Get-UnitystripeWidthConfiguration.ps1
│ │ ├── Get-UnitysupportAsset.ps1
│ │ ├── Get-UnitysupportProxy.ps1
│ │ ├── Get-UnitysupportService.ps1
│ │ ├── Get-UnitysvcCRU.ps1
│ │ ├── Get-UnitysvcStorageProcessor.ps1
│ │ ├── Get-Unitysystem.ps1
│ │ ├── Get-UnitysystemCapacity.ps1
│ │ ├── Get-UnitysystemInformation.ps1
│ │ ├── Get-UnitysystemLimit.ps1
│ │ ├── Get-UnitysystemTierCapacity.ps1
│ │ ├── Get-UnitysystemTime.ps1
│ │ ├── Get-UnitytechnicalAdvisory.ps1
│ │ ├── Get-Unitytenant.ps1
│ │ ├── Get-UnitytracerouteResult.ps1
│ │ ├── Get-UnitytreeQuota.ps1
│ │ ├── Get-UnityuncommittedPort.ps1
│ │ ├── Get-UnityupgradeMessage.ps1
│ │ ├── Get-UnityupgradeSession.ps1
│ │ ├── Get-UnityupgradeTask.ps1
│ │ ├── Get-UnityurServer.ps1
│ │ ├── Get-Unityuser.ps1
│ │ ├── Get-UnityuserQuota.ps1
│ │ ├── Get-UnityvirtualVolume.ps1
│ │ ├── Get-UnityvirtualVolumeBinding.ps1
│ │ ├── Get-UnityvirusChecker.ps1
│ │ ├── Get-UnityvlanInfo.ps1
│ │ ├── Get-Unityvm.ps1
│ │ ├── Get-UnityvmDisk.ps1
│ │ ├── Get-UnityvmwareIscsiParameters.ps1
│ │ ├── Get-UnityvmwareNasPEServer.ps1
│ │ ├── Get-UnityvmwarePE.ps1
│ │ ├── Get-UnityvvolDatastoreCapabilityProfilesParameters.ps1
│ │ └── Get-Unityx509Certificate.ps1
│ └── Result_UnityVSA_41
│ │ ├── Get-UnityaclUser.ps1
│ │ ├── Get-UnityaffectedResource.ps1
│ │ ├── Get-Unityalert.ps1
│ │ ├── Get-UnityalertConfig.ps1
│ │ ├── Get-UnityalertConfigSNMPTarget.ps1
│ │ ├── Get-UnitybaseRequest.ps1
│ │ ├── Get-UnitybaseResponse.ps1
│ │ ├── Get-UnitybasicSystemInfo.ps1
│ │ ├── Get-Unitybattery.ps1
│ │ ├── Get-UnityblockHostAccess.ps1
│ │ ├── Get-UnityblockHostAccessParam.ps1
│ │ ├── Get-UnitycandidateSoftwareVersion.ps1
│ │ ├── Get-UnitycapabilityProfile.ps1
│ │ ├── Get-UnitycapabilityProfileRecommendation.ps1
│ │ ├── Get-UnitycertificateScope.ps1
│ │ ├── Get-UnitycifsFilesystemParameters.ps1
│ │ ├── Get-UnitycifsServer.ps1
│ │ ├── Get-UnitycifsShare.ps1
│ │ ├── Get-UnitycifsShareACE.ps1
│ │ ├── Get-UnitycifsShareCreate.ps1
│ │ ├── Get-UnitycifsShareDelete.ps1
│ │ ├── Get-UnitycifsShareModify.ps1
│ │ ├── Get-UnitycifsShareParameters.ps1
│ │ ├── Get-UnitycompressionParameters.ps1
│ │ ├── Get-UnityconfigCaptureResult.ps1
│ │ ├── Get-Unitycrl.ps1
│ │ ├── Get-Unitydae.ps1
│ │ ├── Get-UnitydataCollectionResult.ps1
│ │ ├── Get-Unitydatastore.ps1
│ │ ├── Get-UnitydhsmConnection.ps1
│ │ ├── Get-UnitydhsmServer.ps1
│ │ ├── Get-Unitydisk.ps1
│ │ ├── Get-UnitydiskGroup.ps1
│ │ ├── Get-UnitydiskGroupConfiguration.ps1
│ │ ├── Get-UnitydnsServer.ps1
│ │ ├── Get-Unitydpe.ps1
│ │ ├── Get-UnityelementImport.ps1
│ │ ├── Get-Unityencryption.ps1
│ │ ├── Get-UnityesrsParam.ps1
│ │ ├── Get-UnityesrsPolicyManager.ps1
│ │ ├── Get-UnityesxDatastore.ps1
│ │ ├── Get-UnityethernetPort.ps1
│ │ ├── Get-Unityevent.ps1
│ │ ├── Get-Unityfan.ps1
│ │ ├── Get-UnityfastCache.ps1
│ │ ├── Get-UnityfastVP.ps1
│ │ ├── Get-UnityfastVPParameters.ps1
│ │ ├── Get-UnityfcPort.ps1
│ │ ├── Get-Unityfeature.ps1
│ │ ├── Get-UnityfileDNSServer.ps1
│ │ ├── Get-UnityfileDNSServerSourceParameters.ps1
│ │ ├── Get-UnityfileEventSettings.ps1
│ │ ├── Get-UnityfileEventsPool.ps1
│ │ ├── Get-UnityfileEventsPublisher.ps1
│ │ ├── Get-UnityfileInterface.ps1
│ │ ├── Get-UnityfileInterfaceSourceParameters.ps1
│ │ ├── Get-UnityfileKerberosServer.ps1
│ │ ├── Get-UnityfileLDAPServer.ps1
│ │ ├── Get-UnityfileLDAPServerSourceParameters.ps1
│ │ ├── Get-UnityfileNDMPServer.ps1
│ │ ├── Get-UnityfileNISServer.ps1
│ │ ├── Get-UnityfileNISServerSourceParameters.ps1
│ │ ├── Get-Unityfilesystem.ps1
│ │ ├── Get-UnityfilesystemImportParameters.ps1
│ │ ├── Get-UnityfilesystemParameters.ps1
│ │ ├── Get-UnityfloatOrValueMap.ps1
│ │ ├── Get-UnityftpServer.ps1
│ │ ├── Get-Unityhealth.ps1
│ │ ├── Get-Unityhost.ps1
│ │ ├── Get-UnityhostContainer.ps1
│ │ ├── Get-UnityhostIPPort.ps1
│ │ ├── Get-UnityhostInitiator.ps1
│ │ ├── Get-UnityhostInitiatorPath.ps1
│ │ ├── Get-UnityhostLUN.ps1
│ │ ├── Get-UnityhostLunModify.ps1
│ │ ├── Get-UnityhostVVolDatastore.ps1
│ │ ├── Get-UnityimportSession.ps1
│ │ ├── Get-UnityimportSyncProgress.ps1
│ │ ├── Get-UnityinstalledSoftwareVersion.ps1
│ │ ├── Get-UnityinstalledSoftwareVersionLanguage.ps1
│ │ ├── Get-UnityinstalledSoftwareVersionPackages.ps1
│ │ ├── Get-UnityinterfacePortPair.ps1
│ │ ├── Get-UnityioLimitParameters.ps1
│ │ ├── Get-UnityioLimitPolicy.ps1
│ │ ├── Get-UnityioLimitRule.ps1
│ │ ├── Get-UnityioLimitRuleSetting.ps1
│ │ ├── Get-UnityioLimitSetting.ps1
│ │ ├── Get-UnityioModule.ps1
│ │ ├── Get-UnityipInterface.ps1
│ │ ├── Get-UnityipPort.ps1
│ │ ├── Get-UnityiscsiNode.ps1
│ │ ├── Get-UnityiscsiPortal.ps1
│ │ ├── Get-UnityiscsiSettings.ps1
│ │ ├── Get-Unityjob.ps1
│ │ ├── Get-UnityjobTask.ps1
│ │ ├── Get-UnityjobTaskRequest.ps1
│ │ ├── Get-Unitylcc.ps1
│ │ ├── Get-UnityldapServer.ps1
│ │ ├── Get-Unitylicense.ps1
│ │ ├── Get-UnitylinkAggregation.ps1
│ │ ├── Get-UnitylocalizedMessage.ps1
│ │ ├── Get-UnityloginSessionInfo.ps1
│ │ ├── Get-Unitylun.ps1
│ │ ├── Get-UnitylunAdd.ps1
│ │ ├── Get-UnitylunCreate.ps1
│ │ ├── Get-UnitylunDelete.ps1
│ │ ├── Get-UnitylunMemberReplication.ps1
│ │ ├── Get-UnitylunModify.ps1
│ │ ├── Get-UnitylunParameters.ps1
│ │ ├── Get-UnitylunRemove.ps1
│ │ ├── Get-UnitymemoryModule.ps1
│ │ ├── Get-Unitymessage.ps1
│ │ ├── Get-Unitymetric.ps1
│ │ ├── Get-UnitymetricCollection.ps1
│ │ ├── Get-UnitymetricQueryResult.ps1
│ │ ├── Get-UnitymetricRealTimeQuery.ps1
│ │ ├── Get-UnitymetricService.ps1
│ │ ├── Get-UnitymetricValue.ps1
│ │ ├── Get-UnitymgmtInterface.ps1
│ │ ├── Get-UnitymgmtInterfaceSettings.ps1
│ │ ├── Get-UnitymoveSession.ps1
│ │ ├── Get-UnitynameValuePair.ps1
│ │ ├── Get-UnitynasServer.ps1
│ │ ├── Get-UnitynfsServer.ps1
│ │ ├── Get-UnitynfsShare.ps1
│ │ ├── Get-UnitynfsShareCreate.ps1
│ │ ├── Get-UnitynfsShareDelete.ps1
│ │ ├── Get-UnitynfsShareModify.ps1
│ │ ├── Get-UnitynfsShareParameters.ps1
│ │ ├── Get-UnityntpServer.ps1
│ │ ├── Get-UnitypingResult.ps1
│ │ ├── Get-Unitypool.ps1
│ │ ├── Get-UnitypoolConfiguration.ps1
│ │ ├── Get-UnitypoolConsumer.ps1
│ │ ├── Get-UnitypoolConsumerAllocation.ps1
│ │ ├── Get-UnitypoolFASTVP.ps1
│ │ ├── Get-UnitypoolTier.ps1
│ │ ├── Get-UnitypoolUnit.ps1
│ │ ├── Get-UnitypoolUnitParameters.ps1
│ │ ├── Get-UnitypotentialHost.ps1
│ │ ├── Get-UnitypowerSupply.ps1
│ │ ├── Get-UnitypreferredInterfaceSettings.ps1
│ │ ├── Get-UnitypreferredInterfaceSourceParameters.ps1
│ │ ├── Get-UnityquotaConfig.ps1
│ │ ├── Get-UnityraidConfiguration.ps1
│ │ ├── Get-UnityraidGroup.ps1
│ │ ├── Get-UnityraidGroupCache.ps1
│ │ ├── Get-UnityraidGroupConfiguration.ps1
│ │ ├── Get-UnityraidGroupParameters.ps1
│ │ ├── Get-UnityremoteInterface.ps1
│ │ ├── Get-UnityremoteSyslog.ps1
│ │ ├── Get-UnityremoteSystem.ps1
│ │ ├── Get-UnityreplicationInterface.ps1
│ │ ├── Get-UnityreplicationParameters.ps1
│ │ ├── Get-UnityreplicationSession.ps1
│ │ ├── Get-UnityresourceInfo.ps1
│ │ ├── Get-UnityresourceRef.ps1
│ │ ├── Get-UnityrevokedCertificate.ps1
│ │ ├── Get-Unityrole.ps1
│ │ ├── Get-UnityroleMapping.ps1
│ │ ├── Get-Unityroute.ps1
│ │ ├── Get-UnityrpChapSettings.ps1
│ │ ├── Get-UnitysasPort.ps1
│ │ ├── Get-UnitysecuritySettings.ps1
│ │ ├── Get-UnityserviceAction.ps1
│ │ ├── Get-UnityserviceContract.ps1
│ │ ├── Get-UnityserviceInfo.ps1
│ │ ├── Get-Unitysite.ps1
│ │ ├── Get-UnitysmtpServer.ps1
│ │ ├── Get-Unitysnap.ps1
│ │ ├── Get-UnitysnapHostAccess.ps1
│ │ ├── Get-UnitysnapHostAccessParameters.ps1
│ │ ├── Get-UnitysnapSchedule.ps1
│ │ ├── Get-UnitysnapScheduleParameters.ps1
│ │ ├── Get-UnitysnapScheduleRule.ps1
│ │ ├── Get-UnitysoftwareUpgradeSession.ps1
│ │ ├── Get-Unityssc.ps1
│ │ ├── Get-Unityssd.ps1
│ │ ├── Get-UnitystatValue.ps1
│ │ ├── Get-UnitystorageProcessor.ps1
│ │ ├── Get-UnitystorageResource.ps1
│ │ ├── Get-UnitystorageResourceCapabilityProfile.ps1
│ │ ├── Get-UnitystorageResourceDelete.ps1
│ │ ├── Get-UnitystorageTier.ps1
│ │ ├── Get-UnitystorageTierConfiguration.ps1
│ │ ├── Get-UnitystorageTierExtension.ps1
│ │ ├── Get-UnitystripeWidthConfiguration.ps1
│ │ ├── Get-UnitysupportAsset.ps1
│ │ ├── Get-UnitysupportProxy.ps1
│ │ ├── Get-UnitysupportService.ps1
│ │ ├── Get-UnitysvcCRU.ps1
│ │ ├── Get-UnitysvcStorageProcessor.ps1
│ │ ├── Get-Unitysystem.ps1
│ │ ├── Get-UnitysystemCapacity.ps1
│ │ ├── Get-UnitysystemInformation.ps1
│ │ ├── Get-UnitysystemLimit.ps1
│ │ ├── Get-UnitysystemTierCapacity.ps1
│ │ ├── Get-UnitysystemTime.ps1
│ │ ├── Get-UnitytechnicalAdvisory.ps1
│ │ ├── Get-Unitytenant.ps1
│ │ ├── Get-UnitytracerouteResult.ps1
│ │ ├── Get-UnitytreeQuota.ps1
│ │ ├── Get-UnityuncommittedPort.ps1
│ │ ├── Get-UnityupgradeMessage.ps1
│ │ ├── Get-UnityupgradeSession.ps1
│ │ ├── Get-UnityupgradeTask.ps1
│ │ ├── Get-UnityurServer.ps1
│ │ ├── Get-Unityuser.ps1
│ │ ├── Get-UnityuserQuota.ps1
│ │ ├── Get-UnityvirtualVolume.ps1
│ │ ├── Get-UnityvirtualVolumeBinding.ps1
│ │ ├── Get-UnityvirusChecker.ps1
│ │ ├── Get-UnityvlanInfo.ps1
│ │ ├── Get-Unityvm.ps1
│ │ ├── Get-UnityvmDisk.ps1
│ │ ├── Get-UnityvmwareIscsiParameters.ps1
│ │ ├── Get-UnityvmwareNasPEServer.ps1
│ │ ├── Get-UnityvmwarePE.ps1
│ │ ├── Get-UnityvvolDatastoreCapabilityProfilesParameters.ps1
│ │ ├── Get-Unityx509Certificate.ps1
│ │ └── README.md
├── Templates
│ └── ID
│ │ ├── Get-Unity.ps1
│ │ ├── New-Unity.ps1
│ │ ├── Remove-Unity.ps1
│ │ └── Set-Unity.ps1
└── Workflows
│ ├── Unity-Configuration.ps1
│ └── Unity-Erase.ps1
├── Unity-Powershell
├── Format
│ ├── Unity-Powershell.UnityAlert.Format.ps1xml
│ ├── Unity-Powershell.UnityAlertConfig.Format.ps1xml
│ ├── Unity-Powershell.UnityBasicSystemInfo.Format.ps1xml
│ ├── Unity-Powershell.UnityCIFSServer.Format.ps1xml
│ ├── Unity-Powershell.UnityCIFSShare.Format.ps1xml
│ ├── Unity-Powershell.UnityDNSServer.Format.ps1xml
│ ├── Unity-Powershell.UnityDae.Format.ps1xml
│ ├── Unity-Powershell.UnityDisk.Format.ps1xml
│ ├── Unity-Powershell.UnityDiskGroup.Format.ps1xml
│ ├── Unity-Powershell.UnityDpe.Format.ps1xml
│ ├── Unity-Powershell.UnityEncryption.Format.ps1xml
│ ├── Unity-Powershell.UnityEthernetPort.Format.ps1xml
│ ├── Unity-Powershell.UnityFastCache.Format.ps1xml
│ ├── Unity-Powershell.UnityFeature.Format.ps1xml
│ ├── Unity-Powershell.UnityFileDNSServer.Format.ps1xml
│ ├── Unity-Powershell.UnityFileInterface.Format.ps1xml
│ ├── Unity-Powershell.UnityFilesystem.Format.ps1xml
│ ├── Unity-Powershell.UnityHost.Format.ps1xml
│ ├── Unity-Powershell.UnityHostContainer.Format.ps1xml
│ ├── Unity-Powershell.UnityHostIPPort.Format.ps1xml
│ ├── Unity-Powershell.UnityHostInitiator.Format.ps1xml
│ ├── Unity-Powershell.UnityIpInterface.Format.ps1xml
│ ├── Unity-Powershell.UnityIpPort.Format.ps1xml
│ ├── Unity-Powershell.UnityIscsiPortal.Format.ps1xml
│ ├── Unity-Powershell.UnityJob.Format.ps1xml
│ ├── Unity-Powershell.UnityLUN.Format.ps1xml
│ ├── Unity-Powershell.UnityLicense.Format.ps1xml
│ ├── Unity-Powershell.UnityMetric.Format.ps1xml
│ ├── Unity-Powershell.UnityMetricQueryResult.Format.ps1xml
│ ├── Unity-Powershell.UnityMetricRealTimeQuery.Format.ps1xml
│ ├── Unity-Powershell.UnityMetricValue.Format.ps1xml
│ ├── Unity-Powershell.UnityMgmtInterface.Format.ps1xml
│ ├── Unity-Powershell.UnityMgmtInterfaceSettings.Format.ps1xml
│ ├── Unity-Powershell.UnityNFSShare.Format.ps1xml
│ ├── Unity-Powershell.UnityNTPServer.Format.ps1xml
│ ├── Unity-Powershell.UnityNasServer.Format.ps1xml
│ ├── Unity-Powershell.UnityNfsServer.Format.ps1xml
│ ├── Unity-Powershell.UnityPool.Format.ps1xml
│ ├── Unity-Powershell.UnityPoolUnit.Format.ps1xml
│ ├── Unity-Powershell.UnitySession.Format.ps1xml
│ ├── Unity-Powershell.UnitySmtpServer.Format.ps1xml
│ ├── Unity-Powershell.UnitySnap.Format.ps1xml
│ ├── Unity-Powershell.UnitySnapSchedule.Format.ps1xml
│ ├── Unity-Powershell.UnitySnapScheduleRule.Format.ps1xml
│ ├── Unity-Powershell.UnitySsc.Format.ps1xml
│ ├── Unity-Powershell.UnitySsd.Format.ps1xml
│ ├── Unity-Powershell.UnityStorageProcessor.Format.ps1xml
│ ├── Unity-Powershell.UnitySystem.Format.ps1xml
│ ├── Unity-Powershell.UnityTreeQuota.Format.ps1xml
│ ├── Unity-Powershell.UnityUser.Format.ps1xml
│ ├── Unity-Powershell.Unitybattery.Format.ps1xml
│ ├── Unity-Powershell.UnitydataCollectionResult.Format.ps1xml
│ ├── Unity-Powershell.Unitydatastore.Format.ps1xml
│ ├── Unity-Powershell.UnityfastVP.Format.ps1xml
│ ├── Unity-Powershell.UnityfcPort.Format.ps1xml
│ ├── Unity-Powershell.UnityinstalledSoftwareVersion.Format.ps1xml
│ ├── Unity-Powershell.UnitylinkAggregation.Format.ps1xml
│ ├── Unity-Powershell.UnityserviceAction.Format.ps1xml
│ ├── Unity-Powershell.UnityserviceInfo.Format.ps1xml
│ ├── Unity-Powershell.UnitystorageResource.Format.ps1xml
│ ├── Unity-Powershell.Unityvm.Format.ps1xml
│ ├── Unity-Powershell.UnityvmwareNasPEServer.Format.ps1xml
│ ├── Unity-Powershell.UnityvmwarePE.Format.ps1xml
│ └── Unity-Powershell.Unityx509Certificate.Format.ps1xml
├── Private
│ ├── Add-UnityObjectType.ps1
│ ├── ConvertTo-Hashtable.ps1
│ ├── Find-FromFilter.ps1
│ ├── Get-URLFromObjectType.ps1
│ ├── Get-UnityAuth.ps1
│ ├── Get-UnityHostContainerReco.ps1
│ ├── Get-UnityItemByKey.ps1
│ ├── Get-UnityLUNResource.ps1
│ ├── Get-UnityObject.ps1
│ ├── New-UnityObject.ps1
│ ├── Remove-UnityLUNResource.ps1
│ ├── Send-UnityRequest.ps1
│ ├── Show-RequestException.ps1
│ ├── Test-CompressionUnsupported.ps1
│ ├── Test-UnityConnection.ps1
│ ├── Unblock-UnityCerts.ps1
│ └── Update-TitleBarForUnityConnection.ps1
├── Public
│ ├── Connect-Unity.ps1
│ ├── Disable-UnityFastCache.ps1
│ ├── Disconnect-Unity.ps1
│ ├── Enable-UnityFastCache.ps1
│ ├── Get-UnityAlert.ps1
│ ├── Get-UnityAlertConfig.ps1
│ ├── Get-UnityBasicSystemInfo.ps1
│ ├── Get-UnityCIFSShare.ps1
│ ├── Get-UnityCifsServer.ps1
│ ├── Get-UnityDnsServer.ps1
│ ├── Get-UnityESXi.ps1
│ ├── Get-UnityFastCache.ps1
│ ├── Get-UnityFeature.ps1
│ ├── Get-UnityFileDnsServer.ps1
│ ├── Get-UnityFileInterface.ps1
│ ├── Get-UnityFilesystem.ps1
│ ├── Get-UnityHost.ps1
│ ├── Get-UnityHostIPPort.ps1
│ ├── Get-UnityHostInitiator.ps1
│ ├── Get-UnityIpInterface.ps1
│ ├── Get-UnityIpPort.ps1
│ ├── Get-UnityIscsiPortal.ps1
│ ├── Get-UnityItem.ps1
│ ├── Get-UnityLUN.ps1
│ ├── Get-UnityLicense.ps1
│ ├── Get-UnityMgmtInterface.ps1
│ ├── Get-UnityMgmtInterfaceSetting.ps1
│ ├── Get-UnityNFSServer.ps1
│ ├── Get-UnityNFSShare.ps1
│ ├── Get-UnityNTPServer.ps1
│ ├── Get-UnityNasServer.ps1
│ ├── Get-UnityPool.ps1
│ ├── Get-UnityPoolUnit.ps1
│ ├── Get-UnitySession.ps1
│ ├── Get-UnitySmtpServer.ps1
│ ├── Get-UnitySnap.ps1
│ ├── Get-UnitySnapSchedule.ps1
│ ├── Get-UnityStorageResource.ps1
│ ├── Get-UnitySystem.ps1
│ ├── Get-UnityTreeQuota.ps1
│ ├── Get-UnityUser.ps1
│ ├── Get-UnityVM.ps1
│ ├── Get-UnityVMwareLUN.ps1
│ ├── Get-UnityVMwareNFS.ps1
│ ├── Get-UnitydataCollectionResult.ps1
│ ├── Get-Unitydatastore.ps1
│ ├── Get-UnityfastVP.ps1
│ ├── Get-UnityinstalledSoftwareVersion.ps1
│ ├── Get-Unityjob.ps1
│ ├── Get-UnitylinkAggregation.ps1
│ ├── Get-UnityserviceAction.ps1
│ ├── Get-UnityserviceInfo.ps1
│ ├── Get-UnityvCenter.ps1
│ ├── Hardware
│ │ ├── Get-UnityDae.ps1
│ │ ├── Get-UnityDisk.ps1
│ │ ├── Get-UnityDiskGroup.ps1
│ │ ├── Get-UnityDpe.ps1
│ │ ├── Get-UnityEncryption.ps1
│ │ ├── Get-UnityEthernetPort.ps1
│ │ ├── Get-UnitySsc.ps1
│ │ ├── Get-UnitySsd.ps1
│ │ ├── Get-UnityStorageProcessor.ps1
│ │ ├── Get-Unitybattery.ps1
│ │ └── Get-UnityfcPort.ps1
│ ├── Metric
│ │ ├── Get-UnityMetric.ps1
│ │ ├── Get-UnityMetricQueryResult.ps1
│ │ ├── Get-UnityMetricRealTimeQuery.ps1
│ │ ├── Get-UnityMetricValue.ps1
│ │ └── New-UnityMetricRealTimeQuery.ps1
│ ├── New-UnityCIFSShare.ps1
│ ├── New-UnityCifsServer.ps1
│ ├── New-UnityFileDnsServer.ps1
│ ├── New-UnityFileInterface.ps1
│ ├── New-UnityFilesystem.ps1
│ ├── New-UnityHost.ps1
│ ├── New-UnityHostIPPort.ps1
│ ├── New-UnityIscsiPortal.ps1
│ ├── New-UnityLUN.ps1
│ ├── New-UnityMgmtInterface.ps1
│ ├── New-UnityNFSServer.ps1
│ ├── New-UnityNFSShare.ps1
│ ├── New-UnityNasServer.ps1
│ ├── New-UnityPool.ps1
│ ├── New-UnitySMTPServer.ps1
│ ├── New-UnitySnap.ps1
│ ├── New-UnitySnapSchedule.ps1
│ ├── New-UnityTreeQuota.ps1
│ ├── New-UnityUser.ps1
│ ├── New-UnityVMwareLUN.ps1
│ ├── New-UnityVMwareNFS.ps1
│ ├── New-UnityvCenter.ps1
│ ├── Remove-UnityAlert.ps1
│ ├── Remove-UnityCIFSShare.ps1
│ ├── Remove-UnityCifsServer.ps1
│ ├── Remove-UnityFileDnsServer.ps1
│ ├── Remove-UnityFileInterface.ps1
│ ├── Remove-UnityFilesystem.ps1
│ ├── Remove-UnityHost.ps1
│ ├── Remove-UnityHostIPPort.ps1
│ ├── Remove-UnityIscsiPortal.ps1
│ ├── Remove-UnityLUN.ps1
│ ├── Remove-UnityMgmtInterface.ps1
│ ├── Remove-UnityNFSServer.ps1
│ ├── Remove-UnityNFSShare.ps1
│ ├── Remove-UnityNasServer.ps1
│ ├── Remove-UnityPool.ps1
│ ├── Remove-UnitySMTPServer.ps1
│ ├── Remove-UnitySnap.ps1
│ ├── Remove-UnitySnapSchedule.ps1
│ ├── Remove-UnityTreeQuota.ps1
│ ├── Remove-UnityUser.ps1
│ ├── Remove-UnityVMwareLUN.ps1
│ ├── Remove-UnityVMwareNFS.ps1
│ ├── Remove-UnityvCenter.ps1
│ ├── Save-UnityDataCollectionResult.ps1
│ ├── Security
│ │ └── Get-Unityx509Certificate.ps1
│ ├── Set-UnityAlert.ps1
│ ├── Set-UnityAlertConfig.ps1
│ ├── Set-UnityCIFSShare.ps1
│ ├── Set-UnityDnsServer.ps1
│ ├── Set-UnityFileDNSServer.ps1
│ ├── Set-UnityFileInterface.ps1
│ ├── Set-UnityFilesystem.ps1
│ ├── Set-UnityHost.ps1
│ ├── Set-UnityHostIPPort.ps1
│ ├── Set-UnityIscsiPortal.ps1
│ ├── Set-UnityLUN.ps1
│ ├── Set-UnityMgmtInterface.ps1
│ ├── Set-UnityMgmtInterfaceSetting.ps1
│ ├── Set-UnityNFSServer.ps1
│ ├── Set-UnityNFSShare.ps1
│ ├── Set-UnityNTPServer.ps1
│ ├── Set-UnityNasServer.ps1
│ ├── Set-UnityPool.ps1
│ ├── Set-UnitySMTPServer.ps1
│ ├── Set-UnitySnap.ps1
│ ├── Set-UnitySnapSchedule.ps1
│ ├── Set-UnitySystem.ps1
│ ├── Set-UnityTreeQuota.ps1
│ ├── Set-UnityUser.ps1
│ ├── Set-UnityVMwareLUN.ps1
│ ├── Set-UnityVMwareNFS.ps1
│ ├── Set-UnityserviceAction.ps1
│ ├── Set-UnityvCenter.ps1
│ ├── Storage
│ │ ├── Invoke-UnityRefreshLUNThinClone.ps1
│ │ ├── Invoke-UnityRefreshVMwareLUNThinClone.ps1
│ │ ├── New-UnityLUNThinClone.ps1
│ │ └── New-UnityVMwareLUNThinClone.ps1
│ ├── Test-UnityEmailAlert.ps1
│ ├── Test-UnityUCAlert.ps1
│ ├── Test-UnityUIAlert.ps1
│ ├── Update-UnityvCenter.ps1
│ └── vVols
│ │ ├── Get-UnityvmwareNasPEServer.ps1
│ │ └── Get-UnityvmwarePE.ps1
├── Unity-Powershell.psd1
├── Unity-Powershell.psm1
└── en-US
│ └── about_Unity-Powershell.help.txt
├── appveyor.yml
├── docs
├── FAQ.md
├── References
│ ├── Connect-Unity.md
│ ├── Disable-UnityFastCache.md
│ ├── Disconnect-Unity.md
│ ├── Enable-UnityFastCache.md
│ ├── Get-UnityAlert.md
│ ├── Get-UnityAlertConfig.md
│ ├── Get-UnityBasicSystemInfo.md
│ ├── Get-UnityBattery.md
│ ├── Get-UnityCIFSServer.md
│ ├── Get-UnityCIFSShare.md
│ ├── Get-UnityDNSServer.md
│ ├── Get-UnityDae.md
│ ├── Get-UnityDataCollectionResult.md
│ ├── Get-UnityDatastore.md
│ ├── Get-UnityDisk.md
│ ├── Get-UnityDiskGroup.md
│ ├── Get-UnityDpe.md
│ ├── Get-UnityESXi.md
│ ├── Get-UnityEncryption.md
│ ├── Get-UnityEthernetPort.md
│ ├── Get-UnityFCPort.md
│ ├── Get-UnityFastCache.md
│ ├── Get-UnityFastVP.md
│ ├── Get-UnityFeature.md
│ ├── Get-UnityFileDNSServer.md
│ ├── Get-UnityFileInterface.md
│ ├── Get-UnityFilesystem.md
│ ├── Get-UnityHost.md
│ ├── Get-UnityHostIPPort.md
│ ├── Get-UnityHostInitiator.md
│ ├── Get-UnityIPPort.md
│ ├── Get-UnityInstalledSoftwareVersion.md
│ ├── Get-UnityIpInterface.md
│ ├── Get-UnityIscsiPortal.md
│ ├── Get-UnityItem.md
│ ├── Get-UnityJob.md
│ ├── Get-UnityLUN.md
│ ├── Get-UnityLicense.md
│ ├── Get-UnityLinkAggregation.md
│ ├── Get-UnityMetric.md
│ ├── Get-UnityMetricQueryResult.md
│ ├── Get-UnityMetricRealTimeQuery.md
│ ├── Get-UnityMetricValue.md
│ ├── Get-UnityMgmtInterface.md
│ ├── Get-UnityMgmtInterfaceSetting.md
│ ├── Get-UnityNASServer.md
│ ├── Get-UnityNFSServer.md
│ ├── Get-UnityNFSShare.md
│ ├── Get-UnityNTPServer.md
│ ├── Get-UnityPool.md
│ ├── Get-UnityPoolUnit.md
│ ├── Get-UnitySMTPServer.md
│ ├── Get-UnityServiceAction.md
│ ├── Get-UnityServiceInfo.md
│ ├── Get-UnitySession.md
│ ├── Get-UnitySnap.md
│ ├── Get-UnitySnapSchedule.md
│ ├── Get-UnitySsc.md
│ ├── Get-UnitySsd.md
│ ├── Get-UnityStorageProcessor.md
│ ├── Get-UnityStorageResource.md
│ ├── Get-UnitySystem.md
│ ├── Get-UnityUser.md
│ ├── Get-UnityVM.md
│ ├── Get-UnityVMwareLUN.md
│ ├── Get-UnityVMwareNFS.md
│ ├── Get-UnityVMwareNasPEServer.md
│ ├── Get-UnityVMwarePE.md
│ ├── Get-UnityX509Certificate.md
│ ├── Get-UnityvCenter.md
│ ├── Invoke-UnityRefreshLUNThinClone.md
│ ├── Invoke-UnityRefreshVMwareLUNThinClone.md
│ ├── New-UnityCIFSServer.md
│ ├── New-UnityCIFSShare.md
│ ├── New-UnityFileDNSServer.md
│ ├── New-UnityFileInterface.md
│ ├── New-UnityFilesystem.md
│ ├── New-UnityHost.md
│ ├── New-UnityHostIPPort.md
│ ├── New-UnityLUN.md
│ ├── New-UnityLUNThinClone.md
│ ├── New-UnityMetricRealTimeQuery.md
│ ├── New-UnityMgmtInterface.md
│ ├── New-UnityNASServer.md
│ ├── New-UnityNFSServer.md
│ ├── New-UnityNFSShare.md
│ ├── New-UnityPool.md
│ ├── New-UnitySMTPServer.md
│ ├── New-UnitySnap.md
│ ├── New-UnitySnapSchedule.md
│ ├── New-UnityUser.md
│ ├── New-UnityVMwareLUN.md
│ ├── New-UnityVMwareLUNThinClone.md
│ ├── New-UnityVMwareNFS.md
│ ├── New-UnityiSCSIPortal.md
│ ├── New-UnityvCenter.md
│ ├── Remove-UnityAlert.md
│ ├── Remove-UnityCIFSServer.md
│ ├── Remove-UnityCIFSShare.md
│ ├── Remove-UnityFileDNSServer.md
│ ├── Remove-UnityFileInterface.md
│ ├── Remove-UnityFilesystem.md
│ ├── Remove-UnityHost.md
│ ├── Remove-UnityHostIPPort.md
│ ├── Remove-UnityLUN.md
│ ├── Remove-UnityMgmtInterface.md
│ ├── Remove-UnityNASServer.md
│ ├── Remove-UnityNFSServer.md
│ ├── Remove-UnityNFSShare.md
│ ├── Remove-UnityPool.md
│ ├── Remove-UnitySMTPServer.md
│ ├── Remove-UnitySnap.md
│ ├── Remove-UnitySnapSchedule.md
│ ├── Remove-UnityUser.md
│ ├── Remove-UnityVMwareLUN.md
│ ├── Remove-UnityVMwareNFS.md
│ ├── Remove-UnityiSCSIPortal.md
│ ├── Remove-UnityvCenter.md
│ ├── Save-UnityDataCollectionResult.md
│ ├── Set-UnityAlert.md
│ ├── Set-UnityAlertConfig.md
│ ├── Set-UnityCIFSShare.md
│ ├── Set-UnityDNSServer.md
│ ├── Set-UnityFileDNSServer.md
│ ├── Set-UnityFileInterface.md
│ ├── Set-UnityFilesystem.md
│ ├── Set-UnityHost.md
│ ├── Set-UnityHostIPPort.md
│ ├── Set-UnityIscsiPortal.md
│ ├── Set-UnityLUN.md
│ ├── Set-UnityMgmtInterface.md
│ ├── Set-UnityMgmtInterfaceSetting.md
│ ├── Set-UnityNASServer.md
│ ├── Set-UnityNFSServer.md
│ ├── Set-UnityNFSShare.md
│ ├── Set-UnityNTPServer.md
│ ├── Set-UnityPool.md
│ ├── Set-UnitySMTPServer.md
│ ├── Set-UnityServiceAction.md
│ ├── Set-UnitySnap.md
│ ├── Set-UnitySnapSchedule.md
│ ├── Set-UnitySystem.md
│ ├── Set-UnityUser.md
│ ├── Set-UnityVMwareLUN.md
│ ├── Set-UnityVMwareNFS.md
│ ├── Set-UnityvCenter.md
│ ├── Test-UnityEmailAlert.md
│ ├── Test-UnityUCAlert.md
│ ├── Test-UnityUIAlert.md
│ └── Update-UnityvCenter.md
├── gettingstarted.md
├── index.md
├── installation.md
└── prerequisites.md
├── header-mkdocs.yml
└── mkdocs.yml
/AppVeyor/PSDeploy/AppVeyorModule.PSDeploy.ps1:
--------------------------------------------------------------------------------
1 | Deploy DeveloperBuild {
2 | By AppVeyorModule {
3 | FromSource $ENV:BHPSModulePath
4 | To AppVeyor
5 | WithOptions @{
6 | Version = $env:BHModuleVersion
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/AppVeyor/PSDeploy/PSGalleryModule.PSDeploy.ps1:
--------------------------------------------------------------------------------
1 | Deploy Module {
2 | By PSGalleryModule {
3 | FromSource $ENV:BHPSModulePath
4 | To PSGallery
5 | WithOptions @{
6 | ApiKey = $ENV:NugetApiKey
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/AppVeyor/test.ps1:
--------------------------------------------------------------------------------
1 | # Find the build folder based on build system
2 | $ProjectRoot = $ENV:BHProjectPath
3 |
4 | if(-not $ProjectRoot) {
5 | $ProjectRoot = $PSScriptRoot
6 | }
7 |
8 | # Set some usefull varialbes
9 | $Timestamp = Get-date -uformat "%Y%m%d-%H%M%S"
10 | $PSVersion = $PSVersionTable.PSVersion.Major
11 | $TestFile = "TestResults_PS$PSVersion`_$TimeStamp.xml"
12 | $BaseFileName = "TestResults_PS$PSVersion`_$TimeStamp"
13 |
14 | # Gather test results. Store them in a variable and a NUnitXml file
15 | Add-AppVeyorLog -Message 'Run pester tests' -Category 'Information'
16 | $TestResults = Invoke-Pester -Path $ProjectRoot\Tests -PassThru -OutputFormat NUnitXml -OutputFile "$ProjectRoot\AppVeyor\$TestFile"
17 |
18 | # Document the pester results using module Format-Pester
19 | Add-AppVeyorLog -Message "Documenting the pester's results with Format-Pester" -Category 'Information'
20 | $FormatPesterResultFile = $TestResults | Format-Pester -Format 'Text' -BaseFileName $BaseFileName
21 |
22 | # In Appveyor? Upload our tests and documentation!
23 | Add-AppVeyorLog -Message 'Uploading tests and documentation on Appveyor' -Category 'Information'
24 |
25 | #Upload NUnitXml tests results
26 | (New-Object 'System.Net.WebClient').UploadFile(
27 | "https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)",
28 | "$ProjectRoot\AppVeyor\$TestFile")
29 |
30 | #Upload Format-Pester tests results
31 | Push-AppveyorArtifact $FormatPesterResultFile
32 |
33 | # Stop the build if a pester test fails
34 | If ($TestResults.FailedCount -gt 0) {
35 | Add-AppVeyorLog -Message "Tests failed, stop the build" -Category 'Error' -Details "Number of tests failed: $($TestResults.FailedCount)"
36 | Throw
37 | }
--------------------------------------------------------------------------------
/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | Please makes sure these boxes are checked before submitting your issue (put an X between the brackets).
2 |
3 | - [ ] Check that your Powershell version > 5.0 (Bonus point if you are using the latest version available)
4 | - [ ] Check that you follow the instructions for installing the module
5 |
6 | Also, please provide:
7 |
8 | - Any instructions that may help to reproduce the problem
9 | - Informations about your host `$PSVerionTable`
10 | - The list of the loaded modules `Get-Module`
11 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016-2017 Erwan Quélin and the community
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/Medias/Unity-Powershell-Demo-01.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Medias/Unity-Powershell-Demo-01.gif
--------------------------------------------------------------------------------
/Tests/Class/Class.Tests.ps1:
--------------------------------------------------------------------------------
1 | #importing the module with the using statement, classes will be available in the session
2 | using module '..\..\Unity-Powershell'
3 |
4 | $here = Split-Path -Parent $MyInvocation.MyCommand.Path
5 |
6 | #import module
7 | $Module = Get-Module -Name 'Unity-Powershell'
8 |
9 | # Get classes defined by the module
10 | $ActualClasses = $Module.ImplementingAssembly.DefinedTypes | where-Object IsPublic | Where-Object {$_.Name -notlike '*Enum'}
11 |
12 | $Datas = @( Get-ChildItem -Path $here\Data\*.json -ErrorAction SilentlyContinue )
13 |
14 | #Dot source the files - idea from https://becomelotr.wordpress.com/2017/02/13/expensive-dot-sourcing/
15 | Foreach($Data in $Datas) {
16 |
17 | # Load the references datas
18 | $APITypes = Get-Content $Data.fullname | ConvertFrom-Json
19 |
20 | Describe -Name "Testing Class against file $($Data.Name)" {
21 |
22 | #Test all classes from module
23 | Foreach ($Class in $ActualClasses) {
24 |
25 | #Create an empty object in order to retrieve it's propoerties
26 | $Object = New-Object -TypeName $Class.name
27 |
28 | #Get properties of the object
29 | $ObjectProperties = $Object | Get-Member | Where-Object {$_.MemberType -eq 'Property'}
30 |
31 | #Remove 'Unity' from the name of the class
32 | $APIClassName = ($Class.name) -replace 'Unity',''
33 |
34 | #Find the definition of the class in the API
35 | $APIClass = $APITypes.entries.content | Where-Object {$_.Name -eq $APIClassName}
36 |
37 | Context -Name "Class $($Class.name)" {
38 |
39 | foreach ($Attribute in $APIClass.attributes.name) {
40 |
41 | It -Name "Attribute $Attribute is defined" {
42 | $ObjectProperties.Name -contains $Attribute | Should Be $True
43 | }
44 | }
45 | }
46 | }
47 | }
48 | }
49 |
50 | #Remove module
51 | Remove-Module $Module
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/Tests/Class/Data/README.md:
--------------------------------------------------------------------------------
1 | How to generate the JSON extract of the API types definition:
2 |
3 | 1- Connect to the array
4 |
5 | 2- Run the following command:
6 |
7 | ```Powershell
8 | Get-UnityItem -URI /api/types -JSON | Out-File C:\UnityModel-APIversion.json
9 | ```
--------------------------------------------------------------------------------
/Tests/Class/Data/Unity300-4_1.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tests/Class/Data/Unity300-4_1.json
--------------------------------------------------------------------------------
/Tests/Class/Data/Unity400F-4_1.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tests/Class/Data/Unity400F-4_1.json
--------------------------------------------------------------------------------
/Tests/Class/Data/Unity400F-4_2.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tests/Class/Data/Unity400F-4_2.json
--------------------------------------------------------------------------------
/Tests/Class/Data/UnityVSA-4_0.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tests/Class/Data/UnityVSA-4_0.json
--------------------------------------------------------------------------------
/Tests/Class/Data/UnityVSA-4_1.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tests/Class/Data/UnityVSA-4_1.json
--------------------------------------------------------------------------------
/Tests/Class/Data/UnityVSA-4_5_1.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tests/Class/Data/UnityVSA-4_5_1.json
--------------------------------------------------------------------------------
/Tests/Function/Function.Data.ps1:
--------------------------------------------------------------------------------
1 | $Data = @{}
2 |
3 | $Data.function1 = @{
4 | Name = 'Connect-Unity'
5 | Parameters = @(
6 | @{'Name' = 'Server'; 'type' = 'String[]'},
7 | @{'Name' = 'Session'; 'type' = 'object'},
8 | @{'Name' = 'Username'; 'type' = 'String'},
9 | @{'Name' = 'Password'; 'type' = 'SecureString'},
10 | @{'Name' = 'Credentials'; 'type' = 'PSCredential'},
11 | @{'Name' = 'TrustAllCerts'; 'type' = 'Boolean'}
12 | )
13 | }
14 |
15 | $Data.function2 = @{
16 | Name = 'Disable-UnityFastCache'
17 | Parameters = @(
18 | @{'Name' = 'Session'; 'type' = 'object'}
19 | )
20 | }
21 |
22 | $Data.function3 = @{
23 | Name = 'disconnect-Unity'
24 | Parameters = @(
25 | @{'Name' = 'Session'; 'type' = 'object'}
26 | )
27 | }
28 |
29 | $Data.function4 = @{
30 | Name = 'Get-UnityVMwareLUN'
31 | Parameters = @(
32 | @{'Name' = 'Session'; 'type' = 'object'},
33 | @{'Name' = 'Name'; 'type' = 'String[]'},
34 | @{'Name' = 'ID'; 'type' = 'String[]'}
35 | )
36 | }
37 |
38 | $Data.function1000 = @{
39 | Name = 'Update-UnityvCenter'
40 | Parameters = @(
41 | @{'Name' = 'Session'; 'type' = 'object'}
42 | @{'Name' = 'ID'; 'type' = 'Object[]'}
43 | @{'Name' = 'Refresh'; 'type' = 'SwitchParameter'}
44 | @{'Name' = 'RefreshAll'; 'type' = 'SwitchParameter'}
45 | )
46 | }
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/Tests/Function/Function.Tests.ps1:
--------------------------------------------------------------------------------
1 | $here = Split-Path -Parent $MyInvocation.MyCommand.Path
2 |
3 | #Get information from the module manifest
4 | $manifestPath = "$here\..\..\Unity-Powershell\Unity-Powershell.psd1"
5 | $manifest = Test-ModuleManifest -Path $manifestPath
6 |
7 | #Test if a Unity-Powershell module is already loaded
8 | $Module = Get-Module -Name 'Unity-Powershell' -ErrorAction SilentlyContinue
9 |
10 | #Load the module if needed (not already loaded or not the good version)
11 | If ($Module) {
12 | If ($Module.Version -ne $manifest.version) {
13 | Remove-Module $Module
14 | $Module = Import-Module "$here\..\..\Unity-Powershell" -Version $manifest.version -force
15 | }
16 | } else {
17 | $Module = Import-Module "$here\..\..\Unity-Powershell" -Version $manifest.version -force
18 | }
19 |
20 | # Load the datas
21 | . $here\Function.Data.ps1
22 |
23 | <#
24 | # Pester tests
25 | Describe "No public function left behind" {
26 |
27 | $Module.ExportedFunctions.GetEnumerator() | ForEach-Object {
28 | $Name = $_.Value.Name
29 |
30 | It "Function $Name is tested in this test" {
31 | $data.values.name -contains $Name | Should Be $True
32 | }
33 | }
34 | }
35 | #>
36 |
37 | Describe "Functions Parameters" {
38 |
39 | $Data.GetEnumerator() | ForEach-Object {
40 |
41 | $Name = $_.Value.Name
42 | $Params = $_.Value.Parameters
43 |
44 | Context "$Name" {
45 | $Command = Get-Command -Name $Name
46 |
47 | Foreach ($Param in $Params) {
48 |
49 | It "Function $($command.Name) contains Parameter $($Param['Name'])" {
50 | $Command.Parameters.Keys -contains $Param['Name'] | Should Be $True
51 | }
52 |
53 | It "Function $($Param['Name']) type is $($Param['type'])" {
54 | $Command.Parameters.($Param['Name']).ParameterType.Name -eq $Param['Type'] | Should Be $True
55 | }
56 | }
57 | }
58 | }
59 | }
60 |
61 |
--------------------------------------------------------------------------------
/Tests/Module/Unity-Powershell.Tests.ps1:
--------------------------------------------------------------------------------
1 | $here = Split-Path -Parent $MyInvocation.MyCommand.Path
2 |
3 | #Get information from the module manifest
4 | $manifestPath = "$here\..\..\Unity-Powershell\Unity-Powershell.psd1"
5 | $manifest = Test-ModuleManifest -Path $manifestPath
6 |
7 | #Test if a Unity-Powershell module is already loaded
8 | $Module = Get-Module -Name 'Unity-Powershell' -ErrorAction SilentlyContinue
9 |
10 | #Load the module if needed
11 | If ($module) {
12 | If ($Module.Version -ne $manifest.version) {
13 | Remove-Module $Module
14 | Import-Module "$here\..\..\Unity-Powershell" -Version $manifest.version -force
15 | }
16 | } else {
17 | Import-Module "$here\..\..\Unity-Powershell" -Version $manifest.version -force
18 | }
19 |
20 | Describe -Tags 'VersionChecks' "Unity-Powershell manifest" {
21 | $script:manifest = $null
22 | It "has a valid manifest" {
23 | {
24 | $script:manifest = Test-ModuleManifest -Path $manifestPath -ErrorAction Stop -WarningAction SilentlyContinue
25 | } | Should Not Throw
26 | }
27 |
28 | It "has a valid name in the manifest" {
29 | $script:manifest.Name | Should Be 'Unity-Powershell'
30 | }
31 |
32 | It "has a valid guid in the manifest" {
33 | $script:manifest.Guid | Should Be '586e7e62-9753-4fd6-91b6-89d8d89d69a2'
34 | }
35 |
36 | It "has a valid version in the manifest" {
37 | $script:manifest.Version -as [Version] | Should Not BeNullOrEmpty
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Tools/Build-Module/Format/Build-Format.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | Param (
3 | $Classes
4 | )
5 |
6 | Foreach ($Classes in ($cfg.classes)) {
7 | Write-Verbose "Processing class $Class.TypeName"
8 | .\Convert-ClassToPS1xml.ps1 -TypeName $Class.TypeName -TableHeaderList $Class.TableHeaderList -OutputPath F:\Code\GitHub\Unity-Powershell\Unity-Powershell\Format\
9 | }
--------------------------------------------------------------------------------
/Tools/Build-Module/Readthedocs/Update-Doc.ps1:
--------------------------------------------------------------------------------
1 | Function Update-Doc {
2 | [CmdletBinding()]
3 | Param()
4 |
5 | Process {
6 |
7 | Write-Host $ENV:BHModulePath
8 |
9 | $ProjectRoot = $ENV:BHProjectPath
10 |
11 | # Import module. platyPS + AppVeyor requires the module to be loaded in Global scope
12 | Import-Module $ENV:BHModulePath -Force -Global
13 |
14 | #Build YAMLText starting with the header
15 | $YMLtext = (Get-Content "$ProjectRoot\header-mkdocs.yml") -join "`n"
16 | $YMLtext = "$YMLtext`n"
17 | $YMLText = "$YMLtext - Functions References:`n"
18 |
19 | # Delete all existing files in $ProjectRoot\docs\References
20 | $parameters = @{
21 | Recurse = $true
22 | Force = $true
23 | Path = "$ProjectRoot\docs\References"
24 | ErrorAction = 'SilentlyContinue'
25 | }
26 | $null = Remove-Item @parameters
27 |
28 | # Create directory for functions markdown help files
29 | $Params = @{
30 | Path = "$ProjectRoot\docs\References"
31 | type = 'directory'
32 | ErrorAction = 'SilentlyContinue'
33 | }
34 | $null = New-Item @Params
35 |
36 | # Create all md help files and update
37 | $Params = @{
38 | Module = $ENV:BHProjectName
39 | Force = $true
40 | OutputFolder = "$ProjectRoot\docs\References"
41 | NoMetadata = $true
42 | }
43 | New-MarkdownHelp @Params | foreach-object {
44 | $Function = $_.Name -replace '\.md', ''
45 | $Part = " - {0}: References/{1}" -f $Function, $_.Name
46 | $YMLText = "{0}{1}`n" -f $YMLText, $Part
47 | Write-Host $Part
48 | }
49 |
50 | $YMLtext | Set-Content -Path "$ProjectRoot\mkdocs.yml"
51 |
52 | Remove-Module $ENV:BHProjectName
53 |
54 | } # End Process
55 | } # End Function
--------------------------------------------------------------------------------
/Tools/Build-Module/build.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .NOTES
3 | https://github.com/equelin/unity-powershell
4 | #>
5 |
6 | [cmdletbinding()]
7 | param(
8 | [string[]]$Task = 'default'
9 | )
10 |
11 | if (!(Get-Module -Name PlatyPS -ListAvailable)) { Install-Module -Name PlatyPS -Scope CurrentUser }
12 | if (!(Get-Module -Name psake -ListAvailable)) { Install-Module -Name psake -Scope CurrentUser }
13 | if (!(Get-Module -Name BuildHelpers -ListAvailable)) { Install-Module -Name BuildHelpers -Scope CurrentUser }
14 |
15 | Invoke-psake -buildFile "$PSScriptRoot\psakeBuild.ps1" -taskList $Task -Verbose:$VerbosePreference
--------------------------------------------------------------------------------
/Tools/Classes/Class_Unity400F_41.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Class_Unity400F_41.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Class_Unity400F_42.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Class_Unity400F_42.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Classes_Unity300_41.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Classes_Unity300_41.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Classes_UnityVSA_41.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Classes_UnityVSA_41.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Classes_UnityVSA_451.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Classes_UnityVSA_451.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Enum.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Enum.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Enum_Unity400F_41.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Enum_Unity400F_41.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Enum_Unity400F_42.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Enum_Unity400F_42.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Enum_UnityVSA_451.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Tools/Classes/Enum_UnityVSA_451.ps1
--------------------------------------------------------------------------------
/Tools/Classes/Get-Enum.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .SYNOPSIS
3 | Output / Format Enums from API
4 | #>
5 |
6 | [CmdletBinding()]
7 | Param (
8 | [Parameter(Mandatory = $false)]
9 | [String]$OutputFile = '.\Enum.ps1'
10 | )
11 |
12 | $types = Get-UnityItem -URI /api/types
13 |
14 | $Enums = ($types.entries.content | Where-Object { $_.name -like '*Enum'})
15 |
16 | "#START" | Out-File $OutputFile
17 |
18 | Foreach ($Enum in $Enums) {
19 |
20 | "<#" | Out-File $OutputFile -Append
21 | " Name: $($Enum.Name)" | Out-File $OutputFile -Append
22 | " Description: $($Enum.Description)" | Out-File $OutputFile -Append
23 | "#>" | Out-File $OutputFile -Append
24 |
25 | "Enum $($Enum.Name) {" | Out-File $OutputFile -Append
26 |
27 | Foreach ($Attribut in ($Enum.attributes)) {
28 | " $($attribut.name) = $($attribut.initialValue) #$($attribut.description)" | Out-File $OutputFile -Append
29 | }
30 |
31 | "}" | Out-File $OutputFile -Append
32 | "" | Out-File $OutputFile -Append
33 | }
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityelementImport.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityelementImport {
2 |
3 | <#
4 | .SYNOPSIS
5 | Member element import details in an import session.
6 | .DESCRIPTION
7 | Member element import details in an import session.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityelementImport
19 |
20 | Retrieve information about all UnityelementImport
21 | .EXAMPLE
22 | Get-UnityelementImport -ID 'id01'
23 |
24 | Retrieves information about a specific UnityelementImport
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityelementImport ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/elementImport/instances' #URI
40 | $TypeName = 'UnityelementImport'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-Unityencryption.ps1:
--------------------------------------------------------------------------------
1 | Function Get-Unityencryption {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the data encryption of the storage system.
6 | .DESCRIPTION
7 | Information about the data encryption of the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-Unityencryption
19 |
20 | Retrieve information about all Unityencryption
21 | .EXAMPLE
22 | Get-Unityencryption -ID 'id01'
23 |
24 | Retrieves information about a specific Unityencryption
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Unityencryption ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/encryption/instances' #URI
40 | $TypeName = 'Unityencryption'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityfileEventSettings.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityfileEventSettings {
2 |
3 | <#
4 | .SYNOPSIS
5 | File Event Service supported protocols.
6 | .DESCRIPTION
7 | File Event Service supported protocols.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityfileEventSettings
19 |
20 | Retrieve information about all UnityfileEventSettings
21 | .EXAMPLE
22 | Get-UnityfileEventSettings -ID 'id01'
23 |
24 | Retrieves information about a specific UnityfileEventSettings
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityfileEventSettings ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/fileEventSettings/instances' #URI
40 | $TypeName = 'UnityfileEventSettings'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-Unityhealth.ps1:
--------------------------------------------------------------------------------
1 | Function Get-Unityhealth {
2 |
3 | <#
4 | .SYNOPSIS
5 | Health of the associated resource.
6 | .DESCRIPTION
7 | Health of the associated resource.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-Unityhealth
19 |
20 | Retrieve information about all Unityhealth
21 | .EXAMPLE
22 | Get-Unityhealth -ID 'id01'
23 |
24 | Retrieves information about a specific Unityhealth
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Unityhealth ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/health/instances' #URI
40 | $TypeName = 'Unityhealth'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityhostLUN.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityhostLUN {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the LUNs and LUN snapshots to which a host has access.
6 | .DESCRIPTION
7 | Information about the LUNs and LUN snapshots to which a host has access.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityhostLUN
19 |
20 | Retrieve information about all UnityhostLUN
21 | .EXAMPLE
22 | Get-UnityhostLUN -ID 'id01'
23 |
24 | Retrieves information about a specific UnityhostLUN
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityhostLUN ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/hostLUN/instances' #URI
40 | $TypeName = 'UnityhostLUN'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityioLimitSetting.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityioLimitSetting {
2 |
3 | <#
4 | .SYNOPSIS
5 | Global I/O limit settings.
6 | .DESCRIPTION
7 | Global I/O limit settings.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityioLimitSetting
19 |
20 | Retrieve information about all UnityioLimitSetting
21 | .EXAMPLE
22 | Get-UnityioLimitSetting -ID 'id01'
23 |
24 | Retrieves information about a specific UnityioLimitSetting
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityioLimitSetting ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/ioLimitSetting/instances' #URI
40 | $TypeName = 'UnityioLimitSetting'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityiscsiPortal.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityiscsiPortal {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the iSCSI portals in the storage system.
6 | .DESCRIPTION
7 | Information about the iSCSI portals in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityiscsiPortal
19 |
20 | Retrieve information about all UnityiscsiPortal
21 | .EXAMPLE
22 | Get-UnityiscsiPortal -ID 'id01'
23 |
24 | Retrieves information about a specific UnityiscsiPortal
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityiscsiPortal ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/iscsiPortal/instances' #URI
40 | $TypeName = 'UnityiscsiPortal'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityloginSessionInfo.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityloginSessionInfo {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about a REST API login session.
6 | .DESCRIPTION
7 | Information about a REST API login session.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityloginSessionInfo
19 |
20 | Retrieve information about all UnityloginSessionInfo
21 | .EXAMPLE
22 | Get-UnityloginSessionInfo -ID 'id01'
23 |
24 | Retrieves information about a specific UnityloginSessionInfo
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityloginSessionInfo ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/loginSessionInfo/instances' #URI
40 | $TypeName = 'UnityloginSessionInfo'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnitymgmtInterface.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitymgmtInterface {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about management interfaces in the storage system.
6 | .DESCRIPTION
7 | Information about management interfaces in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitymgmtInterface
19 |
20 | Retrieve information about all UnitymgmtInterface
21 | .EXAMPLE
22 | Get-UnitymgmtInterface -ID 'id01'
23 |
24 | Retrieves information about a specific UnitymgmtInterface
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitymgmtInterface ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/mgmtInterface/instances' #URI
40 | $TypeName = 'UnitymgmtInterface'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnitypingResult.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitypingResult {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about ping command result.
6 | .DESCRIPTION
7 | Information about ping command result.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitypingResult
19 |
20 | Retrieve information about all UnitypingResult
21 | .EXAMPLE
22 | Get-UnitypingResult -ID 'id01'
23 |
24 | Retrieves information about a specific UnitypingResult
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitypingResult ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/pingResult/instances' #URI
40 | $TypeName = 'UnitypingResult'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnitysnapHostAccess.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitysnapHostAccess {
2 |
3 | <#
4 | .SYNOPSIS
5 | Host access settings for snapshot.
6 | .DESCRIPTION
7 | Host access settings for snapshot.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitysnapHostAccess
19 |
20 | Retrieve information about all UnitysnapHostAccess
21 | .EXAMPLE
22 | Get-UnitysnapHostAccess -ID 'id01'
23 |
24 | Retrieves information about a specific UnitysnapHostAccess
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitysnapHostAccess ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/snapHostAccess/instances' #URI
40 | $TypeName = 'UnitysnapHostAccess'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnitysystemTime.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitysystemTime {
2 |
3 | <#
4 | .SYNOPSIS
5 | Current system time.
6 | .DESCRIPTION
7 | Current system time.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitysystemTime
19 |
20 | Retrieve information about all UnitysystemTime
21 | .EXAMPLE
22 | Get-UnitysystemTime -ID 'id01'
23 |
24 | Retrieves information about a specific UnitysystemTime
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitysystemTime ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/systemTime/instances' #URI
40 | $TypeName = 'UnitysystemTime'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnitytracerouteResult.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitytracerouteResult {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about traceroute command result.
6 | .DESCRIPTION
7 | Information about traceroute command result.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitytracerouteResult
19 |
20 | Retrieve information about all UnitytracerouteResult
21 | .EXAMPLE
22 | Get-UnitytracerouteResult -ID 'id01'
23 |
24 | Retrieves information about a specific UnitytracerouteResult
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitytracerouteResult ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/tracerouteResult/instances' #URI
40 | $TypeName = 'UnitytracerouteResult'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityupgradeTask.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityupgradeTask {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the upgrade task currently in progress.
6 | .DESCRIPTION
7 | Information about the upgrade task currently in progress.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityupgradeTask
19 |
20 | Retrieve information about all UnityupgradeTask
21 | .EXAMPLE
22 | Get-UnityupgradeTask -ID 'id01'
23 |
24 | Retrieves information about a specific UnityupgradeTask
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityupgradeTask ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/upgradeTask/instances' #URI
40 | $TypeName = 'UnityupgradeTask'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityurServer.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityurServer {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information for registering a storage system with Unisphere Central.
6 | .DESCRIPTION
7 | Information for registering a storage system with Unisphere Central.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityurServer
19 |
20 | Retrieve information about all UnityurServer
21 | .EXAMPLE
22 | Get-UnityurServer -ID 'id01'
23 |
24 | Retrieves information about a specific UnityurServer
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityurServer ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/urServer/instances' #URI
40 | $TypeName = 'UnityurServer'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_Unity400F_41/Get-UnityvlanInfo.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityvlanInfo {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about VLAN IDs.
6 | .DESCRIPTION
7 | Information about VLAN IDs.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityvlanInfo
19 |
20 | Retrieve information about all UnityvlanInfo
21 | .EXAMPLE
22 | Get-UnityvlanInfo -ID 'id01'
23 |
24 | Retrieves information about a specific UnityvlanInfo
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityvlanInfo ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/vlanInfo/instances' #URI
40 | $TypeName = 'UnityvlanInfo'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityelementImport.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityelementImport {
2 |
3 | <#
4 | .SYNOPSIS
5 | Member element import details in an import session.
6 | .DESCRIPTION
7 | Member element import details in an import session.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityelementImport
19 |
20 | Retrieve information about all UnityelementImport
21 | .EXAMPLE
22 | Get-UnityelementImport -ID 'id01'
23 |
24 | Retrieves information about a specific UnityelementImport
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityelementImport ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/elementImport/instances' #URI
40 | $TypeName = 'UnityelementImport'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-Unityencryption.ps1:
--------------------------------------------------------------------------------
1 | Function Get-Unityencryption {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the data encryption of the storage system.
6 | .DESCRIPTION
7 | Information about the data encryption of the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-Unityencryption
19 |
20 | Retrieve information about all Unityencryption
21 | .EXAMPLE
22 | Get-Unityencryption -ID 'id01'
23 |
24 | Retrieves information about a specific Unityencryption
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Unityencryption ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/encryption/instances' #URI
40 | $TypeName = 'Unityencryption'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityfileEventSettings.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityfileEventSettings {
2 |
3 | <#
4 | .SYNOPSIS
5 | File Event Service supported protocols.
6 | .DESCRIPTION
7 | File Event Service supported protocols.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityfileEventSettings
19 |
20 | Retrieve information about all UnityfileEventSettings
21 | .EXAMPLE
22 | Get-UnityfileEventSettings -ID 'id01'
23 |
24 | Retrieves information about a specific UnityfileEventSettings
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityfileEventSettings ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/fileEventSettings/instances' #URI
40 | $TypeName = 'UnityfileEventSettings'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-Unityhealth.ps1:
--------------------------------------------------------------------------------
1 | Function Get-Unityhealth {
2 |
3 | <#
4 | .SYNOPSIS
5 | Health of the associated resource.
6 | .DESCRIPTION
7 | Health of the associated resource.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-Unityhealth
19 |
20 | Retrieve information about all Unityhealth
21 | .EXAMPLE
22 | Get-Unityhealth -ID 'id01'
23 |
24 | Retrieves information about a specific Unityhealth
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Unityhealth ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/health/instances' #URI
40 | $TypeName = 'Unityhealth'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityhostLUN.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityhostLUN {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the LUNs and LUN snapshots to which a host has access.
6 | .DESCRIPTION
7 | Information about the LUNs and LUN snapshots to which a host has access.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityhostLUN
19 |
20 | Retrieve information about all UnityhostLUN
21 | .EXAMPLE
22 | Get-UnityhostLUN -ID 'id01'
23 |
24 | Retrieves information about a specific UnityhostLUN
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityhostLUN ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/hostLUN/instances' #URI
40 | $TypeName = 'UnityhostLUN'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityioLimitSetting.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityioLimitSetting {
2 |
3 | <#
4 | .SYNOPSIS
5 | Global I/O limit settings.
6 | .DESCRIPTION
7 | Global I/O limit settings.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityioLimitSetting
19 |
20 | Retrieve information about all UnityioLimitSetting
21 | .EXAMPLE
22 | Get-UnityioLimitSetting -ID 'id01'
23 |
24 | Retrieves information about a specific UnityioLimitSetting
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityioLimitSetting ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/ioLimitSetting/instances' #URI
40 | $TypeName = 'UnityioLimitSetting'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityiscsiPortal.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityiscsiPortal {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the iSCSI portals in the storage system.
6 | .DESCRIPTION
7 | Information about the iSCSI portals in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityiscsiPortal
19 |
20 | Retrieve information about all UnityiscsiPortal
21 | .EXAMPLE
22 | Get-UnityiscsiPortal -ID 'id01'
23 |
24 | Retrieves information about a specific UnityiscsiPortal
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityiscsiPortal ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/iscsiPortal/instances' #URI
40 | $TypeName = 'UnityiscsiPortal'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityloginSessionInfo.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityloginSessionInfo {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about a REST API login session.
6 | .DESCRIPTION
7 | Information about a REST API login session.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityloginSessionInfo
19 |
20 | Retrieve information about all UnityloginSessionInfo
21 | .EXAMPLE
22 | Get-UnityloginSessionInfo -ID 'id01'
23 |
24 | Retrieves information about a specific UnityloginSessionInfo
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityloginSessionInfo ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/loginSessionInfo/instances' #URI
40 | $TypeName = 'UnityloginSessionInfo'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnitymgmtInterface.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitymgmtInterface {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about management interfaces in the storage system.
6 | .DESCRIPTION
7 | Information about management interfaces in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitymgmtInterface
19 |
20 | Retrieve information about all UnitymgmtInterface
21 | .EXAMPLE
22 | Get-UnitymgmtInterface -ID 'id01'
23 |
24 | Retrieves information about a specific UnitymgmtInterface
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitymgmtInterface ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/mgmtInterface/instances' #URI
40 | $TypeName = 'UnitymgmtInterface'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnitypingResult.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitypingResult {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about ping command result.
6 | .DESCRIPTION
7 | Information about ping command result.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitypingResult
19 |
20 | Retrieve information about all UnitypingResult
21 | .EXAMPLE
22 | Get-UnitypingResult -ID 'id01'
23 |
24 | Retrieves information about a specific UnitypingResult
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitypingResult ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/pingResult/instances' #URI
40 | $TypeName = 'UnitypingResult'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnitysnapHostAccess.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitysnapHostAccess {
2 |
3 | <#
4 | .SYNOPSIS
5 | Host access settings for snapshot.
6 | .DESCRIPTION
7 | Host access settings for snapshot.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitysnapHostAccess
19 |
20 | Retrieve information about all UnitysnapHostAccess
21 | .EXAMPLE
22 | Get-UnitysnapHostAccess -ID 'id01'
23 |
24 | Retrieves information about a specific UnitysnapHostAccess
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitysnapHostAccess ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/snapHostAccess/instances' #URI
40 | $TypeName = 'UnitysnapHostAccess'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnitysystemTime.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitysystemTime {
2 |
3 | <#
4 | .SYNOPSIS
5 | Current system time.
6 | .DESCRIPTION
7 | Current system time.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitysystemTime
19 |
20 | Retrieve information about all UnitysystemTime
21 | .EXAMPLE
22 | Get-UnitysystemTime -ID 'id01'
23 |
24 | Retrieves information about a specific UnitysystemTime
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitysystemTime ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/systemTime/instances' #URI
40 | $TypeName = 'UnitysystemTime'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnitytracerouteResult.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitytracerouteResult {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about traceroute command result.
6 | .DESCRIPTION
7 | Information about traceroute command result.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitytracerouteResult
19 |
20 | Retrieve information about all UnitytracerouteResult
21 | .EXAMPLE
22 | Get-UnitytracerouteResult -ID 'id01'
23 |
24 | Retrieves information about a specific UnitytracerouteResult
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnitytracerouteResult ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/tracerouteResult/instances' #URI
40 | $TypeName = 'UnitytracerouteResult'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityupgradeTask.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityupgradeTask {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the upgrade task currently in progress.
6 | .DESCRIPTION
7 | Information about the upgrade task currently in progress.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityupgradeTask
19 |
20 | Retrieve information about all UnityupgradeTask
21 | .EXAMPLE
22 | Get-UnityupgradeTask -ID 'id01'
23 |
24 | Retrieves information about a specific UnityupgradeTask
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityupgradeTask ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/upgradeTask/instances' #URI
40 | $TypeName = 'UnityupgradeTask'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityurServer.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityurServer {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information for registering a storage system with Unisphere Central.
6 | .DESCRIPTION
7 | Information for registering a storage system with Unisphere Central.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityurServer
19 |
20 | Retrieve information about all UnityurServer
21 | .EXAMPLE
22 | Get-UnityurServer -ID 'id01'
23 |
24 | Retrieves information about a specific UnityurServer
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityurServer ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/urServer/instances' #URI
40 | $TypeName = 'UnityurServer'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/Get-UnityvlanInfo.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityvlanInfo {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about VLAN IDs.
6 | .DESCRIPTION
7 | Information about VLAN IDs.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityvlanInfo
19 |
20 | Retrieve information about all UnityvlanInfo
21 | .EXAMPLE
22 | Get-UnityvlanInfo -ID 'id01'
23 |
24 | Retrieves information about a specific UnityvlanInfo
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName='Name')]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName='ID',ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'UnityvlanInfo ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/vlanInfo/instances' #URI
40 | $TypeName = 'UnityvlanInfo'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
53 |
54 |
--------------------------------------------------------------------------------
/Tools/Functions/Result_UnityVSA_41/README.md:
--------------------------------------------------------------------------------
1 | ### Automaticaly generated GET functions
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityAlert.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityAlert.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityAlertConfig.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityAlertConfig.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityCIFSServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityCIFSServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityDNSServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityDNSServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityDae.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityDae.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityDisk.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityDisk.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityDpe.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityDpe.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityEncryption.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityEncryption.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityEthernetPort.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityEthernetPort.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityFileDNSServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityFileDNSServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityFileInterface.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityFileInterface.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityFilesystem.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityFilesystem.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityHost.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityHost.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityHostIPPort.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityHostIPPort.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityIpInterface.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityIpInterface.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityIscsiPortal.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityIscsiPortal.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityJob.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityJob.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityLUN.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityLUN.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityMetric.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityMetric.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityMetricQueryResult.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityMetricQueryResult.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityMetricRealTimeQuery.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityMetricRealTimeQuery.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityMetricValue.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityMetricValue.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityMgmtInterface.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityMgmtInterface.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityMgmtInterfaceSettings.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityMgmtInterfaceSettings.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityNFSShare.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityNFSShare.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityNTPServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityNTPServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityNasServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityNasServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityNfsServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityNfsServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityPool.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityPool.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitySmtpServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitySmtpServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitySnap.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitySnap.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitySnapSchedule.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitySnapSchedule.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitySnapScheduleRule.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitySnapScheduleRule.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitySsc.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitySsc.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitySsd.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitySsd.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityStorageProcessor.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityStorageProcessor.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitySystem.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitySystem.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityTreeQuota.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityTreeQuota.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.Unitybattery.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.Unitybattery.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitydataCollectionResult.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitydataCollectionResult.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.Unitydatastore.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.Unitydatastore.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityfastVP.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityfastVP.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityfcPort.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityfcPort.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityinstalledSoftwareVersion.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityinstalledSoftwareVersion.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitylinkAggregation.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitylinkAggregation.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityserviceAction.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityserviceAction.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityserviceInfo.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityserviceInfo.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnitystorageResource.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnitystorageResource.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.Unityvm.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.Unityvm.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityvmwareNasPEServer.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityvmwareNasPEServer.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.UnityvmwarePE.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.UnityvmwarePE.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Format/Unity-Powershell.Unityx509Certificate.Format.ps1xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/equelin/Unity-Powershell/6e93e71ae313b3e6138c84b013bd82fcee8d3378/Unity-Powershell/Format/Unity-Powershell.Unityx509Certificate.Format.ps1xml
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Add-UnityObjectType.ps1:
--------------------------------------------------------------------------------
1 | #Deprecated, replaced by ConvertTo-Hashtable
2 |
3 | function Add-UnityObjectType {
4 | [CmdletBinding()]
5 | Param (
6 | [parameter(Mandatory = $true)]
7 | $Data,
8 | [parameter(Mandatory = $true)]
9 | [string]$TypeName
10 | )
11 |
12 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
13 |
14 | #Building the result collection (Add type)
15 | Foreach ($D in $Data) {
16 | $object = New-Object $TypeName
17 | $Data | get-member -type NoteProperty | foreach-object {
18 | If ($D."$($_.Name)") {
19 | $object."$($_.Name)" = $D."$($_.Name)"
20 | }
21 | }
22 |
23 | #Adding the request result object to the result's collection array
24 | Write-Output $object
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/ConvertTo-Hashtable.ps1:
--------------------------------------------------------------------------------
1 | function ConvertTo-Hashtable {
2 | [CmdletBinding()]
3 | Param (
4 | [parameter(Mandatory = $true)]
5 | $Data
6 | )
7 |
8 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
9 |
10 | #Building the result collection
11 | Foreach ($D in $Data) {
12 | $HashTable = @{}
13 |
14 | $D |
15 | get-member -MemberType NoteProperty |
16 |
17 | ForEach-Object {
18 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Add key: $($_.name) with value: $($D.$($_.name))"
19 | $HashTable.add($_.name,$D."$($_.name)")
20 | }
21 |
22 | # Output results
23 | $HashTable
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Find-FromFilter.ps1:
--------------------------------------------------------------------------------
1 | Function Find-FromFilter {
2 | [CmdletBinding()]
3 | Param (
4 | [parameter(Mandatory = $true)]
5 | $Data,
6 | [parameter(Mandatory = $true)]
7 | [String]$Parameter,
8 | [parameter(Mandatory = $true)]
9 | $Filter
10 | )
11 |
12 | Process {
13 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
14 |
15 | Foreach ($F in $Filter) {
16 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Found $($Data.Count) item(s). Filtering result(s) on parameter $Parameter with value $F"
17 |
18 | $Result = $Data | Where-Object {$_."$Parameter" -like $F}
19 |
20 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Found $($Result.Count) item(s)"
21 |
22 | If ($Result) {
23 | $Result
24 | } else {
25 | Write-Error -Message "Object not found with the specified filter(s)" -Category "ObjectNotFound"
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Get-URLFromObjectType.ps1:
--------------------------------------------------------------------------------
1 | function Get-URLFromObjectType {
2 | [CmdletBinding()]
3 | Param (
4 | [parameter(Mandatory = $true, HelpMessage = "IP/FQDN of the array")]
5 | [UnitySession]$Session,
6 | [Parameter(Mandatory = $true,HelpMessage = 'URI')]
7 | [string]$URI,
8 | [parameter(Mandatory = $true, HelpMessage = 'Type associated to the item')]
9 | [string]$TypeName,
10 | [parameter(Mandatory = $false, HelpMessage = 'Ressource Filter')]
11 | [string]$Filter,
12 | [parameter(Mandatory = $false, HelpMessage = 'Compact the response')]
13 | [switch]$Compact,
14 | [parameter(Mandatory = $false, HelpMessage = 'Exceptions')]
15 | [string[]]$Exception = ''
16 | )
17 |
18 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
19 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Object Type: $Typename"
20 |
21 | # Deal with the exceptions! UnityVMwareLUn and UnityVMwareNFS are in fact UnityLUN and UnityFilesystem objects
22 | Switch ($Typename) {
23 | 'UnityVMwareLUN' {$type = 'LUN'}
24 | 'UnityVMwareNFS' {$type = 'Filesystem'}
25 | default {$type = $TypeName -replace 'Unity',''}
26 | }
27 |
28 | ($Session.types | where-object {$_.name -eq $type}).Attributes | foreach-object {$fields += $_.Name + ','}
29 |
30 | #Remove last ,
31 | $fields = $fields -replace '.$'
32 |
33 | #Build URL
34 | $URL = 'https://'+$($Session.Server)+$URI+'?fields='+$fields
35 |
36 | #Add filter if needed
37 | If ($Filter) {
38 | $URL = $URL + '&filter=' + $Filter
39 | }
40 |
41 | #Add compact if needed
42 | If ($Compact) {
43 | $URL = $URL + '&compact=true'
44 | }
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Returning URL: $URL"
47 |
48 | return $URL
49 | }
50 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/New-UnityObject.ps1:
--------------------------------------------------------------------------------
1 | function New-UnityObject {
2 | [CmdletBinding()]
3 | Param (
4 | [parameter(Mandatory = $true)]
5 | [Object[]]$Data,
6 | [parameter(Mandatory = $true)]
7 | [String]$TypeName
8 | )
9 |
10 | Write-Debug -Message "[$($MyInvocation.MyCommand.Name)] Executing function"
11 | Write-Debug -Message "[$($MyInvocation.MyCommand.Name)] ParameterSetName: $($PsCmdlet.ParameterSetName)"
12 | Write-Debug -Message "[$($MyInvocation.MyCommand.Name)] PSBoundParameters: $($PSBoundParameters | Out-String)"
13 |
14 | #Building the result collection
15 | Foreach ($D in $Data) {
16 |
17 | # Create a new empty object of type $Typename
18 | Try {
19 | $Object = New-Object -TypeName $TypeName
20 | }
21 | Catch {
22 | Throw "$TypeName is an invalid object"
23 | }
24 |
25 | # Loop through all the object properties and add to it the data
26 | $Object | Get-Member -MemberType Property | ForEach-Object {
27 | If ($D."$($_.name)" -notlike $null) {
28 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Add key: $($_.name) with value: $($D.$($_.name))"
29 | $Object."$($_.name)" = $D."$($_.name)"
30 | } else {
31 | Write-Debug -Message "[$($MyInvocation.MyCommand)] No value to add to Key: $($_.name)"
32 | }
33 | }
34 |
35 | Return $Object
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Show-RequestException.ps1:
--------------------------------------------------------------------------------
1 | Function Show-RequestException {
2 | [CmdletBinding()]
3 | Param(
4 | [parameter(Mandatory = $true)]
5 | $Exception
6 | )
7 |
8 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
9 |
10 | #Exception catch when there's a connectivity problem with the array
11 | If ($Exception.Exception.InnerException) {
12 | Write-Host "Please verify the connectivity with the array" -foreground yellow
13 | Write-Host
14 | Write-Host "Error details: $($Exception.Exception.InnerException.Message)" -foreground yellow
15 | Write-Host
16 | }
17 |
18 | #Exception catch when the rest request return an error
19 | If ($Exception.Exception.Response) {
20 |
21 | $result = $Exception.Exception.Response.GetResponseStream()
22 | $reader = New-Object System.IO.StreamReader($result)
23 | $responseBody = $reader.ReadToEnd()
24 | $JSON = $responseBody | ConvertFrom-Json
25 |
26 | Write-Host "The array sends an error message:" -foreground yellow
27 | Write-Host
28 | Write-Host "Error code: $($Exception.Exception.Response.StatusCode)" -foreground yellow
29 | Write-Host "Error description: $($Exception.Exception.Response.StatusDescription)" -foreground yellow
30 | Write-Host "Error details: $responseBody" -foreground yellow
31 | Write-Host
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Test-CompressionUnsupported.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | .SYNOPSIS
3 | Test if Pool is compatible with compression
4 | .DESCRIPTION
5 | Test if Pool is compatible with compression.
6 | Test if OS version is -ge 4.1
7 | Test if compression licence is available
8 | Test if compression feature is enabled
9 | Test if Pool is Extreme_Performance only
10 | #>
11 |
12 |
13 | Function Test-CompressionUnsupported {
14 | [CmdletBinding()]
15 | Param(
16 | [parameter(Mandatory = $true)]
17 | $Session,
18 | [parameter(Mandatory = $true)]
19 | $Pool
20 | )
21 |
22 | Process {
23 |
24 | [bool]$Result = $True
25 |
26 | If ($Session.SoftwareVersion -lt [version]'4.1') {
27 | #Write-Verbose "Software version lesser than 4.1.0"
28 | $Result = $false
29 | }
30 | If ($Session.isUnityVSA()) {
31 | #Write-Verbose "Array is an UnityVSA"
32 | $Result = $false
33 | }
34 | If (-not (Get-UnityPool -Session $Session -Id $Pool -ErrorAction SilentlyContinue).isExtremePerformance()) {
35 | #Write-Verbose "Pool is not Extreme Performance only"
36 | $Result = $false
37 | }
38 | If ((Get-UnityFeature -Session $Session -id INLINE_COMPRESSION -ErrorAction SilentlyContinue).State -ne 'FeatureStateEnabled') {
39 | #Write-Verbose "Feature INLINE_COMPRESSION is disabled"
40 | $Result = $false
41 | }
42 | If ((Get-UnityLicense -Session $Session -id INLINE_COMPRESSION -ErrorAction SilentlyContinue).isValid -ne $True) {
43 | #Write-Verbose "Licence INLINE_COMPRESSION is not valid"
44 | $Result = $false
45 | }
46 |
47 | Write-Verbose "Is compression supported: $Result"
48 | Return $Result
49 | }
50 | }
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Test-UnityConnection.ps1:
--------------------------------------------------------------------------------
1 | Function Test-UnityConnection {
2 | [CmdletBinding()]
3 | Param (
4 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
5 | [Array]$session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
6 | )
7 | Begin {
8 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
9 | }
10 |
11 | Process {
12 | Foreach ($Sess in $session) {
13 |
14 | Write-Verbose "Processing Array: $($sess.Server)"
15 |
16 | $URI = 'https://'+$sess.Server+'/api/types/system/instances'
17 |
18 | Write-Verbose "URI: $URI"
19 |
20 | Try {
21 | $request = Invoke-WebRequest -Uri $URI -ContentType "application/json" -Websession $sess.Websession -Headers $sess.headers -Method 'GET' -UseBasicParsing
22 | }
23 |
24 | Catch {
25 | $global:DefaultUnitySession |
26 | where-object {$_.SessionId -eq $sess.SessionId} |
27 | foreach {
28 | $currentObject = $_
29 | $currentObject.IsConnected = $false
30 | $currentObject
31 | } | Out-Null
32 | Return $false
33 | }
34 | }
35 | Return $True
36 | }
37 | End {}
38 | }
39 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Unblock-UnityCerts.ps1:
--------------------------------------------------------------------------------
1 | Function Unblock-UnityCerts {
2 |
3 | # Hack for allowing untrusted SSL certs with https connections
4 | Add-Type -TypeDefinition @"
5 | using System.Net;
6 | using System.Security.Cryptography.X509Certificates;
7 | public class TrustAllCertsPolicy : ICertificatePolicy {
8 | public bool CheckValidationResult(
9 | ServicePoint srvPoint, X509Certificate certificate,
10 | WebRequest request, int certificateProblem) {
11 | return true;
12 | }
13 | }
14 | "@
15 |
16 | [System.Net.ServicePointManager]::CertificatePolicy = New-Object -TypeName TrustAllCertsPolicy
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Unity-Powershell/Private/Update-TitleBarForUnityConnection.ps1:
--------------------------------------------------------------------------------
1 | <# .Description
2 | Set PowerShell title bar to reflect currently connected Unity servers' names
3 | #>
4 | function Update-TitleBarForUnityConnection {
5 | $strOrigWindowTitle = $host.ui.RawUI.WindowTitle
6 | ## the window titlebar text without the "connected to.." Unity info
7 | $strWinTitleWithoutOldUnityConnInfo = $strOrigWindowTitle -replace "(; )?Connected to( \d+)? Unity.+", ""
8 | ## the number of Unity servers to which still connected
9 | $intNumConnectedUnityServers = ($Global:DefaultUnitySession | Measure-Object).Count
10 | $strNewWindowTitle = "{0}{1}{2}" -f $strWinTitleWithoutOldUnityConnInfo, $(if ((-not [System.String]::IsNullOrEmpty($strWinTitleWithoutOldUnityConnInfo)) -and ($intNumConnectedUnityServers -gt 0)) {"; "}), $(
11 | if ($intNumConnectedUnityServers -gt 0) {
12 | if ($intNumConnectedUnityServers -eq 1) {"Connected to Unity {0} as {1}" -f $Global:DefaultUnitySession[0].Server, $Global:DefaultUnitySession[0].User}
13 | else {"Connected to {0} Unity servers: {1}." -f $intNumConnectedUnityServers, (($Global:DefaultUnitySession | Foreach-Object {$_.Server}) -Join ", ")}
14 | } ## end if
15 | #else {"Not Connected to Unity"}
16 | ) ## end -f call
17 | $host.ui.RawUI.WindowTitle = $strNewWindowTitle
18 | } ## end fn
19 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Disable-UnityFastCache.ps1:
--------------------------------------------------------------------------------
1 | Function Disable-UnityFastCache {
2 |
3 | <#
4 | .SYNOPSIS
5 | Disable FAST Cache.
6 | .DESCRIPTION
7 | Disable FAST Cache.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .EXAMPLE
16 | Disable-UnityFastCache
17 |
18 | Disable FAST Cache.
19 | #>
20 |
21 | [CmdletBinding(SupportsShouldProcess = $True,ConfirmImpact = 'High')]
22 | Param (
23 | #Default Parameters
24 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
25 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
26 | )
27 |
28 | Begin {
29 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
30 | }
31 |
32 | Process {
33 |
34 | Foreach ($sess in $session) {
35 |
36 | Write-Debug -Message "Processing Session: $($sess.Server) with SessionId: $($sess.SessionId)"
37 |
38 | If ($Sess.TestConnection()) {
39 |
40 | #Building the URI
41 | $URI = 'https://'+$sess.Server+'/api/instances/fastCache/0/action/disable?timeout=0' #run async
42 | Write-Verbose "URI: $URI"
43 |
44 | #Sending the request
45 | If ($pscmdlet.ShouldProcess($($Sess.Server),"Disable Fast Cache")) {
46 | $request = Send-UnityRequest -uri $URI -Session $Sess -Method 'POST' -Body $Body
47 | }
48 |
49 | If ($request.StatusCode -eq '202') {
50 | Write-Host "Fast Cache is currently disabling"
51 | }
52 | }
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityAlert.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityAlert {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about alerts generated by the storage system.
6 | .DESCRIPTION
7 | Information about alerts generated by the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityAlert
19 |
20 | Retrieve Information about alerts generated by the storage system.
21 | #>
22 |
23 | [CmdletBinding(DefaultParameterSetName="ID")]
24 | Param (
25 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
26 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
27 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Alert ID')]
28 | [String[]]$ID
29 | )
30 |
31 | Begin {
32 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
33 |
34 | #Initialazing variables
35 | $URI = '/api/types/alert/instances' #URI for the ressource (example: /api/types/lun/instances)
36 | $TypeName = 'UnityAlert'
37 | }
38 |
39 | Process {
40 | Foreach ($sess in $session) {
41 |
42 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
43 |
44 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
45 |
46 | } # End Foreach ($sess in $session)
47 | } # End Process
48 | } # End Function
49 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityAlertConfig.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityAlertConfig {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the Alert Configs in the storage system.
6 | .DESCRIPTION
7 | Information about the Alert Configs in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityAlertConfig
19 |
20 | Retrieve informations about all the Alert Configs.
21 | #>
22 |
23 | [CmdletBinding(DefaultParameterSetName="ID")]
24 | Param (
25 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
26 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
27 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Alert Config ID')]
28 | [String[]]$ID
29 | )
30 |
31 | Begin {
32 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
33 |
34 | #Initialazing variables
35 | $URI = '/api/types/alertConfig/instances'
36 | $TypeName = 'UnityAlertConfig'
37 | }
38 |
39 | Process {
40 | Foreach ($sess in $session) {
41 |
42 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
43 |
44 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
45 |
46 | } # End Foreach ($sess in $session)
47 | } # End Process
48 | } # End Function
49 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityDnsServer.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityDNSServer {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about DNS Servers.
6 | .DESCRIPTION
7 | Information about DNS Servers.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityDNSServer
19 |
20 | Retrieve informations about the DNS server.
21 | #>
22 |
23 | [CmdletBinding(DefaultParameterSetName="ID")]
24 | Param (
25 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
26 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
27 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'DNS ID')]
28 | [String[]]$ID
29 | )
30 |
31 | Begin {
32 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
33 |
34 | #Initialazing variables
35 | $URI = '/api/types/dnsServer/instances' #URI for the ressource (example: /api/types/lun/instances)
36 | $TypeName = 'UnityDnsServer'
37 | }
38 |
39 | Process {
40 | Foreach ($sess in $session) {
41 |
42 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
43 |
44 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
45 |
46 | } # End Foreach ($sess in $session)
47 | } # End Process
48 | } # End Function
49 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityFileDnsServer.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityFileDNSServer {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about File DNS Servers.
6 | .DESCRIPTION
7 | Information about File DNS Servers.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityFileDnsServer
19 |
20 | Retrieve informations about all file dns servers with an active session.
21 | #>
22 |
23 | [CmdletBinding(DefaultParameterSetName="ID")]
24 | Param (
25 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
26 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
27 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'File DNS Server ID')]
28 | [String[]]$ID
29 | )
30 |
31 | Begin {
32 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
33 |
34 | #Initialazing variables
35 | $URI = '/api/types/fileDNSServer/instances' #URI for the ressource (example: /api/types/lun/instances)
36 | $TypeName = 'UnityFileDnsServer'
37 | }
38 |
39 | Process {
40 | Foreach ($sess in $session) {
41 |
42 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
43 |
44 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
45 |
46 | } # End Foreach ($sess in $session)
47 | } # End Process
48 | } # End Function
49 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityHostIPPort.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityHostIPPort {
2 |
3 | <#
4 | .SYNOPSIS
5 | View details about host IP Port configuration on the system.
6 | .DESCRIPTION
7 | View details about host IP Port configuration on the system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityHostIPPort
19 |
20 | Retrieve information about all hosts
21 | .EXAMPLE
22 | Get-UnityHostIPPort -ID 'ESX01'
23 |
24 | Retrieves information about host IP Port named 'ESX01'
25 | #>
26 |
27 | [CmdletBinding(DefaultParameterSetName="ID")]
28 | Param (
29 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
30 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
31 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Host IP Port ID')]
32 | [String[]]$ID
33 | )
34 |
35 | Begin {
36 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
37 |
38 | #Initialazing variables
39 | $URI = '/api/types/hostIPPort/instances' #URI
40 | $TypeName = 'UnityHostIPPort'
41 | }
42 |
43 | Process {
44 | Foreach ($sess in $session) {
45 |
46 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
47 |
48 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
49 |
50 | } # End Foreach ($sess in $session)
51 | } # End Process
52 | } # End Function
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityIpInterface.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityIpInterface {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about network interfaces in the storage system.
6 | .DESCRIPTION
7 | Information about network interfaces in the storage system.
8 | Network interfaces enable and control access between the system, network, and configured hosts.
9 | You need to have an active session with the array.
10 | .NOTES
11 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
12 | .LINK
13 | https://github.com/equelin/Unity-Powershell
14 | .PARAMETER Session
15 | Specifies an UnitySession Object.
16 | .PARAMETER ID
17 | Specifies the object ID.
18 | .EXAMPLE
19 | Get-UnityIpInterface
20 |
21 | Retrieve informations about all the management interface.
22 | #>
23 |
24 | [CmdletBinding(DefaultParameterSetName="ID")]
25 | Param (
26 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
27 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
28 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'IP Interface ID')]
29 | [String[]]$ID
30 | )
31 |
32 | Begin {
33 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
34 |
35 | #Initialazing variables
36 | $URI = '/api/types/ipInterface/instances' #URI for the ressource (example: /api/types/lun/instances)
37 | $TypeName = 'UnityIpInterface'
38 | }
39 |
40 | Process {
41 | Foreach ($sess in $session) {
42 |
43 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
44 |
45 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
46 |
47 | } # End Foreach ($sess in $session)
48 | } # End Process
49 | } # End Function
50 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityIscsiPortal.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityIscsiPortal {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the iSCSI portals in the storage system.
6 | .DESCRIPTION
7 | Information about the iSCSI portals in the storage system.
8 | iSCSI portals are used for controlling access to iSCSI storage
9 | You need to have an active session with the array.
10 | .NOTES
11 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
12 | .LINK
13 | https://github.com/equelin/Unity-Powershell
14 | .PARAMETER Session
15 | Specifies an UnitySession Object.
16 | .PARAMETER ID
17 | Specifies the object ID.
18 | .EXAMPLE
19 | Get-UnityIscsiPortal
20 |
21 | Retrieve informations about all the iSCSI portal.
22 | #>
23 |
24 | [CmdletBinding(DefaultParameterSetName="ID")]
25 | Param (
26 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
27 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
28 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'iSCSI portal ID')]
29 | [String[]]$ID
30 | )
31 |
32 | Begin {
33 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
34 |
35 | #Initialazing variables
36 | $URI = '/api/types/iscsiPortal/instances' #URI for the ressource (example: /api/types/lun/instances)
37 | $TypeName = 'UnityIscsiPortal'
38 | }
39 |
40 | Process {
41 | Foreach ($sess in $session) {
42 |
43 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
44 |
45 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
46 |
47 | } # End Foreach ($sess in $session)
48 | } # End Process
49 | } # End Function
50 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityMgmtInterface.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityMgmtInterface {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about management interfaces in the storage system.
6 | .DESCRIPTION
7 | Information about management interfaces in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityMgmtInterface
19 |
20 | Retrieve informations about all the management interface.
21 | #>
22 |
23 | [CmdletBinding(DefaultParameterSetName="ID")]
24 | Param (
25 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
26 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
27 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Mgmt interface ID')]
28 | [String[]]$ID
29 | )
30 |
31 | Begin {
32 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
33 |
34 | #Initialazing variables
35 | $URI = '/api/types/mgmtInterface/instances' #URI for the ressource (example: /api/types/lun/instances)
36 | $TypeName = 'UnityMgmtInterface'
37 | }
38 |
39 | Process {
40 | Foreach ($sess in $session) {
41 |
42 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
43 |
44 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
45 |
46 | } # End Foreach ($sess in $session)
47 | } # End Process
48 | } # End Function
49 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityMgmtInterfaceSetting.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityMgmtInterfaceSetting {
2 |
3 | <#
4 | .SYNOPSIS
5 | Informations about global settings for the management interfaces.
6 | .DESCRIPTION
7 | Informations about global settings for the management interfaces.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .EXAMPLE
16 | Get-UnityMgmtInterfaceSetting
17 |
18 | Retrieve informations about global settings for the management interfaces.
19 | #>
20 |
21 | [CmdletBinding(DefaultParameterSetName="Name")]
22 | Param (
23 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
24 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
25 | )
26 |
27 | Begin {
28 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
29 |
30 | #Initialazing variables
31 | $URI = '/api/types/mgmtInterfaceSettings/instances' #URI for the ressource (example: /api/types/lun/instances)
32 | $TypeName = 'UnityMgmtInterfaceSettings'
33 | }
34 |
35 | Process {
36 | Foreach ($sess in $session) {
37 |
38 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
39 |
40 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
41 |
42 | } # End Foreach ($sess in $session)
43 | } # End Process
44 | } # End Function
45 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityNFSServer.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityNFSServer {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the NFS Servers in the storage system.
6 | .DESCRIPTION
7 | Information about the NFS Servers in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityNFSServer
19 |
20 | Retrieve informations about all the NFS Servers.
21 | #>
22 |
23 | [CmdletBinding(DefaultParameterSetName="ID")]
24 | Param (
25 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
26 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
27 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'NFS Server ID')]
28 | [String[]]$ID
29 | )
30 |
31 | Begin {
32 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
33 |
34 | #Initialazing variables
35 | $URI = '/api/types/nfsServer/instances'
36 | $TypeName = 'UnityNfsServer'
37 | }
38 |
39 | Process {
40 | Foreach ($sess in $session) {
41 |
42 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
43 |
44 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
45 |
46 | } # End Foreach ($sess in $session)
47 | } # End Process
48 | } # End Function
49 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnityNTPServer.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityNTPServer {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about NTP Servers.
6 | .DESCRIPTION
7 | Information about NTP Servers.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .EXAMPLE
16 | Get-UnityNTPServer
17 |
18 | Retrieve informations about the NTP Servers.
19 | #>
20 |
21 | [CmdletBinding(DefaultParameterSetName="Name")]
22 | Param (
23 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
24 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
25 | )
26 |
27 | Begin {
28 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
29 |
30 | #Initialazing variables
31 | $URI = '/api/types/ntpServer/instances' #URI for the ressource (example: /api/types/lun/instances)
32 | $TypeName = 'UnityNTPServer'
33 | }
34 |
35 | Process {
36 | Foreach ($sess in $session) {
37 |
38 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
39 |
40 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
41 |
42 | } # End Foreach ($sess in $session)
43 | } # End Process
44 | } # End Function
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnitySession.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitySession {
2 |
3 | <#
4 | .SYNOPSIS
5 | List the existing sessions.
6 | .DESCRIPTION
7 | List the existing sessions.
8 | .NOTES
9 | Written by Erwan Quelin under MIT licence
10 | .LINK
11 | https://github.com/equelin/Unity-Powershell
12 | .PARAMETER Server
13 | IP or FQDN of the Unity array.
14 | .EXAMPLE
15 | Get-UnitySession
16 |
17 | List all the existing sessions.
18 | .EXAMPLE
19 | Get-UnitySession -Server 192.0.2.1'
20 |
21 | Lists sessions connected the the array '192.0.2.1'
22 | #>
23 |
24 | [CmdletBinding()]
25 | Param (
26 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity IP or FQDN')]
27 | [String]$Server
28 | )
29 |
30 | Begin {
31 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
32 | }
33 |
34 | Process {
35 | If ($Server) {
36 | Write-Verbose "Return DefaultUnitySession matching the Server IP or FQDN: $Server"
37 | return $global:DefaultUnitySession | where-object {$_.Server -match $Server}
38 | } else {
39 | Write-Verbose "Return DefaultUnitySessionclear"
40 | return $global:DefaultUnitySession
41 | }
42 | }
43 |
44 | End {}
45 | }
46 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Get-UnitySmtpServer.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnitySMTPServer {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about the SMTP servers in the storage system.
6 | .DESCRIPTION
7 | Information about the SMTP servers in the storage system.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnitySMTPServer
19 |
20 | Retrieve informations about all the SMTP servers.
21 | #>
22 |
23 | [CmdletBinding(DefaultParameterSetName="ID")]
24 | Param (
25 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
26 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
27 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'SMTP Server ID')]
28 | [String[]]$ID
29 | )
30 |
31 | Begin {
32 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
33 |
34 | #Initialazing variables
35 | $URI = '/api/types/smtpServer/instances' #URI
36 | $TypeName = 'UnitySmtpServer'
37 | }
38 |
39 | Process {
40 | Foreach ($sess in $session) {
41 |
42 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
43 |
44 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
45 |
46 | } # End Foreach ($sess in $session)
47 | } # End Process
48 | } # End Function
49 |
--------------------------------------------------------------------------------
/Unity-Powershell/Public/Hardware/Get-UnityEncryption.ps1:
--------------------------------------------------------------------------------
1 | Function Get-UnityEncryption {
2 |
3 | <#
4 | .SYNOPSIS
5 | Information about Encryption.
6 | .DESCRIPTION
7 | Information about Encryption.
8 | You need to have an active session with the array.
9 | .NOTES
10 | Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
11 | .LINK
12 | https://github.com/equelin/Unity-Powershell
13 | .PARAMETER Session
14 | Specifies an UnitySession Object.
15 | .PARAMETER ID
16 | Specifies the object ID.
17 | .EXAMPLE
18 | Get-UnityEncryption
19 |
20 |
21 | Retrieve Information about Encryption.
22 | #>
23 |
24 | [CmdletBinding(DefaultParameterSetName="ID")]
25 | Param (
26 | [Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
27 | $session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
28 | [Parameter(Mandatory = $false,ParameterSetName="ID",ValueFromPipeline=$True,ValueFromPipelinebyPropertyName=$True,HelpMessage = 'Encryption ID')]
29 | [String[]]$ID
30 | )
31 |
32 | Begin {
33 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
34 |
35 | #Initialazing variables
36 | $URI = '/api/types/encryption/instances' #URI for the ressource (example: /api/types/lun/instances)
37 | $TypeName = 'UnityEncryption
38 | '
39 | }
40 |
41 | Process {
42 | Foreach ($sess in $session) {
43 |
44 | Write-Debug -Message "[$($MyInvocation.MyCommand)] Processing Session: $($Session.Server) with SessionId: $($Session.SessionId)"
45 |
46 | Get-UnityItemByKey -Session $Sess -URI $URI -Typename $Typename -Key $PsCmdlet.ParameterSetName -Value $PSBoundParameters[$PsCmdlet.ParameterSetName]
47 |
48 | } # End Foreach ($sess in $session)
49 | } # End Process
50 | } # End Function
51 |
--------------------------------------------------------------------------------
/Unity-Powershell/en-US/about_Unity-Powershell.help.txt:
--------------------------------------------------------------------------------
1 | PSTOPIC
2 | about_Unity-Powershell
3 |
4 | SHORT DESCRIPTION
5 | Unity-Powershell is a Powershell's module for working with EMC Unity array
6 |
7 | LONG DESCRIPTION
8 | Unity-Powershell is a Powershell's module for working with EMC Unity array
9 |
10 | Source of the module is available at:
11 | https://github.com/equelin/Unity-Powershell
12 |
13 | DETAILED DESCRIPTION
14 | Unity-Powershell is a Powershell's module for working with EMC Unity array
15 |
--------------------------------------------------------------------------------
/appveyor.yml:
--------------------------------------------------------------------------------
1 | #---------------------------------#
2 | # environment configuration #
3 | #---------------------------------#
4 | version: 1.0.{build}
5 | os: WMF 5
6 | install:
7 | - ps: Import-Module .\AppVeyor\Functions\AppVeyor-Util.psm1 | Out-Null
8 | - ps: . .\AppVeyor\install.ps1
9 |
10 | environment:
11 | NuGetApiKey:
12 | secure: UIr9SZkDLqMe2EjAP2CBmvomalY6sRAenwlLYR3fRDdyUhB1/RO7nsvYFRGM36RD
13 | GHToken:
14 | secure: 5jmXah8zuXr+gjrG1WkD1uZ/jk9q7W+foC793X8//rJN5vdye5tice7j83mPuuwU
15 | ModuleName: PSDummy
16 |
17 | #Build will be started only if one of the modified files was inside the Unity-Powershell folder
18 | only_commits:
19 | files:
20 | - Unity-Powershell/
21 |
22 | #---------------------------------#
23 | # build configuration #
24 | #---------------------------------#
25 | build: off
26 |
27 | #---------------------------------#
28 | # test configuration #
29 | #---------------------------------#
30 | test_script:
31 | - ps: . .\AppVeyor\test.ps1
32 |
33 | #---------------------------------#
34 | # deployment configuration #
35 | #---------------------------------#
36 | deploy_script:
37 | - ps: . .\AppVeyor\deploy.ps1
38 |
39 | #Skip build when pushing a new tags
40 | skip_tags: true
41 |
42 | #GitHub Pull Request notifications
43 | notifications:
44 | - provider: GitHubPullRequest
45 | auth_token:
46 | secure: 5jmXah8zuXr+gjrG1WkD1uZ/jk9q7W+foC793X8//rJN5vdye5tice7j83mPuuwU
47 | template: "{{#passed}}:white_check_mark:{{/passed}}{{#failed}}:x:{{/failed}} [Build {{&projectName}} {{buildVersion}} {{status}}]({{buildUrl}}) (commit {{commitUrl}} by @{{&commitAuthorUsername}})"
48 |
49 |
50 |
--------------------------------------------------------------------------------
/docs/References/Disable-UnityFastCache.md:
--------------------------------------------------------------------------------
1 | # Disable-UnityFastCache
2 |
3 | ## SYNOPSIS
4 | Disable FAST Cache.
5 |
6 | ## SYNTAX
7 |
8 | ```
9 | Disable-UnityFastCache [[-session]