From b9f7f8c71e75862b1e9836dbc47cd0bd22a73a5c Mon Sep 17 00:00:00 2001 From: Rick Kessler Date: Thu, 24 Aug 2017 14:14:57 -0700 Subject: [PATCH 1/3] Remove ps1xml --- .../Commands.IotHub/Commands.IotHub.csproj | 4 - ...rosoft.Azure.Commands.IotHub.format.ps1xml | 372 ------------------ 2 files changed, 376 deletions(-) delete mode 100644 src/ResourceManager/IotHub/Commands.IotHub/Microsoft.Azure.Commands.IotHub.format.ps1xml diff --git a/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj b/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj index c1d1dffde951..ee3c86a59f4a 100644 --- a/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj +++ b/src/ResourceManager/IotHub/Commands.IotHub/Commands.IotHub.csproj @@ -170,10 +170,6 @@ - - Designer - Always - AzureRM.IotHub.psd1 PreserveNewest diff --git a/src/ResourceManager/IotHub/Commands.IotHub/Microsoft.Azure.Commands.IotHub.format.ps1xml b/src/ResourceManager/IotHub/Commands.IotHub/Microsoft.Azure.Commands.IotHub.format.ps1xml deleted file mode 100644 index be5dcf38d490..000000000000 --- a/src/ResourceManager/IotHub/Commands.IotHub/Microsoft.Azure.Commands.IotHub.format.ps1xml +++ /dev/null @@ -1,372 +0,0 @@ - - - - - Microsoft.Azure.Commands.KeyVault.Models.KeyIdentityItem - - Microsoft.Azure.Commands.KeyVault.Models.KeyIdentityItem - - - - - - - - VaultName - - - - Name - - - - Version - - - - Id - - - - Enabled - - - - Expires - - - - NotBefore - - - - Created - - - - Updated - - - - TagsTable - - - - - - - - Microsoft.Azure.Commands.KeyVault.Models.SecretIdentityItem - - Microsoft.Azure.Commands.KeyVault.Models.SecretIdentityItem - - - - - - - - VaultName - - - - Name - - - - Version - - - - Id - - - - Enabled - - - - Expires - - - - NotBefore - - - - Created - - - - Updated - - - - ContentType - - - - TagsTable - - - - - - - - Microsoft.Azure.Commands.KeyVault.Models.PSVaultIdentityItem - - Microsoft.Azure.Commands.KeyVault.Models.PSVaultIdentityItem - - - - - - - - VaultName - - - - ResourceGroupName - - - - Location - - - - ResourceId - - - - TagsTable - - - - - - - - Microsoft.Azure.Commands.KeyVault.Models.PSVault - - Microsoft.Azure.Commands.KeyVault.Models.PSVault - - - - - - - - VaultName - - - - ResourceGroupName - - - - Location - - - - ResourceId - - - - VaultUri - - - - TenantName - - - - Sku - - - - EnabledForDeployment - - - - EnabledForTemplateDeployment - - - - EnabledForDiskEncryption - - - - AccessPoliciesText - - - - TagsTable - - - - - - - - Microsoft.Azure.Commands.KeyVault.Models.PSVaultAccessPolicy - - Microsoft.Azure.Commands.KeyVault.Models.PSVaultAccessPolicy - - - - - - - - TenantName - - - - ObjectId - - - - ApplicationIdDisplayName - - - - DisplayName - - - - PermissionsToKeys - - - - PermissionsToSecrets - - - - - - - - Microsoft.Azure.Commands.KeyVault.Models.Secret - - Microsoft.Azure.Commands.KeyVault.Models.Secret - - - - - - - - VaultName - - - - Name - - - - Version - - - - Id - - - - - if ($_.Attributes -ne $null) - { - $_.Attributes.Enabled; - } - else - { - $_.Attributes; - } - - - - - - if ($_.Attributes -ne $null) - { - $_.Attributes.Expires; - } - else - { - $_.Attributes; - } - - - - - - if ($_.Attributes -ne $null) - { - $_.Attributes.NotBefore; - } - else - { - $_.Attributes; - } - - - - - - if ($_.Attributes -ne $null) - { - $_.Attributes.Created; - } - else - { - $_.Attributes; - } - - - - - - if ($_.Attributes -ne $null) - { - $_.Attributes.Updated; - } - else - { - $_.Attributes; - } - - - - - - if ($_.Attributes -ne $null) - { - $_.Attributes.ContentType; - } - else - { - $_.Attributes; - } - - - - - - if ($_.Attributes -ne $null) - { - $_.Attributes.TagsTable; - } - else - { - $_.Attributes; - } - - - - - - - - - From 161c080fa5f7c443d03cc55e4766b5b32e57b339 Mon Sep 17 00:00:00 2001 From: Rick Kessler Date: Thu, 24 Aug 2017 14:15:27 -0700 Subject: [PATCH 2/3] Remove ps1xml file --- src/ResourceManager/IotHub/AzureRM.IotHub.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 b/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 index 274f2d8c69c6..74c253e69550 100644 --- a/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 +++ b/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 @@ -63,7 +63,7 @@ RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '3.2.1'; } # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = '.\Microsoft.Azure.Commands.IotHub.format.ps1xml' +#FormatsToProcess = '.\Microsoft.Azure.Commands.IotHub.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('.\Microsoft.Azure.Commands.IotHub.dll') From 3d92f14c4ef80f6cbad728643aac0005bd5c6800 Mon Sep 17 00:00:00 2001 From: chieftn Date: Thu, 24 Aug 2017 20:32:18 -0700 Subject: [PATCH 3/3] Updated comment to match formatting specification. --- src/ResourceManager/IotHub/AzureRM.IotHub.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 b/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 index 74c253e69550..e5b31d05b5ca 100644 --- a/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 +++ b/src/ResourceManager/IotHub/AzureRM.IotHub.psd1 @@ -63,7 +63,7 @@ RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '3.2.1'; } # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -#FormatsToProcess = '.\Microsoft.Azure.Commands.IotHub.format.ps1xml' +#FormatsToProcess = @() # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('.\Microsoft.Azure.Commands.IotHub.dll')