• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2497
  • Last Modified:

How to add Extend the Resource Property Schema

Hi am trying to add some equipments like Flip Chart, Video Conference, LCD, Conference Call,
but when am opening Microsoft Powershell and type Get-ResourceConfig
am getting error,

PS C:\Users\seni.a> Get-ResourceConfig
The term 'Get-ResourceConfig' is not recognized as a cmdlet, function, operable program, or script file. Verify the ter
m and try again.
At line:1 char:18

what wrong am doing?
+ Get-ResourceConfig <<<<
0
Seni
Asked:
Seni
  • 3
  • 2
3 Solutions
 
Chris DentPowerShell DeveloperCommented:

Get-ResourceConfig will only work if you've loaded the Exchange snap-in. Run this first:

Add-PsSnapIn Microsoft.Exchange.Management.PowerShell.Admin

Alternatively, start the Exchange Management Shell (PowerShell with the Exchange console parts loaded). After you've done that your command should succeed.

HTH

Chris
0
 
SeniAuthor Commented:
Many thanks,

I have manage to get it as shown below,
PS C:\Users\seni.a> Get-ResourceConfig

Name                      ResourcePropertySchema
----                      ----------------------
Resource Schema           {Room/Whiteboard, Room/Projector, Equipment/Auto, Room/TV}

now how to add more Flip Chart, Video Conference, LCD, Conference Cal
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
SeniAuthor Commented:
still getting error, am not good in commend

PS C:\Users\seni.a> Set-ResourceConfig -ResourcePropertySchema ("Room/Flip Chart", "Room/Video conference", "Equipment/A
uto")
Set-ResourceConfig : Cannot bind parameter 'ResourcePropertySchema' to the target. Exception setting "ResourcePropertyS
chema": "Resource types and properties may be only alphanumeric characters separated by a /"
At line:1 char:43
+ Set-ResourceConfig -ResourcePropertySchema  <<<< ("Room/Flip Chart", "Room/Video conference", "Equipment/Auto")
0
 
SeniAuthor Commented:
Solved
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now