@sureshasai
Moderator: Moved to PowerCLI Discussions - I suggest doing a search in this area, you will find examples you can use.
Try doing a search in this community.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference