• Enterprise servers are not always exposed to the internet and are often sitting behind firewalls with restrictions to prohibit any malicious activity on an internet-facing server. But to install a Docker image from the Docker Hub, you need internet access. To overcome this, you can configure a Docker client to use a proxy server if one is available, but there is another way around this, which we will discuss in the following high-level steps.

    0
  • Various ways exist to copy data between a Hyper-V host and its guest machines. In this post, I will discuss the enhanced session mode, the PowerShell Copy-VMFile cmdlet, the option to mount a virtual hard disk, and using a network share.

    0
  • 0
  • 0
  • Thank you Sanket!

    0
  • Prateek Singh liked comment of Sanket Gupta on Join an Azure VM to an on-prem Active Directory. (So far, Sanket Gupta has 1 likes for this comment.) 1 year, 7 months ago

    0
  • PowerShell type accelerators are aliases for .NET classes or types, which makes using classes in PowerShell scripts much easier. The intention behind type accelerators is to use shorter names for .NET classes and types and save some unnecessary typing. For example, when you use the type accelerator [int] to define an integer value, there's actually no data type called int. Instead, it's just an alias for the [System.Int32] class.

    0
  • There are several scenarios in a hybrid cloud setup where you would want virtual machines running on Azure to be part of an on-premises Active Directory.

    0
  • The Windows Subsystem for Linux (WSL) lets developers and system administrators run a Bash shell in a chosen Linux distribution package. They can run their favorite command-line Linux tools like the Amazon Web Services (AWS) Command Line Interface (CLI) in Python on Windows 10.

    1+
  • While working with remote computers with PowerShell, you'll come across many scenarios where you may want to use local variables or data in a remote session. But when you try to use a local variable in a remote session, it may not work or may throw an error because the local variable doesn't exist in the remote session.

    1+
  • In this post you will learn how to perform various disk management tasks with PowerShell. I will explain how to list disks, format disks, initialize disks, and create and delete volumes and partitions.

    1+
  • In this post you will learn how to install an FTP server with PowerShell. I will show you how to configure the site name, port, and root folders. Then I will explain how to create FTP users, how to authenticate users, and how to configure the SSL policy and NTFS permissions.

    1+
  • Amazon CloudWatch is a monitoring service for Amazon Web Services (AWS) that provides robust monitoring of your entire AWS infrastructure resources and applications. It can collect data, gain insights, and alert users to fix problems within applications and resources if required. Amazon CloudWatch can also hold and represent your custom data in a graph. It is not necessarily limited to data from your AWS infrastructure and resources.

    1+
  • I agree you can not use New, Remove, Copy, Move-Item, because even though the information store looks like a File System it is just a model of a another system with different types/objects which has nothing to do with Files or directories. But we can write custom functions or use modules that work for the system we are modeling by importing them in the SHiPS provider module.

    For example the Azure Drive in Azure cloud shell which is also a SHiPS implementation, if you navigate to ./Subscription/VirtualMachines/ you can use  New-AzureRmVM command to create a New Item (Virtual Machine) under that directory and if you look closely it uses the AzureRM.Compute module which has been imported to fulfill such needs.
    PS Azure:> cd ./Pay-As-You-Go/VirtualMachines/
    PS Azure:> Get-AzureRmCommand | Where-Object Name -like "New-*"
    CommandType Name Version Source
    ----------- ---- ------- ------
    Cmdlet New-AzureRmVM 0.12.0 AzureRM.Compute.Netcore
    Cmdlet New-AzureRmVMConfig 0.12.0 AzureRM.Compute.Netcore
    Cmdlet New-AzureRmVMDataDisk 0.12.0 AzureRM.Compute.Netcore

    Following is a link if you want to take a look how AzurePSDrive is Implemented using SHiPS - https://github.com/PowerShell/AzurePSDrive/blob/development/AzurePSDrive.psm1

    1+
  • Windows PowerShell providers offer an abstraction layer to access data stores and their components, which would not be accessible otherwise through the command line. In this post you will learn how to create your own custom PowerShell provider.

    1+
  • Azure drive (AzurePSDrive) is a custom PowerShell provider written with the Simple Hierarchy in PowerShell (SHiPS) module, mountable with the New-PSDrive cmdlet. The SHiPS module has the capability to convert any information store or system into a hierarchy tree accessible like a file system. It converts Azure Resource Manager (AzureRM) resource items to a SHiPS-based drive for easy navigation and discovery through your cloud shell.

    1+
  • In this post you will learn how to install the AWS Tools for PowerShell Core The AWS (Amazon Web Services) Tools for PowerShell Core are modules built upon functionalities exposed by the AWS SDK (Software Development Kit) for .NET. With this, you can automate and operate on AWS resources from a PowerShell command line.

    1+
  • Prateek Singh's profile was updated 1 year, 12 months ago

    2+
  • Prateek Singh changed their profile picture 1 year, 12 months ago

    1+
  • Prateek Singh became a registered member 3 years, 2 months ago

    1+