Last active
November 23, 2020 12:12
-
-
Save jhoneill/4e326c8b238ab8ff21225f0d7a513a32 to your computer and use it in GitHub Desktop.
Demo
This file contains 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
{ "metadata": { "kernelspec": { "name": ".net-powershell", "display_name": ".NET (PowerShell)", "language": "PowerShell" }, "language_info": { "name": "PowerShell", "pygments_lexer": "powerShell", "mimetype": "text/x-powershell", "file_extension": ".ps1", "version": "7.0" } }, "nbformat_minor": 4, "nbformat": 4, "cells": [ {"cell_type":"markdown","metadata":{},"source":["# Remote-diagnostic info from: localhost"]},{"cell_type":"markdown","metadata":{},"source":["Run remotely from FLATFISH running 7.0.3"]},{ "cell_type": "code", "execution_count": 1, "metadata": { "azdata_cell_guid": "a8573335-0a01-463c-95fe-b19b9b577b79" }, "source": [ "$PSVersionTable.PSVersion" ], "outputs": [ { "output_type": "stream", "name": "stdout", "text": "\nMajor Minor Build Revision\n----- ----- ----- --------\n5 1 19041 610 \n\n\n" } ] },{ "cell_type": "code", "execution_count": 1, "metadata": { "azdata_cell_guid": "72f09ef1-bef8-4a13-943f-9594d90b8cbd" }, "source": [ "Get-Volume | ft DriveLetter,FileSystemLabel, @{f='N0';e='SizeRemaining'}" ], "outputs": [ { "output_type": "stream", "name": "stdout", "text": "\nDriveLetter FileSystemLabel SizeRemaining\n----------- --------------- -------------\n E 5,516,288,000\n C Local Disk 20,365,484,032\n Windows RE tools 526,782,464\n\n\n" } ] } ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment