This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Configuration; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using log4net; | |
| namespace Utils | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GO | |
| /****** Object: Schema [HangFire] Script Date: 19-May-20 16:26:21 ******/ | |
| CREATE SCHEMA [HangFire] | |
| GO | |
| /****** Object: Table [dbo].[cmsTagToTopic] Script Date: 19-May-20 16:26:21 ******/ | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
| <CodeSnippet Format="1.0.0"> | |
| <Header> | |
| <Title>Unit Test Method</Title> | |
| <Author>Siôn J. Lewis</Author> | |
| <Description>Adds a unit test method with comments based on the AAA (Arrange,Act,Assert) pattern</Description> | |
| <HelpUrl>https://msdn.microsoft.com/en-us/library/ms165394.aspx</HelpUrl> | |
| <Shortcut>utest</Shortcut> | |
| <SnippetTypes> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Import the WebAdministration module if not already imported | |
| if (-not (Get-Module -ListAvailable -Name WebAdministration)) { | |
| Import-Module WebAdministration | |
| } | |
| # Retrieve the server name | |
| $serverName = $env:COMPUTERNAME | |
| # Retrieve all IIS websites | |
| $websites = Get-Website |
OlderNewer