Closed v-tisheg closed 6 years ago
@v-tisheg We would need the following from you to be able to get to the bottom of whats goin on here :
PS C:\WINDOWS\system32> Get-Module -ListAvailable
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
Script 5.1.1 Azure {Get-AzureAutomationCertificate, Get-AzureAutomationConnection, New-AzureAutomationConnection, Remove-AzureAutomationConnection...} Script 0.5.0 Azure.AnalysisServices {Add-AzureAnalysisServicesAccount, Restart-AzureAnalysisServicesInstance, Export-AzureAnalysisServicesInstanceLog, Sync-AzureAnalysisServicesInstance...} Script 4.2.0 Azure.Storage {Get-AzureStorageTable, New-AzureStorageTableSASToken, New-AzureStorageTableStoredAccessPolicy, New-AzureStorageTable...} Script 4.1.1 Azure.Storage {Get-AzureStorageTable, New-AzureStorageTableSASToken, New-AzureStorageTableStoredAccessPolicy, New-AzureStorageTable...} Script 5.5.0 AzureRM Script 5.4.1 AzureRM Script 0.6.4 AzureRM.AnalysisServices {Resume-AzureRmAnalysisServicesServer, Suspend-AzureRmAnalysisServicesServer, Get-AzureRmAnalysisServicesServer, Remove-AzureRmAnalysisServicesServer...} Script 0.6.3 AzureRM.AnalysisServices {Resume-AzureRmAnalysisServicesServer, Suspend-AzureRmAnalysisServicesServer, Get-AzureRmAnalysisServicesServer, Remove-AzureRmAnalysisServicesServer...} Script 5.1.0 AzureRM.ApiManagement {Add-AzureRmApiManagementRegion, Get-AzureRmApiManagementSsoToken, New-AzureRmApiManagementHostnameConfiguration, New-AzureRmApiManagementRegion...} Script 0.1.1 AzureRM.ApplicationInsights {Get-AzureRmApplicationInsights, New-AzureRmApplicationInsights, Remove-AzureRmApplicationInsights, Set-AzureRmApplicationInsightsPricingPlan...} Script 4.3.0 AzureRM.Automation {Get-AzureRMAutomationHybridWorkerGroup, Get-AzureRmAutomationJobOutputRecord, Import-AzureRmAutomationDscNodeConfiguration, Export-AzureRmAutomationDscConfiguration...} Script 4.2.1 AzureRM.Automation {Get-AzureRMAutomationHybridWorkerGroup, Get-AzureRmAutomationJobOutputRecord, Import-AzureRmAutomationDscNodeConfiguration, Export-AzureRmAutomationDscConfiguration...} Script 4.0.2 AzureRM.Backup {Backup-AzureRmBackupItem, Enable-AzureRmBackupContainerReregistration, Get-AzureRmBackupContainer, Register-AzureRmBackupContainer...} Script 4.0.4 AzureRM.Batch {Remove-AzureRmBatchAccount, Get-AzureRmBatchAccount, Get-AzureRmBatchAccountKeys, New-AzureRmBatchAccount...} Script 0.14.0 AzureRM.Billing {Get-AzureRmBillingInvoice, Get-AzureRmBillingPeriod} Script 4.2.0 AzureRM.Cdn {Get-AzureRmCdnProfile, Get-AzureRmCdnProfileSsoUrl, New-AzureRmCdnProfile, Remove-AzureRmCdnProfile...} Script 4.1.0 AzureRM.Cdn {Get-AzureRmCdnProfile, Get-AzureRmCdnProfileSsoUrl, New-AzureRmCdnProfile, Remove-AzureRmCdnProfile...} Script 0.9.2 AzureRM.CognitiveServices {Get-AzureRmCognitiveServicesAccount, Get-AzureRmCognitiveServicesAccountKey, Get-AzureRmCognitiveServicesAccountSkus, New-AzureRmCognitiveServicesAccount...} Script 0.9.1 AzureRM.CognitiveServices {Get-AzureRmCognitiveServicesAccount, Get-AzureRmCognitiveServicesAccountKey, Get-AzureRmCognitiveServicesAccountSkus, New-AzureRmCognitiveServicesAccount...} Script 4.4.0 AzureRM.Compute {Remove-AzureRmAvailabilitySet, Get-AzureRmAvailabilitySet, New-AzureRmAvailabilitySet, Update-AzureRmAvailabilitySet...} Script 4.3.2 AzureRM.Compute {Remove-AzureRmAvailabilitySet, Get-AzureRmAvailabilitySet, New-AzureRmAvailabilitySet, Update-AzureRmAvailabilitySet...} Script 0.3.0 AzureRM.Consumption Get-AzureRmConsumptionUsageDetail Script 0.2.3 AzureRM.ContainerInstance {New-AzureRmContainerGroup, Get-AzureRmContainerGroup, Remove-AzureRmContainerGroup, Get-AzureRmContainerInstanceLog} Script 1.0.2 AzureRM.ContainerRegistry {New-AzureRmContainerRegistry, Get-AzureRmContainerRegistry, Update-AzureRmContainerRegistry, Remove-AzureRmContainerRegistry...} Script 4.2.0 AzureRM.DataFactories {Remove-AzureRmDataFactory, Get-AzureRmDataFactoryRun, Get-AzureRmDataFactorySlice, Save-AzureRmDataFactoryLog...} Script 4.1.0 AzureRM.DataFactories {Remove-AzureRmDataFactory, Get-AzureRmDataFactoryRun, Get-AzureRmDataFactorySlice, Save-AzureRmDataFactoryLog...} Script 0.5.1 AzureRM.DataFactoryV2 {Set-AzureRmDataFactoryV2, Update-AzureRmDataFactoryV2, Get-AzureRmDataFactoryV2, Remove-AzureRmDataFactoryV2...} Script 0.5.0 AzureRM.DataFactoryV2 {Set-AzureRmDataFactoryV2, Update-AzureRmDataFactoryV2, Get-AzureRmDataFactoryV2, Remove-AzureRmDataFactoryV2...} Script 4.2.1 AzureRM.DataLakeAnalytics {Get-AzureRmDataLakeAnalyticsDataSource, New-AzureRmDataLakeAnalyticsCatalogCredential, Remove-AzureRmDataLakeAnalyticsCatalogCredential, Remove-AzureRmDataLakeAnalyticsCatalogSecret...} Script 5.1.1 AzureRM.DataLakeStore {Get-AzureRmDataLakeStoreTrustedIdProvider, Remove-AzureRmDataLakeStoreTrustedIdProvider, Remove-AzureRmDataLakeStoreFirewallRule, Set-AzureRmDataLakeStoreTrustedIdProvider...} Script 4.0.2 AzureRM.DevTestLabs {Get-AzureRmDtlAllowedVMSizesPolicy, Get-AzureRmDtlAutoShutdownPolicy, Get-AzureRmDtlAutoStartPolicy, Get-AzureRmDtlVMsPerLabPolicy...} Script 4.0.1 AzureRM.Dns {Get-AzureRmDnsRecordSet, New-AzureRmDnsRecordConfig, Remove-AzureRmDnsRecordSet, Set-AzureRmDnsRecordSet...} Script 0.3.1 AzureRM.EventGrid {New-AzureRmEventGridTopic, Get-AzureRmEventGridTopic, Set-AzureRmEventGridTopic, New-AzureRmEventGridTopicKey...} Script 0.6.1 AzureRM.EventHub {New-AzureRmEventHubNamespace, Get-AzureRmEventHubNamespace, Set-AzureRmEventHubNamespace, Remove-AzureRmEventHubNamespace...} Script 4.1.0 AzureRM.HDInsight {Get-AzureRmHDInsightJob, New-AzureRmHDInsightSqoopJobDefinition, Wait-AzureRmHDInsightJob, New-AzureRmHDInsightStreamingMapReduceJobDefinition...} Script 4.0.2 AzureRM.HDInsight {Get-AzureRmHDInsightJob, New-AzureRmHDInsightSqoopJobDefinition, Wait-AzureRmHDInsightJob, New-AzureRmHDInsightStreamingMapReduceJobDefinition...} Script 4.0.2 AzureRM.Insights {Get-AzureRmMetricDefinition, Get-AzureRmMetric, Remove-AzureRmLogProfile, Get-AzureRmLogProfile...} Script 3.1.0 AzureRM.IotHub {Add-AzureRmIotHubKey, Get-AzureRmIotHubEventHubConsumerGroup, Get-AzureRmIotHubConnectionString, Get-AzureRmIotHubJob...} Script 4.2.0 AzureRM.KeyVault {Add-AzureKeyVaultCertificate, Set-AzureKeyVaultCertificateAttribute, Stop-AzureKeyVaultCertificateOperation, Get-AzureKeyVaultCertificateOperation...} Script 4.1.1 AzureRM.KeyVault {Add-AzureKeyVaultCertificate, Set-AzureKeyVaultCertificateAttribute, Stop-AzureKeyVaultCertificateOperation, Get-AzureKeyVaultCertificateOperation...} Script 4.0.1 AzureRM.LogicApp {Get-AzureRmIntegrationAccountAgreement, Get-AzureRmIntegrationAccountCallbackUrl, Get-AzureRmIntegrationAccountCertificate, Get-AzureRmIntegrationAccount...} Script 0.17.0 AzureRM.MachineLearning {Move-AzureRmMlCommitmentAssociation, Get-AzureRmMlCommitmentAssociation, Get-AzureRmMlCommitmentPlanUsageHistory, Remove-AzureRmMlCommitmentPlan...} Script 0.4.0 AzureRM.MachineLearningCompute {Get-AzureRmMlOpCluster, Get-AzureRmMlOpClusterKey, Test-AzureRmMlOpClusterSystemServicesUpdateAvailability, Update-AzureRmMlOpClusterSystemService...} Script 0.2.0 AzureRM.MarketplaceOrdering {Get-AzureRmMarketplaceTerms, Set-AzureRmMarketplaceTerms} Script 0.9.0 AzureRM.Media {Sync-AzureRmMediaServiceStorageKeys, Set-AzureRmMediaServiceKey, Get-AzureRmMediaServiceKeys, Get-AzureRmMediaServiceNameAvailability...} Script 5.3.0 AzureRM.Network {Add-AzureRmApplicationGatewayAuthenticationCertificate, Get-AzureRmApplicationGatewayAuthenticationCertificate, New-AzureRmApplicationGatewayAuthenticationCertificate, Remove-AzureRmApplicationGatewayAuthenti... Script 5.2.0 AzureRM.Network {Add-AzureRmApplicationGatewayAuthenticationCertificate, Get-AzureRmApplicationGatewayAuthenticationCertificate, New-AzureRmApplicationGatewayAuthenticationCertificate, Remove-AzureRmApplicationGatewayAuthenti... Script 4.1.0 AzureRM.NotificationHubs {Get-AzureRmNotificationHub, Get-AzureRmNotificationHubAuthorizationRules, Get-AzureRmNotificationHubListKeys, Get-AzureRmNotificationHubPNSCredentials...} Script 4.3.0 AzureRM.OperationalInsights {New-AzureRmOperationalInsightsAzureActivityLogDataSource, New-AzureRmOperationalInsightsCustomLogDataSource, Disable-AzureRmOperationalInsightsLinuxCustomLogCollection, Disable-AzureRmOperationalInsightsIISLo... Script 4.2.0 AzureRM.OperationalInsights {New-AzureRmOperationalInsightsAzureActivityLogDataSource, New-AzureRmOperationalInsightsCustomLogDataSource, Disable-AzureRmOperationalInsightsLinuxCustomLogCollection, Disable-AzureRmOperationalInsightsIISLo... Script 4.1.2 AzureRM.PowerBIEmbedded {Remove-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollectionAccessKeys, Get-AzureRmPowerBIWorkspace...} Script 4.4.0 AzureRM.profile {Disable-AzureRmDataCollection, Disable-AzureRmContextAutosave, Enable-AzureRmDataCollection, Enable-AzureRmContextAutosave...} Script 4.3.1 AzureRM.profile {Disable-AzureRmDataCollection, Disable-AzureRmContextAutosave, Enable-AzureRmDataCollection, Enable-AzureRmContextAutosave...} Script 4.1.0 AzureRM.RecoveryServices {Get-AzureRmRecoveryServicesBackupProperty, Get-AzureRmRecoveryServicesVault, Get-AzureRmRecoveryServicesVaultSettingsFile, New-AzureRmRecoveryServicesVault...} Script 4.0.2 AzureRM.RecoveryServices {Get-AzureRmRecoveryServicesBackupProperty, Get-AzureRmRecoveryServicesVault, Get-AzureRmRecoveryServicesVaultSettingsFile, New-AzureRmRecoveryServicesVault...} Script 4.1.0 AzureRM.RecoveryServices.Backup {Backup-AzureRmRecoveryServicesBackupItem, Get-AzureRmRecoveryServicesBackupManagementServer, Get-AzureRmRecoveryServicesBackupContainer, Unregister-AzureRmRecoveryServicesBackupContainer...} Script 0.2.2 AzureRM.RecoveryServices.SiteRec... {Edit-AzureRmRecoveryServicesAsrRecoveryPlan, Get-AzureRmRecoveryServicesAsrAlertSetting, Get-AzureRmRecoveryServicesAsrEvent, Get-AzureRmRecoveryServicesAsrFabric...} Script 4.1.0 AzureRM.RedisCache {Remove-AzureRmRedisCachePatchSchedule, New-AzureRmRedisCacheScheduleEntry, Get-AzureRmRedisCachePatchSchedule, New-AzureRmRedisCachePatchSchedule...} Script 0.3.1 AzureRM.Relay {New-AzureRmRelayNamespace, Get-AzureRmRelayNamespace, Set-AzureRmRelayNamespace, Remove-AzureRmRelayNamespace...} Script 5.5.0 AzureRM.Resources {Get-AzureRmProviderOperation, Remove-AzureRmRoleAssignment, Get-AzureRmRoleAssignment, New-AzureRmRoleAssignment...} Script 5.4.0 AzureRM.Resources {Get-AzureRmProviderOperation, Remove-AzureRmRoleAssignment, Get-AzureRmRoleAssignment, New-AzureRmRoleAssignment...} Script 0.16.1 AzureRM.Scheduler {Disable-AzureRmSchedulerJobCollection, Enable-AzureRmSchedulerJobCollection, Get-AzureRmSchedulerJobCollection, Get-AzureRmSchedulerJob...} Script 4.1.0 AzureRM.ServerManagement {Invoke-AzureRmServerManagementPowerShellCommand, Get-AzureRmServerManagementSession, New-AzureRmServerManagementSession, Remove-AzureRmServerManagementSession...} Script 0.6.2 AzureRM.ServiceBus {New-AzureRmServiceBusNamespace, Get-AzureRmServiceBusNamespace, Set-AzureRmServiceBusNamespace, Remove-AzureRmServiceBusNamespace...} Script 0.6.1 AzureRM.ServiceBus {New-AzureRmServiceBusNamespace, Get-AzureRmServiceBusNamespace, Set-AzureRmServiceBusNamespace, Remove-AzureRmServiceBusNamespace...} Script 0.3.2 AzureRM.ServiceFabric {Add-AzureRmServiceFabricApplicationCertificate, Add-AzureRmServiceFabricClientCertificate, Add-AzureRmServiceFabricClusterCertificate, Add-AzureRmServiceFabricNode...} Script 0.3.1 AzureRM.ServiceFabric {Add-AzureRmServiceFabricApplicationCertificate, Add-AzureRmServiceFabricClientCertificate, Add-AzureRmServiceFabricClusterCertificate, Add-AzureRmServiceFabricNode...} Script 5.0.4 AzureRM.SiteRecovery {Get-AzureRmSiteRecoveryFabric, New-AzureRmSiteRecoveryFabric, Remove-AzureRmSiteRecoveryFabric, Stop-AzureRmSiteRecoveryJob...} Script 4.3.0 AzureRM.Sql {Get-AzureRmSqlDatabaseTransparentDataEncryption, Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity, Set-AzureRmSqlDatabaseTransparentDataEncryption, Get-AzureRmSqlDatabaseUpgradeHint...} Script 4.2.0 AzureRM.Sql {Get-AzureRmSqlDatabaseTransparentDataEncryption, Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity, Set-AzureRmSqlDatabaseTransparentDataEncryption, Get-AzureRmSqlDatabaseUpgradeHint...} Script 4.2.1 AzureRM.Storage {Get-AzureRmStorageAccount, Get-AzureRmStorageAccountKey, New-AzureRmStorageAccount, New-AzureRmStorageAccountKey...} Script 4.0.2 AzureRM.StreamAnalytics {Get-AzureRmStreamAnalyticsFunction, Get-AzureRmStreamAnalyticsDefaultFunctionDefinition, New-AzureRmStreamAnalyticsFunction, Remove-AzureRmStreamAnalyticsFunction...} Script 4.0.0 AzureRM.Tags {Remove-AzureRmTag, Get-AzureRmTag, New-AzureRmTag} Script 4.0.1 AzureRM.TrafficManager {Disable-AzureRmTrafficManagerEndpoint, Enable-AzureRmTrafficManagerEndpoint, Set-AzureRmTrafficManagerEndpoint, Get-AzureRmTrafficManagerEndpoint...} Script 4.0.1 AzureRM.UsageAggregates Get-UsageAggregates Script 4.2.0 AzureRM.Websites {Get-AzureRmAppServicePlan, Set-AzureRmAppServicePlan, New-AzureRmAppServicePlan, Remove-AzureRmAppServicePlan...} Script 4.1.0 AzureRM.Websites {Get-AzureRmAppServicePlan, Set-AzureRmAppServicePlan, New-AzureRmAppServicePlan, Remove-AzureRmAppServicePlan...} Script 1.0.1 Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation} Script 1.1.7.0 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...} Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...} Script 3.4.0 Pester {Describe, Context, It, Should...} Script 1.6.0 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...} Script 1.0.0.1 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...} Script 1.2 PSReadline {Get-PSReadlineKeyHandler, Set-PSReadlineKeyHandler, Remove-PSReadlineKeyHandler, Get-PSReadlineOption...}
Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
ModuleType Version Name ExportedCommands
Manifest 1.0.0.0 AppBackgroundTask {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgroundTaskDiagnosticLog, Set-AppBackgroundTaskResourcePolicy, Unregister-AppBackgroundTask...} Manifest 2.0.0.0 AppLocker {Get-AppLockerFileInformation, Get-AppLockerPolicy, New-AppLockerPolicy, Set-AppLockerPolicy...} Manifest 1.0.0.0 AppvClient {Add-AppvClientConnectionGroup, Add-AppvClientPackage, Add-AppvPublishingServer, Disable-Appv...} Manifest 2.0.0.0 Appx {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest, Remove-AppxPackage...} Script 1.0.0.0 AssignedAccess {Clear-AssignedAccess, Get-AssignedAccess, Set-AssignedAccess} Manifest 1.0.0.0 BitLocker {Unlock-BitLocker, Suspend-BitLocker, Resume-BitLocker, Remove-BitLockerKeyProtector...} Manifest 2.0.0.0 BitsTransfer {Add-BitsFile, Complete-BitsTransfer, Get-BitsTransfer, Remove-BitsTransfer...} Manifest 1.0.0.0 BranchCache {Add-BCDataCacheExtension, Clear-BCCache, Disable-BC, Disable-BCDowngrading...} Manifest 1.0.0.0 CimCmdlets {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession...} Manifest 1.0 ConfigCI {Get-SystemDriver, New-CIPolicyRule, New-CIPolicy, Get-CIPolicy...} Manifest 1.0 Defender {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...} Manifest 1.0.0.0 DeliveryOptimization {Get-DeliveryOptimizationStatus, Get-DeliveryOptimizationPerfSnap} Manifest 1.0.0.0 DirectAccessClientComponents {Disable-DAManualEntryPointSelection, Enable-DAManualEntryPointSelection, Get-DAClientExperienceConfiguration, Get-DAEntryPointTableItem...} Script 3.0 Dism {Add-AppxProvisionedPackage, Add-WindowsDriver, Add-WindowsCapability, Add-WindowsImage...} Manifest 1.0.0.0 DnsClient {Resolve-DnsName, Clear-DnsClientCache, Get-DnsClient, Get-DnsClientCache...} Manifest 1.0.0.0 EventTracingManagement {Start-EtwTraceSession, New-EtwTraceSession, Get-EtwTraceSession, Update-EtwTraceSession...} Manifest 2.0.0.0 International {Get-WinDefaultInputMethodOverride, Set-WinDefaultInputMethodOverride, Get-WinHomeLocation, Set-WinHomeLocation...} Manifest 1.0.0.0 iSCSI {Get-IscsiTargetPortal, New-IscsiTargetPortal, Remove-IscsiTargetPortal, Update-IscsiTargetPortal...} Script 1.0.0.0 ISE {New-IseSnippet, Import-IseSnippet, Get-IseSnippet} Manifest 1.0.0.0 Kds {Add-KdsRootKey, Get-KdsRootKey, Test-KdsRootKey, Set-KdsConfiguration...} Manifest 1.0.1.0 Microsoft.PowerShell.Archive {Compress-Archive, Expand-Archive} Manifest 3.0.0.0 Microsoft.PowerShell.Diagnostics {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter...} Manifest 3.0.0.0 Microsoft.PowerShell.Host {Start-Transcript, Stop-Transcript} Manifest 1.0.0.0 Microsoft.PowerShell.LocalAccounts {Add-LocalGroupMember, Disable-LocalUser, Enable-LocalUser, Get-LocalGroup...} Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...} Script 1.0 Microsoft.PowerShell.ODataUtils Export-ODataEndpointProxy Manifest 3.0.0.0 Microsoft.PowerShell.Security {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential...} Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Format-List, Format-Custom, Format-Table, Format-Wide...} Manifest 3.0.0.0 Microsoft.WSMan.Management {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig...} Manifest 1.0 MMAgent {Disable-MMAgent, Enable-MMAgent, Set-MMAgent, Get-MMAgent...} Manifest 1.0.0.0 MsDtc {New-DtcDiagnosticTransaction, Complete-DtcDiagnosticTransaction, Join-DtcDiagnosticResourceManager, Receive-DtcDiagnosticTransaction...} Manifest 2.0.0.0 NetAdapter {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-NetAdapterChecksumOffload, Disable-NetAdapterEncapsulatedPacketTaskOffload...} Manifest 1.0.0.0 NetConnection {Get-NetConnectionProfile, Set-NetConnectionProfile} Manifest 1.0.0.0 NetEventPacketCapture {New-NetEventSession, Remove-NetEventSession, Get-NetEventSession, Set-NetEventSession...} Manifest 2.0.0.0 NetLbfo {Add-NetLbfoTeamMember, Add-NetLbfoTeamNic, Get-NetLbfoTeam, Get-NetLbfoTeamMember...} Manifest 1.0.0.0 NetNat {Get-NetNat, Get-NetNatExternalAddress, Get-NetNatStaticMapping, Get-NetNatSession...} Manifest 2.0.0.0 NetQos {Get-NetQosPolicy, Set-NetQosPolicy, Remove-NetQosPolicy, New-NetQosPolicy} Manifest 2.0.0.0 NetSecurity {Get-DAPolicyChange, New-NetIPsecAuthProposal, New-NetIPsecMainModeCryptoProposal, New-NetIPsecQuickModeCryptoProposal...} Manifest 1.0.0.0 NetSwitchTeam {New-NetSwitchTeam, Remove-NetSwitchTeam, Get-NetSwitchTeam, Rename-NetSwitchTeam...} Manifest 1.0.0.0 NetTCPIP {Get-NetIPAddress, Get-NetIPInterface, Get-NetIPv4Protocol, Get-NetIPv6Protocol...} Manifest 1.0.0.0 NetworkConnectivityStatus {Get-DAConnectionStatus, Get-NCSIPolicyConfiguration, Reset-NCSIPolicyConfiguration, Set-NCSIPolicyConfiguration} Manifest 1.0.0.0 NetworkSwitchManager {Disable-NetworkSwitchEthernetPort, Enable-NetworkSwitchEthernetPort, Get-NetworkSwitchEthernetPort, Remove-NetworkSwitchEthernetPortIPAddress...} Manifest 1.0.0.0 NetworkTransition {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfiguration, Disable-NetIPHttpsProfile, Disable-NetNatTransitionConfiguration...} Manifest 1.0.0.0 PcsvDevice {Get-PcsvDevice, Start-PcsvDevice, Stop-PcsvDevice, Restart-PcsvDevice...} Manifest 1.0.0.0 PKI {Add-CertificateEnrollmentPolicyServer, Export-Certificate, Export-PfxCertificate, Get-CertificateAutoEnrollmentPolicy...} Manifest 1.0.0.0 PnpDevice {Get-PnpDevice, Get-PnpDeviceProperty, Enable-PnpDevice, Disable-PnpDevice} Manifest 1.1 PrintManagement {Add-Printer, Add-PrinterDriver, Add-PrinterPort, Get-PrintConfiguration...} Binary 1.0.11 ProcessMitigations {Get-ProcessMitigation, Set-ProcessMitigation, ConvertTo-ProcessMitigationPolicy} Script 3.0 Provisioning {Install-ProvisioningPackage, Export-ProvisioningPackage, Install-TrustedProvisioningCertificate, Export-Trace...} Manifest 1.1 PSDesiredStateConfiguration {Set-DscLocalConfigurationManager, Start-DscConfiguration, Test-DscConfiguration, Publish-DscConfiguration...} Script 1.0.0.0 PSDiagnostics {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace...} Binary 1.1.0.0 PSScheduledJob {New-JobTrigger, Add-JobTrigger, Remove-JobTrigger, Get-JobTrigger...} Manifest 2.0.0.0 PSWorkflow {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn} Manifest 1.0.0.0 PSWorkflowUtility Invoke-AsWorkflow Manifest 1.0.0.0 ScheduledTasks {Get-ScheduledTask, Set-ScheduledTask, Register-ScheduledTask, Unregister-ScheduledTask...} Manifest 2.0.0.0 SecureBoot {Confirm-SecureBootUEFI, Set-SecureBootUEFI, Get-SecureBootUEFI, Format-SecureBootUEFI...} Manifest 3.1.0.0 ServiceFabric {Get-ServiceFabricServiceName, Get-ServiceFabricApplicationName, Approve-ServiceFabricRepairTask, Remove-ServiceFabricTestState...} Manifest 2.0.0.0 SmbShare {Get-SmbShare, Remove-SmbShare, Set-SmbShare, Block-SmbShareAccess...} Manifest 2.0.0.0 SmbWitness {Get-SmbWitnessClient, Move-SmbWitnessClient, gsmbw, msmbw...} Manifest 1.0.0.0 StartLayout {Export-StartLayout, Import-StartLayout, Export-StartLayoutEdgeAssets, Get-StartApps} Manifest 2.0.0.0 Storage {Add-InitiatorIdToMaskingSet, Add-PartitionAccessPath, Add-PhysicalDisk, Add-StorageFaultDomain...} Manifest 2.0.0.0 TLS {New-TlsSessionTicketKey, Enable-TlsSessionTicketKey, Disable-TlsSessionTicketKey, Export-TlsSessionTicketKey...} Manifest 1.0.0.0 TroubleshootingPack {Get-TroubleshootingPack, Invoke-TroubleshootingPack} Manifest 2.0.0.0 TrustedPlatformModule {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unblock-Tpm...} Binary 2.1.639.0 UEV {Clear-UevConfiguration, Clear-UevAppxPackage, Restore-UevBackup, Set-UevTemplateProfile...} Manifest 2.0.0.0 VpnClient {Add-VpnConnection, Set-VpnConnection, Remove-VpnConnection, Get-VpnConnection...} Manifest 1.0.0.0 Wdac {Get-OdbcDriver, Set-OdbcDriver, Get-OdbcDsn, Add-OdbcDsn...} Manifest 1.0.0.0 WindowsDeveloperLicense {Get-WindowsDeveloperLicense, Unregister-WindowsDeveloperLicense, Show-WindowsDeveloperLicenseRegistration} Script 1.0 WindowsErrorReporting {Enable-WindowsErrorReporting, Disable-WindowsErrorReporting, Get-WindowsErrorReporting} Manifest 1.0.0.0 WindowsSearch {Get-WindowsSearchSetting, Set-WindowsSearchSetting} Manifest 1.0.0.0 WindowsUpdate Get-WindowsUpdateLog Manifest 1.0.0.2 WindowsUpdateProvider {Get-WUAVersion, Get-WULastInstallationDate, Get-WULastScanSuccessDate, Get-WUIsPendingReboot...}
Directory: C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell
ModuleType Version Name ExportedCommands
Binary 1.21.203.0 AzureInformationProtection {Clear-RMSAuthentication, Get-RMSFileStatus, Get-RMSServer, Get-RMSServerAuthentication...}
PS C:\WINDOWS\system32>
Timothy Shegrud
Support Engineer Cloud & Infrastructure Solutions Customer Services & Support | Microsoft Corporation (425) 706-4408; v-tisheg@microsoft.commailto:v-tisheg@microsoft.com | Hours: Mon - Fri, 8:30am-5:30pm PST Need help outside of my working hours for a technical issue? : AzBackup@microsoft.commailto:AzBackup@microsoft.com
Meeting and exceeding your expectations are my top priorities. We are interested in any feedback you might have about the service you received on this incident. Please let my Manager, Martin Rosales know what you think of the level of service provided, by contacting him via email at v-rosmar@microsoft.commailto:v-rosmar@microsoft.com.
[cid:image001.png@01D2DECD.52D68C60] [cid:image002.jpg@01D2DECD.52D68C60]
From: praries880 [mailto:notifications@github.com] Sent: Monday, March 19, 2018 11:05 AM To: Azure/azure-powershell azure-powershell@noreply.github.com Cc: Tim Shegrud (MINDTREE LIMITED) v-tisheg@microsoft.com; Mention mention@noreply.github.com Subject: Re: [Azure/azure-powershell] Import Azure Module Errors (#5763)
@v-tisheghttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv-tisheg&data=04%7C01%7Cv-tisheg%40microsoft.com%7C2518df5e82834f63e9a008d58dc3e071%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636570794773903520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=6Vy9cU%2BtDiVKZpaCrrtfyBnGHdZjwYQd1DfQ19DcZeA%3D&reserved=0 We would need the following from you to be able to get to the bottom of whats goin on here :
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F5763%23issuecomment-374309287&data=04%7C01%7Cv-tisheg%40microsoft.com%7C2518df5e82834f63e9a008d58dc3e071%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636570794773903520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=yzqdwq%2B%2B2DqHaN6i9GhtR15f4lGLEoP7%2FSwJYB16WQo%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAjuECTXSmQH3pRjW_8tJvJJNb5v0v4Cqks5tf_MygaJpZM4SuRus&data=04%7C01%7Cv-tisheg%40microsoft.com%7C2518df5e82834f63e9a008d58dc3e071%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636570794773903520%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D%7C-1&sdata=LLMUtsSZPMYMt0frUBSfASBUOcJqy4tcPASTzJkJdmk%3D&reserved=0.
I have the same error. I have the AzureRM module installed both via the Web Platforms Installer and via Install-Module. I can use the commands of AzureRM even though I have problems importing it. I think the Web Platforms Installer has added AzureRM into the global PowerShell "scope."
@v-tisheg are you trying to import the module after running commands in the same session? Note that, once you have loaded any of the modules into the session (which occurs when you run any of the cmdlets) you would need to open a new session to import a different version.
Note that there is no need to import AzureRM, you can simply execute the cmdlet you want to execute, and powershell will automatically load the necessary modules.
@phsphoenix I don't think this issue is related - if you are having a problem with your installation, please open a new issue and include your installation details (Get-Module -ListAvailable
). Note that you can see troubleshooting steps for common issues here: https://github.com/Azure/azure-powershell-pr/blob/preview/documentation/troubleshoot-module-load.md. While the error is not the same, the principles of how modules are loaded is the same.
Hello Mark,
Thank you for taking a look at this.
Let’s take a step back.
The following are the entries in my PowerShell profile.:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -force Import-Module c:\GetSub\FcShell\fabric.psd1 Import-Module c:\GetSub\FcShell\fabric.psm1
get-module -listavailable Azure* | Import-Module set-alias ha "\scratch2\scratch\rossanov\psscripts\containerlocator\Get-ContainerLocation.ps1"
If ( Test-Path C:\users\public\ps-azure\start-windowsazurev2.ps1 ){ . C:\users\public\ps-azure\start-windowsazurev2.ps1 -LoadFromLocal } Set-Alias gs \fsu\shares\wats\scripts\Get-Sub\Get-Sub.ps1 Set-Alias get-sub \fsu\shares\wats\scripts\Get-Sub\Get-Sub.ps1 Set-Alias ike \fsu\shares\anp\tools\IKE_Parser\IKE_Parser.ps1 Set-Alias vnetmig \fsu\shares\anp\tools\retired\VNET_Migration\VNET_Migration.ps1 Set-Alias vpnrca \fsu\shares\anp\tools\VPNRCA\LaunchVPNRCA.ps1 Set-Alias getazureips \fsu\shares\ANP\Tools\GetAzureIPs\GetAzureIPs.ps1 Set-Alias testtraffic \fsu\shares\anp\Tools\RNM\Get-EffectiveTrafficForRole.ps1 Set-Alias rollingbrk \fsu\shares\ANP\Tools\RollingBrooklyn\RollingBrooklyn.ps1 Set-Alias rollingbrk2 \fsu\shares\ANP\Tools\RollingBrooklyn\v2\NewRollingBrooklyn.ps1 Import-Module "C:\Program Files\WindowsPowerShell\Modules\Azure\5.1.1\Azure.psd1" Import-Module "C:\Program Files\WindowsPowerShell\Modules\Azure\5.1.1\ExpressRoute\ExpressRoute.psd1"
When I open PowerShell I get the following error.:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Import-Module : Could not load file or assembly 'Microsoft.Azure.Commands.ResourceManager.Cmdlets, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. At C:\Users\v-tisheg\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:6 char:1
+ CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Loading personal and system profiles took 5031ms. PS C:\WINDOWS\system32> So I have gone through and tried installing each module independently and that is where I find the errors I have posted to the investigation ticket.
This is how we all have set up our PowerShell profiles (with minor personalization’s) and until about two weeks ago this has worked fine for me with no errors when opening PowerShell.
The goal is to have all Azure PowerShell modules preinstalled when I open PowerShell to make our support of the Azure Platform as seamless and efficient as possible.
Timothy Shegrud
Support Engineer Cloud & Infrastructure Solutions Customer Services & Support | Microsoft Corporation (425) 706-4408; v-tisheg@microsoft.commailto:v-tisheg@microsoft.com | Hours: Mon - Fri, 8:30am-5:30pm PST Need help outside of my working hours for a technical issue? : AzBackup@microsoft.commailto:AzBackup@microsoft.com
Meeting and exceeding your expectations are my top priorities. We are interested in any feedback you might have about the service you received on this incident. Please let my Manager, Martin Rosales know what you think of the level of service provided, by contacting him via email at v-rosmar@microsoft.commailto:v-rosmar@microsoft.com.
[cid:image001.png@01D2DECD.52D68C60] [cid:image002.jpg@01D2DECD.52D68C60]
From: Mark Cowlishaw [mailto:notifications@github.com] Sent: Sunday, March 25, 2018 4:54 PM To: Azure/azure-powershell azure-powershell@noreply.github.com Cc: Tim Shegrud (MINDTREE LIMITED) v-tisheg@microsoft.com; Mention mention@noreply.github.com Subject: Re: [Azure/azure-powershell] Import Azure Module Errors (#5763)
@v-tisheghttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv-tisheg&data=02%7C01%7Cv-tisheg%40microsoft.com%7C9770c90dc3bd49e5295e08d592aba694%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636576188291944002&sdata=RHR4y%2B1tHkEhRth8bScmB7ohBfOCe3cx3kSy70eGxiM%3D&reserved=0 are you trying to import the module after running commands in the same session? Note that, once you have loaded any of the modules into the session (which occurs when you run any of the cmdlets) you would need to open a new session to import a different version.
Note that there is no need to import AzureRM, you can simply execute the cmdlet you want to execute, and powershell will automatically load the necessary modules.
@phsphoenixhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fphsphoenix&data=02%7C01%7Cv-tisheg%40microsoft.com%7C9770c90dc3bd49e5295e08d592aba694%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636576188291954010&sdata=0LMnGzCGgbLR413VGMsuFjEpcfuiUS5%2FfxyY0iSFLCw%3D&reserved=0 I don't think this issue is related - if you are having a problem with your installation, please open a new issue and include your installation details (Get-Module -ListAvailable). Note that you can see troubleshooting steps for common issues here: https://github.com/Azure/azure-powershell-pr/blob/preview/documentation/troubleshoot-module-load.mdhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell-pr%2Fblob%2Fpreview%2Fdocumentation%2Ftroubleshoot-module-load.md&data=02%7C01%7Cv-tisheg%40microsoft.com%7C9770c90dc3bd49e5295e08d592aba694%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636576188291954010&sdata=6JzoR%2BAwvJX1MxOWeneRBUMos06SrswCxfhdB8jsWTA%3D&reserved=0. While the error is not the same, the principles of how modules are loaded is the same.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F5763%23issuecomment-376013848&data=02%7C01%7Cv-tisheg%40microsoft.com%7C9770c90dc3bd49e5295e08d592aba694%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636576188291954010&sdata=cZXbWy%2FBL9JcznkqOOekSbw1qspTHelzd9tZK8b2ScM%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAjuECUj9LAPjAbqO_rUMkNGFY8bOJT4Oks5tiC4JgaJpZM4SuRus&data=02%7C01%7Cv-tisheg%40microsoft.com%7C9770c90dc3bd49e5295e08d592aba694%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636576188291954010&sdata=cQPCDffctEq9aIdmHP2zwOYpe11HTyN%2FQJ1X93RUFgQ%3D&reserved=0.
I am having same issue since yesterday
@sureshpagidipati Unless you are specifically loading all the Azure* modules in a profile script, I don't thin you are having the same issue. If you are having a module loaidng issue, please file a new issue with your particular details
@v-tisheg This line from your profile:
get-module -listavailable Azure* | Import-Module
Appears to be the problem. This is guranteed to cause problems, if you have multiple versions installed. I am not sure what you are trying to accomplish, but PowerShell autoatically discovers the latest modules installed, so having this kind of command in your profile is unnecessary.
Just use Set-ExecutionPolicy -ExecutionPolicy Unrestricted -force Then Import-Module Azure
Making this change to my profile seems to have provided the mitigation I needed. No errors now.
Timothy Shegrud
Support Engineer Cloud & Infrastructure Solutions Customer Services & Support | Microsoft Corporation (425) 706-4408; v-tisheg@microsoft.commailto:v-tisheg@microsoft.com | Hours: Sun - Thur, 8:00am-5:00pm PST Need help outside of my working hours for a technical issue? : AzBackup@microsoft.commailto:AzBackup@microsoft.com
Meeting and exceeding your expectations are my top priorities. We are interested in any feedback you might have about the service you received on this incident. Please let my Manager, Martin Rosales know what you think of the level of service provided, by contacting him via email at v-rosmar@microsoft.commailto:v-rosmar@microsoft.com.
[cid:image001.png@01D2DECD.52D68C60] [cid:image002.jpg@01D2DECD.52D68C60]
From: eugsf [mailto:notifications@github.com] Sent: Saturday, May 19, 2018 6:13 PM To: Azure/azure-powershell azure-powershell@noreply.github.com Cc: Tim Shegrud (MINDTREE LIMITED) v-tisheg@microsoft.com; Mention mention@noreply.github.com Subject: Re: [Azure/azure-powershell] Import Azure Module Errors (#5763)
Just use Set-ExecutionPolicy -ExecutionPolicy Unrestricted -force Then Import-Module Azure
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F5763%23issuecomment-390448154&data=02%7C01%7Cv-tisheg%40microsoft.com%7C2ff09df2073a4a7d696d08d5bdeed6e7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636623755859824415&sdata=g%2B%2BIuMOeQyJgZY9trTvjwjeR3lTccEk6z%2F0Kjp0%2FvDg%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAjuECbPycPP47jSPhPkegub8kjT0PwUYks5t0MMggaJpZM4SuRus&data=02%7C01%7Cv-tisheg%40microsoft.com%7C2ff09df2073a4a7d696d08d5bdeed6e7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636623755859834419&sdata=RzX2vydDy1sDSVB99FKdzjCtObvhff%2BfNBvWpWFJEFA%3D&reserved=0.
Description
Unable to import AzureRM.psd1
Script/Steps for Reproduction
Import-Module -Name AzureRM
Module Version
5.50 and 5.41
Environment Data
Debug Output