Missing CmdLet
Hello,I am missing a lot of Cmdlet like Get-ManagementPack, get-Rule, GetMonitor... when I run Get-Command Get* I have only: Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights reserved. PS C:\Users\dominiqued> get-command get* CommandType Name Definition ----------- ---- ---------- Cmdlet Get-Acl Get-Acl [[-Path] <String[]>] [-Audit] [-Filter <... Cmdlet Get-Alias Get-Alias [[-Name] <String[]>] [-Exclude <String... Cmdlet Get-AuthenticodeSignature Get-AuthenticodeSignature [-FilePath] <String[]>... Cmdlet Get-ChildItem Get-ChildItem [[-Path] <String[]>] [[-Filter] <S... Cmdlet Get-Command Get-Command [[-ArgumentList] <Object[]>] [-Verb ... Cmdlet Get-Content Get-Content [-Path] <String[]> [-ReadCount <Int6... Cmdlet Get-Credential Get-Credential [-Credential] <PSCredential> [-Ve... Cmdlet Get-Culture Get-Culture [-Verbose] [-Debug] [-ErrorAction <A... Cmdlet Get-Date Get-Date [[-Date] <DateTime>] [-Year <Int32>] [-... Cmdlet Get-EventLog Get-EventLog [-LogName] <String> [-Newest <Int32... Cmdlet Get-ExecutionPolicy Get-ExecutionPolicy [-Verbose] [-Debug] [-ErrorA... Cmdlet Get-Help Get-Help [[-Name] <String>] [-Category <String[]... Cmdlet Get-History Get-History [[-Id] <Int64[]>] [[-Count] <Int32>]... Cmdlet Get-Host Get-Host [-Verbose] [-Debug] [-ErrorAction <Acti... Cmdlet Get-Item Get-Item [-Path] <String[]> [-Filter <String>] [... Cmdlet Get-ItemProperty Get-ItemProperty [-Path] <String[]> [[-Name] <St... Cmdlet Get-Location Get-Location [-PSProvider <String[]>] [-PSDrive ... Application getmac.exe C:\Windows\system32\getmac.exe Cmdlet Get-Member Get-Member [[-Name] <String[]>] [-InputObject <P... Cmdlet Get-PfxCertificate Get-PfxCertificate [-FilePath] <String[]> [-Verb... Cmdlet Get-Process Get-Process [[-Name] <String[]>] [-Verbose] [-De... Cmdlet Get-PSDrive Get-PSDrive [[-Name] <String[]>] [-Scope <String... Cmdlet Get-PSProvider Get-PSProvider [[-PSProvider] <String[]>] [-Verb... Cmdlet Get-PSSnapin Get-PSSnapin [[-Name] <String[]>] [-Registered] ... Cmdlet Get-Service Get-Service [[-Name] <String[]>] [-Include <Stri... Cmdlet Get-TraceSource Get-TraceSource [[-Name] <String[]>] [-Verbose] ... Cmdlet Get-UICulture Get-UICulture [-Verbose] [-Debug] [-ErrorAction ... Cmdlet Get-Unique Get-Unique [-InputObject <PSObject>] [-AsString]... Cmdlet Get-Variable Get-Variable [[-Name] <String[]>] [-ValueOnly] [... Cmdlet Get-WmiObject Get-WmiObject [-Class] <String> [[-Property] <St... PS C:\Users\dominiqued> Any idea?THnaks,DomAltiris Support / System Center Configuration Manager Support
October 14th, 2009 9:59pm

Have you fired up the OpsMgr powershell window ? This just looks like the windows powershell without the opsmgr snap-inCheersGrahamView OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
October 14th, 2009 10:13pm

Exactly what I was not doing Welcome to the Operations Manager 2007 R2 Command Shell. This command shell is designed to provide interactive and script based access to Operations Manager data and operations. This functionality is provided by a set of Operations Manager commands. To list all commands, type: Get-Command To list all Operations Manager commands, type: Get-OperationsManagerCommand To get help for a command, type: Get-Help [command name] Connecting to Operations Manager Management Server 'OPMGRRMS1.ad.medctr.ucla.edu'. PS Monitoring:\OPMGRRMS1.ad.medctr.ucla.edu >Get-command get* CommandType Name Definition ----------- ---- ---------- Cmdlet Get-Acl Get-Acl [[-Path] <String[]>] [... Cmdlet Get-Agent Get-Agent [[-Path] <String[]>]... Cmdlet Get-AgentPendingAction Get-AgentPendingAction [[-Path... Cmdlet Get-Alert Get-Alert [[-Path] <String[]>]... Cmdlet Get-AlertDestination Get-AlertDestination [-Alert] ... Cmdlet Get-AlertHistory Get-AlertHistory [-Alert] <Mon... Cmdlet Get-Alias Get-Alias [[-Name] <String[]>]... Cmdlet Get-AuthenticodeSignature Get-AuthenticodeSignature [-Fi... Cmdlet Get-ChildItem Get-ChildItem [[-Path] <String... Cmdlet Get-Command Get-Command [[-ArgumentList] <... Cmdlet Get-Connector Get-Connector [[-Path] <String... Cmdlet Get-Content Get-Content [-Path] <String[]>... Cmdlet Get-Credential Get-Credential [-Credential] <... Cmdlet Get-Culture Get-Culture [-Verbose] [-Debug... Cmdlet Get-Date Get-Date [[-Date] <DateTime>] ... Cmdlet Get-DefaultSetting Get-DefaultSetting [[-Path] <S... Cmdlet Get-Diagnostic Get-Diagnostic [[-Criteria] <S... Cmdlet Get-Discovery Get-Discovery [[-Criteria] <St... Function Get-ErrorInfo param([int]$errorIndex = 0) $c... Cmdlet Get-Event Get-Event [[-Path] <String[]>]... Cmdlet Get-EventLog Get-EventLog [-LogName] <Strin... Cmdlet Get-ExecutionPolicy Get-ExecutionPolicy [-Verbose]... Cmdlet Get-FailoverManagementServer Get-FailoverManagementServer [... Cmdlet Get-GatewayManagementServer Get-GatewayManagementServer [[... Cmdlet Get-Help Get-Help [[-Name] <String>] [-... Cmdlet Get-History Get-History [[-Id] <Int64[]>] ... Cmdlet Get-Host Get-Host [-Verbose] [-Debug] [... Cmdlet Get-Item Get-Item [-Path] <String[]> [-... Cmdlet Get-ItemProperty Get-ItemProperty [-Path] <Stri... Cmdlet Get-Location Get-Location [-PSProvider <Str... Application getmac.exe C:\Windows\system32\getmac.exe Cmdlet Get-MaintenanceWindow Get-MaintenanceWindow [-Histor... Cmdlet Get-ManagementGroupConnection Get-ManagementGroupConnection ... Cmdlet Get-ManagementPack Get-ManagementPack [[-Path] <S... Cmdlet Get-ManagementServer Get-ManagementServer [[-Path] ... Cmdlet Get-Member Get-Member [[-Name] <String[]>... Cmdlet Get-Monitor Get-Monitor [[-Path] <String[]... Cmdlet Get-MonitorHierarchy Get-MonitorHierarchy [-Monitor... Cmdlet Get-MonitoringClass Get-MonitoringClass [[-Path] <... Cmdlet Get-MonitoringClassProperty Get-MonitoringClassProperty [-... Cmdlet Get-MonitoringObject Get-MonitoringObject [[-Path] ... Cmdlet Get-MonitoringObjectGroup Get-MonitoringObjectGroup [[-P... Cmdlet Get-MonitoringObjectPath Get-MonitoringObjectPath [-Mon... Cmdlet Get-MonitoringObjectProperty Get-MonitoringObjectProperty [... Cmdlet Get-NotificationAction Get-NotificationAction [[-Path... Cmdlet Get-NotificationEndpoint Get-NotificationEndpoint [[-Pa... Cmdlet Get-NotificationRecipient Get-NotificationRecipient [[-P... Cmdlet Get-NotificationSubscription Get-NotificationSubscription [... Cmdlet Get-OperationsManagerCommand Get-OperationsManagerCommand [... Cmdlet Get-Override Get-Override [-ManagementPack]... Cmdlet Get-PerformanceCounter Get-PerformanceCounter [[-Path... Cmdlet Get-PerformanceCounterValue Get-PerformanceCounterValue [-... Cmdlet Get-PfxCertificate Get-PfxCertificate [-FilePath]... Cmdlet Get-PrimaryManagementServer Get-PrimaryManagementServer [-... Cmdlet Get-Process Get-Process [[-Name] <String[]... Cmdlet Get-PSDrive Get-PSDrive [[-Name] <String[]... Cmdlet Get-PSProvider Get-PSProvider [[-PSProvider] ... Cmdlet Get-PSSnapin Get-PSSnapin [[-Name] <String[... Cmdlet Get-Recovery Get-Recovery [[-Criteria] <Str... Cmdlet Get-RelationshipClass Get-RelationshipClass [[-Path]... Cmdlet Get-RelationshipObject Get-RelationshipObject [[-Path... Cmdlet Get-RemotelyManagedComputer Get-RemotelyManagedComputer [[... Cmdlet Get-RemotelyManagedDevice Get-RemotelyManagedDevice [[-P... Cmdlet Get-ResultantCategoryOverride Get-ResultantCategoryOverride ... Cmdlet Get-ResultantRuleOverride Get-ResultantRuleOverride [-Ru... Cmdlet Get-ResultantUnitMonitorOverride Get-ResultantUnitMonitorOverri... Cmdlet Get-RootManagementServer Get-RootManagementServer [[-Pa... Cmdlet Get-Rule Get-Rule [[-Path] <String[]>] ... Cmdlet Get-RunAsAccount Get-RunAsAccount [[-Path] <Str... Cmdlet Get-Service Get-Service [[-Name] <String[]... Cmdlet Get-State Get-State [[-Path] <String[]>]... Cmdlet Get-Task Get-Task [[-Path] <String[]>] ... Cmdlet Get-TaskResult Get-TaskResult [[-Criteria] <S... Cmdlet Get-Tier Get-Tier [[-Path] <String[]>] ... Cmdlet Get-TraceSource Get-TraceSource [[-Name] <Stri... Cmdlet Get-UICulture Get-UICulture [-Verbose] [-Deb... Cmdlet Get-Unique Get-Unique [-InputObject <PSOb... Cmdlet Get-UserRole Get-UserRole [[-Path] <String[... Cmdlet Get-Variable Get-Variable [[-Name] <String[... Cmdlet Get-WmiObject Get-WmiObject [-Class] <String... PS Monitoring:\OPMGRRMS1.ad.medctr.ucla.edu > it is better so let me go back to the other thread thanks GrahamDomAltiris Support / System Center Configuration Manager Support
October 14th, 2009 10:18pm

Just a note, if you want to see only OpsMgr cmdlets you can do this: get-command -Module Microsoft.EnterpriseManagement.OperationsManager.Client or get-OperationsManagerCommand -Chris Chris Harris [MSFT] Program Manager System Center Operations Manager
Free Windows Admin Tool Kit Click here and download it now
December 17th, 2010 3:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics