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
function Get-WebCertificate { | |
Param( | |
[parameter(Mandatory = $true)] | |
[String] | |
$Fqdn, | |
[parameter(Mandatory = $true)] | |
[String] | |
$CertificateOutputPath, |
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
declare @databasesToRestore table (BakFile nvarchar(128)); | |
insert @databasesToRestore(BakFile) values | |
('S545.bak'), | |
('S1101546.bak'); | |
---('S1101546.bak'), | |
---('S01601101547.bak'); | |
---('S7.bak'), | |
---('S01549.bak'), | |
---('S.bak'), |
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
<?php | |
function int_to_text($int, $x = 1) | |
{ | |
$len = strlen($int); | |
// desítky + jednotky | |
if(($len - 2) >= 0) | |
$des = substr($int, $len - 2, 2); //dvojciferne | |
else $des = substr($int, $len - 1, 1); //jednociferne | |
if($des < 21) | |
$des_text = int_to_text_basic($des, $x); |
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
{ | |
"LayoutType" : "PANEL", | |
"PanelRows" : "2", | |
"PanelCols" : "4", | |
"RowDataSQL" : "", | |
"FontSize" : "1.0", | |
"DBType" : "MICROSOFT", | |
"DBConnStr" : "data source=APSHODMS;initial catalog=MediatelAutodialer;persist security info=True;user id=mediatel;password=---", | |
"WebService" : "http://172.26.9.4:8888/RealTimeWS.asmx", | |
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
$NLMType = [Type]::GetTypeFromCLSID(‘DCB00C01-570F-4A9B-8D69-199FDBA5723B’) | |
$INetworkListManager = [Activator]::CreateInstance($NLMType) | |
$NLM_ENUM_NETWORK_CONNECTED = 1 | |
$NLM_NETWORK_CATEGORY_PUBLIC = 0x00 | |
$NLM_NETWORK_CATEGORY_PRIVATE = 0x01 | |
$INetworks = $INetworkListManager.GetNetworks($NLM_ENUM_NETWORK_CONNECTED) | |
foreach ($INetwork in $INetworks) |
NewerOlder