When you use the 4 ports on the router as a switch, the traffic is filtered by the safe surf filter.
So if you connect af domain controller and a new server to the router swich the DNS on the Domain controller is not working properly.
To solve this problem just use a switch in front of the router.
Kan ikke slette snapshot på Vmware maskine
Start med at genstarte vmware server.
Det skulle nu være muligt at slette snapshot.
For at sikre sig at der ikke kan laves flere snapshot kan der laves følgende parameter i vmware maskine.
snapshot.MaxSnapshots = 1
Husk at genstarte den virtuelle maskhine.
Læs evt mere her
Udtryk der kan anvendes i Uniconta programering
Her er eksempel:
Operators
Operator |
Description |
Example |
---|---|---|
+ |
Adds the value of one numeric expression to another or concatenates two strings. |
[UnitPrice] + 4
[FirstName] + ‘ ‘ + [LastName] |
– |
Finds the difference between two numbers. |
[Price1] – [Price2] |
* |
Multiplies the value of two expressions. |
[Quantity] * [UnitPrice] * (1 – [BonusAmount]) |
/ |
Divides the first operand by the second. |
[Quantity] / 2 |
% |
Returns the remainder (modulus) obtained by dividing one numeric expression by another. |
[Quantity] % 3 |
| |
Performs a bitwise inclusive OR on two numeric expressions. Compares each bit of its first operand to the corresponding bit of its second operand. If either bit is 1, the corresponding resulting bit is set to 1. Otherwise, the corresponding resulting bit is set to 0. |
[Number] | [Number] |
& |
The bitwise AND operator. Compares each bit of its first operand to the corresponding bit of its second operand. If both bits are 1, the corresponding resulting bit is set to 1. Otherwise, the corresponding resulting bit is set to 0. |
[Number] & 10 |
^ |
Performs a bitwise exclusive OR on two numeric expressions. |
[Number] ^ [Number] |
==
= |
Returns true if both operands have the same value; otherwise, it returns false. |
[Quantity] == 10 |
!= |
Returns true if the operands do not have the same value; otherwise, it returns false. |
[Country] != ‘France’ |
< |
Less than operator. Used to compare expressions. |
[UnitPrice] < 20 |
<= |
Less than or equal to operator. Used to compare expressions. |
[UnitPrice] <= 20 |
>= |
Greater than or equal to operator. Used to compare expressions. |
[UnitPrice] >= 30 |
> |
Greater than operator. Used to compare expressions. |
[UnitPrice] > 30 |
In (,,,) |
Tests for the existence of a property in an object. |
[Country] In (‘USA’, ‘UK’, ‘Italy’) |
Between (,) |
Specifies a range to test. Returns true if a value is greater than or equal to the first operand and less than or equal to the second operand. |
[Quantity] Between (10, 20) |
And
&& |
Performs a logical conjunction on two Boolean expressions. |
[InStock] And ([ExtendedPrice]> 100)
[InStock] && ([ExtendedPrice]> 100) |
Or
|| |
Performs a logical disjunction on two Boolean expressions. |
[Country]==’USA’ Or [Country]==’UK’
[Country]==’USA’ || [Country]==’UK’ |
~ |
Performs a bitwise negation on a numeric expression. |
~[Roles] = 251 |
Not
! |
Performs a logical negation on a Boolean expression. |
Not [InStock]
![InStock] |
+ |
Returns a numeric expression’s value (a unary operator). |
+[Value] = 10 |
– |
Returns the negative of a numeric expression’s value (a unary operator). |
-[Value] = 20 |
Is Null |
Returns true if an expression is a null reference, the one that does not refer to any object. |
[Region] is nu |
Ubiquity kamera opsætning til Synology.
Ubiquity Camera
Installer NVR software fra Ubiquity: “Ubiquiti UniFi Video” på en server eller windows 10.
Link: https://www.ui.com/download/unifi-video/unifi-video-camera-g3
Husk ip adresse og password.
Installer Unifi video på din telefon og husk at tænde for bluetooth.
Login ind på din NVR:
Klik på “Connect directly to your NVR”
Reset dit kamera med en papir klips til der kommer et bib, vent 30 sekunder.
Der kommer nu et bib tone fra kamera hver 30 sek.
Sørg for at kamera får en fast ip adresse via DHCP.
Dit kamera er nu administreret af Ubiquity NVR. For at kamera kan administreres af Synology skal det være i standalone mode.
Klik på kamera og klik på unmanage.
Vigtigt: Et kamera der ikke er unmanage kan ikke tilføjes i Synology
Log ind på kamera via ip adresse.
Sæt kamera i Mode: Standalone
Log ind på dit kamera og lav dit password om.
Log in på Synology Survival Station.
Klik på add camera
Path kan f.eks se sådan ud: ubnt:12345678@192.168.0.100:554/s0
og tryk på Test connection og få et flueben.
Hvis du trykker på “Test Connection” igen kan den ikke forbinde, dette er normalt.
Men dit kamera er forbundet.
Lav nu opløsningen om til 1920*1080.
Sammentrækning af felter i uniconta
pæn formatering af dato i Uniconta
Oprettelse af abb i Uniconta
Log ind i kundens regnskab.
Start med at skifte ejer til den bruger som skal eje regnskabet
- Ejer
- Startdato
- Moduler som kunden skal have
ændring af netværks profil på server
- Åben Powershell (Kør som administrator)
- Skriv følgende kommando: Get-NetConnectionProfile
- Find dit “InterfaceIndex”, i dette tilfælde er mit: 3
- Brug nu følgende kommando for at ændre til “Public”:
Set-NetConnectionProfile –InterfaceIndex 3 –NetworkCategory Public - Hvis du ønsker at sætte det til “Private”, skal du bruge denne kommando:
Set-NetConnectionProfile –InterfaceIndex 3 –NetworkCategory Private - Du har nu ændret din netværksprofil
Spf record validering
Er du i tvivl om hvordan en spf record skal se ud
kan du tjekke det her:
https://www.kitterman.com/spf/validate.html
her er et eksempel på en spf record
v=spf1 include:spf.anyone.net include:sendgrud.net ip4:185.31.79.250 -all
sådan ser det ud hvis den er ok
Terminal server på en server 2016
Har du ikke tid til at installere en dedikeret terminal server i dit domæne med “remote desktop service rollen”, kan man godt få remote desktop service funktionaliteten til at virke med følgende software. https://www.thinstuff.com/products/xpvs-server/