eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

221
active users

#powershell

1 post1 participant0 posts today
Replied in thread

@Edent

It is a shame that neither

> Resolve-DnsName -Name where-is-the-iss.dedyn.io -Type LOC

nor

> nslookup -type=loc where-is-the-iss.dedyn.io

work.

Not even @rmbolger 's Resolve-Dns supports the LOC resource record type.

Although I suspect that might be the Windows tool that gains support the most quickly, just for the bragging rights of being able to show an ISS LOC record in Windows when no-one else can. (-:

Seit 25 Jahren arbeite ich mit Linux und ja – Windows ist nicht das OS, das ich freiwillig nutzen möchte. Aber dieses ewige OS-Bashing erinnert eher an einen Streit auf dem Pausenhof als an einen erwachsenen Diskurs. Wer Spaß an seinem System hat, soll es nutzen. Linux ist solide, manchmal sogar elegant – aber kein Heilsversprechen. Und das muss es auch nicht sein.

Die Welt dreht sich weiter – ob mit #Bash oder #PowerShell spielt längst nicht mehr die Hauptrolle.

Hi #nerds, if I run a #powershell script that takes a directory or a collection of directories as its arguments, the trailing slash in the directory name turns the following single quote into a double quote using evil Microsoft dark magic somehow.
If my script is:
```
param (
[string[]]$inDirs
)
foreach ($dir in $inDirs){
write-host $dir
}
```
and I do
```
pwsh myscript.ps1 'c:\\some\dir\'
```
The result is
```
c:\\some\dir"
```
How do I get it to unescape (or whatever it's doing) the last slash?
#AskFedi #CodingHelp #pwsh

iX-Workshop: Windows Server absichern und härten

Lernen Sie, wie Sie Ihren Windows Server effektiv absichern und härten, Schutzmaßnahmen integrieren, Konfigurationen optimieren und Angriffsszenarien bewerten.

heise.de/news/iX-Workshop-Wind

heise online · iX-Workshop: Windows Server absichern und härtenBy Ilona Krause