Contents tagged with powershell
-
Invoke-WebRequest - Test ASP.NET Web API with PowerShell
This is awesome. I don’t need to open Firefox or Fiddler to test my Web API. I can do it all from PowerShell. Example with localhost Invoke-WebRequest -uri http://localhost/Attendance.WebApi/api/ … more
-
Microsoft Azure PowerShell API Commands
Authenticate.Add-AzureAccount Websites List all websites.Switch-AzureMode AzureServiceManagement Get-AzureWebsiteCreate new website.New-AzureWebsite –Name the-website-nameCreate new website, with … more
-
Configure Azure Website Connection Strings with PowerShell
# Sign in to Azure through the UI Add-AzureAccount # Inspect existing connection strings $connStrings = (Get-AzureWebsite website-name-here).ConnectionStrings Write-Host ($connStrings | Format- … more
-
Windows Azure PowerShell
Workflows AuthenticateGet-AzurePublishSettingsFile Import-AzurePublishSettingsFile "C:\Users...\Long-Name.credentials.publishsettings" The first command creates a new management certificate and … more
-
Work with Directories and Files in PowerShell
Utilities cd.. go back one directory cd directoryName go to the child directory cd some\path\to\some\descendent\directory go to the descendent directory dir list the contents of the current … more