I am trying to work around with writing powershell script to backup sql server 2008 R2 database but the example i have searched they require to add backup-sqldatabase cmdlet, but i am unable to see neither SQLPS or backup-sqldatabase cmdlets, I have recently ugraded to powershell v3 and i am running windows server2008 R2 and SQL Server 2008 R2.
Also there is a confusion windows server 2008R2 is a virtual server i am using, but i downloaded powershell on my local desktop and for some reason it loads SQLps and backup-sqldatabase cmdlets
There is no database installed on my local machine but as soon as i type backup-sqldatabase i get to see the cmdlet on screen