This is step by step guide to provision an Azure Service Fabric using PowerShell.
- Windows 7 or later
- Administrator privileges
90008179737137449057850374296041230231448818231836430412891860501369559957934170566478171795337452573291424987820066966816786 | |
11421932734664050282853577818350442368737025841021682351565157149258626742693172908157392514275953021340373789403811298198112 | |
98078491418506031705393320777252539769380080434092015114759613380134199900073766190656627700475488778765198284763526475740644 | |
27316250203873295755542616481830176762741844790191881961666387319684382599128392790817587468185935956109594742996822851456430 | |
69484825595272003071580933663162309410919484264168162456415987660087356646694839288039098048397766765190012006438103559476605 | |
88069969501403804546943579852833051109937002040256969349389081744254318024154760523379227341047257631357870025582656575655762 | |
80287299653975203684260833623532172260301953877104948974634491969795223647429108528213960088039791160860481243853022341993839 | |
24991718535415280310113584497118196223057217585054424117851185779066465713336737557959912721815816999403404005977799509009387 | |
9410563589763257 |
#requires -version 5.1 | |
Function Get-DockerContainer { | |
[cmdletbinding(DefaultParameterSetName = "name")] | |
[alias("gdc")] | |
[OutputType("Get-DockerContainer.myDockerContainer")] | |
Param( | |
[Parameter(Position = 0, HelpMessage = "Enter a docker container name. The default is all running containers.", ParameterSetName = "name")] | |
[ValidateNotNullorEmpty()] |
Param ( | |
[Parameter(Mandatory=$true)] | |
[string] | |
$ClearString | |
) | |
$hasher = [System.Security.Cryptography.HashAlgorithm]::Create('sha256') | |
$hash = $hasher.ComputeHash([System.Text.Encoding]::UTF8.GetBytes($ClearString)) | |
$hashString = [System.BitConverter]::ToString($hash) |
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### OR take a look at | |
### https://github.com/HotCakeX/Harden-Windows-Security |
-- Based on the c implementation, as per: http://stackoverflow.com/a/365544 | |
import Data.Bits | |
add' :: (Bits a) => a -> a -> a | |
add' a b | |
| a == 0 = b | |
| otherwise = add' ((a .&. b) `shiftL` 1) (a `xor` b) | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Data.SqlClient; | |
using System.Reflection.Emit; | |
using System.Collections.Concurrent; | |
using System.Data; | |
using System.Reflection; |